Genkit JS API reference
Preparing search index...
@genkit-ai/compat-oai
TranscriptionConfigSchema
Variable TranscriptionConfigSchema
Const
TranscriptionConfigSchema
:
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"
,
>
&
{
chunking_strategy
:
z
.
ZodOptional
<
z
.
ZodUnion
<
[
z
.
ZodLiteral
<
"auto"
>
,
z
.
ZodObject
<
{
prefix_padding_ms
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
silence_duration_ms
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
threshold
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
type
:
z
.
ZodString
;
}
,
"strip"
,
z
.
ZodTypeAny
,
{
prefix_padding_ms
?:
number
;
silence_duration_ms
?:
number
;
threshold
?:
number
;
type
:
string
;
}
,
{
prefix_padding_ms
?:
number
;
silence_duration_ms
?:
number
;
threshold
?:
number
;
type
:
string
;
}
,
>
,
]
,
>
,
>
;
include
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodAny
,
"many"
>
>
;
language
:
z
.
ZodOptional
<
z
.
ZodString
>
;
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"json"
,
"text"
,
"srt"
,
"verbose_json"
,
"vtt"
]
>
,
>
;
timestamp_granularities
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodEnum
<
[
"word"
,
"segment"
]
>
,
"many"
>
,
>
;
}
,
"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"
,
>
&
{
chunking_strategy
:
z
.
ZodOptional
<
z
.
ZodUnion
<
[
z
.
ZodLiteral
<
"auto"
>
,
z
.
ZodObject
<
{
prefix_padding_ms
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
silence_duration_ms
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
threshold
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
type
:
z
.
ZodString
;
}
,
"strip"
,
z
.
ZodTypeAny
,
{
prefix_padding_ms
?:
number
;
silence_duration_ms
?:
number
;
threshold
?:
number
;
type
:
string
;
}
,
{
prefix_padding_ms
?:
number
;
silence_duration_ms
?:
number
;
threshold
?:
number
;
type
:
string
;
}
,
>
,
]
,
>
,
>
;
include
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodAny
,
"many"
>
>
;
language
:
z
.
ZodOptional
<
z
.
ZodString
>
;
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"json"
,
"text"
,
"srt"
,
"verbose_json"
,
"vtt"
]
>
,
>
;
timestamp_granularities
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodEnum
<
[
"word"
,
"segment"
]
>
,
"many"
>
,
>
;
}
,
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"
,
>
&
{
chunking_strategy
:
z
.
ZodOptional
<
z
.
ZodUnion
<
[
z
.
ZodLiteral
<
"auto"
>
,
z
.
ZodObject
<
{
prefix_padding_ms
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
silence_duration_ms
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
threshold
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
type
:
z
.
ZodString
;
}
,
"strip"
,
z
.
ZodTypeAny
,
{
prefix_padding_ms
?:
number
;
silence_duration_ms
?:
number
;
threshold
?:
number
;
type
:
string
;
}
,
{
prefix_padding_ms
?:
number
;
silence_duration_ms
?:
number
;
threshold
?:
number
;
type
:
string
;
}
,
>
,
]
,
>
,
>
;
include
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodAny
,
"many"
>
>
;
language
:
z
.
ZodOptional
<
z
.
ZodString
>
;
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"json"
,
"text"
,
"srt"
,
"verbose_json"
,
"vtt"
]
>
,
>
;
timestamp_granularities
:
z
.
ZodOptional
<
z
.
ZodArray
<
z
.
ZodEnum
<
[
"word"
,
"segment"
]
>
,
"many"
>
,
>
;
}
,
z
.
ZodTypeAny
,
"passthrough"
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...