Skip to content

Commit 3696265

Browse files
committed
Fix test failures.
Signed-off-by: Austin Lee <[email protected]>
1 parent 8b0b100 commit 3696265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

search-processors/src/main/java/org/opensearch/searchpipelines/questionanswering/generative/ext/GenerativeQAParameters.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public class GenerativeQAParameters implements Writeable, ToXContentObject {
8484
PARSER.declareIntOrNull(GenerativeQAParameters::setContextSize, SIZE_NULL_VALUE, CONTEXT_SIZE);
8585
PARSER.declareIntOrNull(GenerativeQAParameters::setInteractionSize, SIZE_NULL_VALUE, INTERACTION_SIZE);
8686
PARSER.declareIntOrNull(GenerativeQAParameters::setTimeout, SIZE_NULL_VALUE, TIMEOUT);
87-
PARSER.declareString(GenerativeQAParameters::setLlmResponseField, LLM_RESPONSE_FIELD);
87+
PARSER.declareStringOrNull(GenerativeQAParameters::setLlmResponseField, LLM_RESPONSE_FIELD);
8888
}
8989

9090
@Setter

0 commit comments

Comments
 (0)