@@ -418,9 +418,12 @@ def run(
418418 model_name : str ,
419419 * ,
420420 account_id : str ,
421- image : Iterable [float ] | NotGiven = NOT_GIVEN ,
421+ image : Iterable [float ],
422422 max_tokens : int | NotGiven = NOT_GIVEN ,
423+ messages : Iterable [ai_run_params .ImageToTextMessage ] | NotGiven = NOT_GIVEN ,
423424 prompt : str | NotGiven = NOT_GIVEN ,
425+ raw : bool | NotGiven = NOT_GIVEN ,
426+ temperature : float | NotGiven = NOT_GIVEN ,
424427 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
425428 # The extra values given here take precedence over values defined on the client or passed to this method.
426429 extra_headers : Headers | None = None ,
@@ -461,7 +464,7 @@ def run(
461464 ["account_id" ],
462465 ["account_id" , "target_lang" , "text" ],
463466 ["account_id" , "input_text" ],
464- ["account_id" ],
467+ ["account_id" , "image" ],
465468 )
466469 def run (
467470 self ,
@@ -487,6 +490,7 @@ def run(
487490 source_lang : str | NotGiven = NOT_GIVEN ,
488491 input_text : str | NotGiven = NOT_GIVEN ,
489492 max_length : int | NotGiven = NOT_GIVEN ,
493+ temperature : float | NotGiven = NOT_GIVEN ,
490494 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
491495 # The extra values given here take precedence over values defined on the client or passed to this method.
492496 extra_headers : Headers | None = None ,
@@ -523,6 +527,7 @@ def run(
523527 "source_lang" : source_lang ,
524528 "input_text" : input_text ,
525529 "max_length" : max_length ,
530+ "temperature" : temperature ,
526531 },
527532 ai_run_params .AIRunParams ,
528533 ),
@@ -929,9 +934,12 @@ async def run(
929934 model_name : str ,
930935 * ,
931936 account_id : str ,
932- image : Iterable [float ] | NotGiven = NOT_GIVEN ,
937+ image : Iterable [float ],
933938 max_tokens : int | NotGiven = NOT_GIVEN ,
939+ messages : Iterable [ai_run_params .ImageToTextMessage ] | NotGiven = NOT_GIVEN ,
934940 prompt : str | NotGiven = NOT_GIVEN ,
941+ raw : bool | NotGiven = NOT_GIVEN ,
942+ temperature : float | NotGiven = NOT_GIVEN ,
935943 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
936944 # The extra values given here take precedence over values defined on the client or passed to this method.
937945 extra_headers : Headers | None = None ,
@@ -972,7 +980,7 @@ async def run(
972980 ["account_id" ],
973981 ["account_id" , "target_lang" , "text" ],
974982 ["account_id" , "input_text" ],
975- ["account_id" ],
983+ ["account_id" , "image" ],
976984 )
977985 async def run (
978986 self ,
@@ -998,6 +1006,7 @@ async def run(
9981006 source_lang : str | NotGiven = NOT_GIVEN ,
9991007 input_text : str | NotGiven = NOT_GIVEN ,
10001008 max_length : int | NotGiven = NOT_GIVEN ,
1009+ temperature : float | NotGiven = NOT_GIVEN ,
10011010 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10021011 # The extra values given here take precedence over values defined on the client or passed to this method.
10031012 extra_headers : Headers | None = None ,
@@ -1034,6 +1043,7 @@ async def run(
10341043 "source_lang" : source_lang ,
10351044 "input_text" : input_text ,
10361045 "max_length" : max_length ,
1046+ "temperature" : temperature ,
10371047 },
10381048 ai_run_params .AIRunParams ,
10391049 ),
0 commit comments