@@ -422,6 +422,7 @@ def question_answering(
422422 file_ids : Union [Iterable [object ], SequenceNotStr [str ], None ] | Omit = omit ,
423423 search_options : StoreChunkSearchOptionsParam | Omit = omit ,
424424 stream : bool | Omit = omit ,
425+ instructions : Optional [str ] | Omit = omit ,
425426 qa_options : store_question_answering_params .QaOptions | Omit = omit ,
426427 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
427428 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -450,6 +451,9 @@ def question_answering(
450451
451452 stream: Whether to stream the answer
452453
454+ instructions: Additional custom instructions (followed only when not in conflict with existing
455+ rules)
456+
453457 qa_options: Question answering configuration options
454458
455459 extra_headers: Send extra headers
@@ -471,6 +475,7 @@ def question_answering(
471475 "file_ids" : file_ids ,
472476 "search_options" : search_options ,
473477 "stream" : stream ,
478+ "instructions" : instructions ,
474479 "qa_options" : qa_options ,
475480 },
476481 store_question_answering_params .StoreQuestionAnsweringParams ,
@@ -938,6 +943,7 @@ async def question_answering(
938943 file_ids : Union [Iterable [object ], SequenceNotStr [str ], None ] | Omit = omit ,
939944 search_options : StoreChunkSearchOptionsParam | Omit = omit ,
940945 stream : bool | Omit = omit ,
946+ instructions : Optional [str ] | Omit = omit ,
941947 qa_options : store_question_answering_params .QaOptions | Omit = omit ,
942948 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
943949 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -966,6 +972,9 @@ async def question_answering(
966972
967973 stream: Whether to stream the answer
968974
975+ instructions: Additional custom instructions (followed only when not in conflict with existing
976+ rules)
977+
969978 qa_options: Question answering configuration options
970979
971980 extra_headers: Send extra headers
@@ -987,6 +996,7 @@ async def question_answering(
987996 "file_ids" : file_ids ,
988997 "search_options" : search_options ,
989998 "stream" : stream ,
999+ "instructions" : instructions ,
9901000 "qa_options" : qa_options ,
9911001 },
9921002 store_question_answering_params .StoreQuestionAnsweringParams ,
0 commit comments