Genkit JS API reference
Preparing search index...
@genkit-ai/compat-oai
TranslationConfigSchema
Variable TranslationConfigSchema
Const
TranslationConfigSchema
:
z
.
ZodObject
<
Pick
<
{
apiKey
:
z
.
ZodOptional
<
z
.
ZodString
>
;
maxOutputTokens
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
stopSequences
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodString
,
"many"
>
>
;
temperature
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
topK
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
topP
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
version
:
z
.
ZodOptional
<
z
.
ZodString
>
;
}
,
"temperature"
,
>
&
{
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"json"
,
"text"
,
"srt"
,
"verbose_json"
,
"vtt"
]
>
,
>
;
}
,
"passthrough"
,
z
.
ZodTypeAny
,
z
.
objectOutputType
<
Pick
<
{
apiKey
:
z
.
ZodOptional
<
z
.
ZodString
>
;
maxOutputTokens
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
stopSequences
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodString
,
"many"
>
>
;
temperature
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
topK
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
topP
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
version
:
z
.
ZodOptional
<
z
.
ZodString
>
;
}
,
"temperature"
,
>
&
{
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"json"
,
"text"
,
"srt"
,
"verbose_json"
,
"vtt"
]
>
,
>
;
}
,
z
.
ZodTypeAny
,
"passthrough"
,
>
,
z
.
objectInputType
<
Pick
<
{
apiKey
:
z
.
ZodOptional
<
z
.
ZodString
>
;
maxOutputTokens
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
stopSequences
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodString
,
"many"
>
>
;
temperature
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
topK
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
topP
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
version
:
z
.
ZodOptional
<
z
.
ZodString
>
;
}
,
"temperature"
,
>
&
{
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"json"
,
"text"
,
"srt"
,
"verbose_json"
,
"vtt"
]
>
,
>
;
}
,
z
.
ZodTypeAny
,
"passthrough"
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...