@@ -59,6 +59,8 @@ def create(
5959 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
6060 knowledge_base_id : Optional [str ] | NotGiven = NOT_GIVEN ,
6161 model : Optional [Literal ["gpt-4o" ]] | NotGiven = NOT_GIVEN ,
62+ response_validation_config : Optional [Iterable [run_create_params .ResponseValidationConfig ]]
63+ | NotGiven = NOT_GIVEN ,
6264 tools : Optional [Iterable [run_create_params .Tool ]] | NotGiven = NOT_GIVEN ,
6365 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6466 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -95,6 +97,7 @@ def create(
9597 "instructions" : instructions ,
9698 "knowledge_base_id" : knowledge_base_id ,
9799 "model" : model ,
100+ "response_validation_config" : response_validation_config ,
98101 "tools" : tools ,
99102 },
100103 run_create_params .RunCreateParams ,
@@ -190,6 +193,8 @@ def stream(
190193 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
191194 knowledge_base_id : Optional [str ] | NotGiven = NOT_GIVEN ,
192195 model : Optional [Literal ["gpt-4o" ]] | NotGiven = NOT_GIVEN ,
196+ response_validation_config : Optional [Iterable [run_stream_params .ResponseValidationConfig ]]
197+ | NotGiven = NOT_GIVEN ,
193198 tools : Optional [Iterable [run_stream_params .Tool ]] | NotGiven = NOT_GIVEN ,
194199 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
195200 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -226,6 +231,7 @@ def stream(
226231 "instructions" : instructions ,
227232 "knowledge_base_id" : knowledge_base_id ,
228233 "model" : model ,
234+ "response_validation_config" : response_validation_config ,
229235 "tools" : tools ,
230236 },
231237 run_stream_params .RunStreamParams ,
@@ -269,6 +275,8 @@ async def create(
269275 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
270276 knowledge_base_id : Optional [str ] | NotGiven = NOT_GIVEN ,
271277 model : Optional [Literal ["gpt-4o" ]] | NotGiven = NOT_GIVEN ,
278+ response_validation_config : Optional [Iterable [run_create_params .ResponseValidationConfig ]]
279+ | NotGiven = NOT_GIVEN ,
272280 tools : Optional [Iterable [run_create_params .Tool ]] | NotGiven = NOT_GIVEN ,
273281 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
274282 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -305,6 +313,7 @@ async def create(
305313 "instructions" : instructions ,
306314 "knowledge_base_id" : knowledge_base_id ,
307315 "model" : model ,
316+ "response_validation_config" : response_validation_config ,
308317 "tools" : tools ,
309318 },
310319 run_create_params .RunCreateParams ,
@@ -400,6 +409,8 @@ async def stream(
400409 instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
401410 knowledge_base_id : Optional [str ] | NotGiven = NOT_GIVEN ,
402411 model : Optional [Literal ["gpt-4o" ]] | NotGiven = NOT_GIVEN ,
412+ response_validation_config : Optional [Iterable [run_stream_params .ResponseValidationConfig ]]
413+ | NotGiven = NOT_GIVEN ,
403414 tools : Optional [Iterable [run_stream_params .Tool ]] | NotGiven = NOT_GIVEN ,
404415 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
405416 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -436,6 +447,7 @@ async def stream(
436447 "instructions" : instructions ,
437448 "knowledge_base_id" : knowledge_base_id ,
438449 "model" : model ,
450+ "response_validation_config" : response_validation_config ,
439451 "tools" : tools ,
440452 },
441453 run_stream_params .RunStreamParams ,
0 commit comments