Genkit JS API reference
Preparing search index...
genkit
/
OutputOptions
Interface OutputOptions<O>
Configuration for the desired output format and schema of a generate request.
interface
OutputOptions
<
O
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
>
{
constrained
?:
boolean
;
contentType
?:
string
;
format
?:
string
;
instructions
?:
string
|
boolean
;
jsonSchema
?:
any
;
schema
?:
O
;
}
Type Parameters
O
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
Index
Properties
constrained?
content
Type?
format?
instructions?
json
Schema?
schema?
Properties
Optional
constrained
constrained
?:
boolean
Optional
content
Type
contentType
?:
string
Optional
format
format
?:
string
Optional
instructions
instructions
?:
string
|
boolean
Optional
json
Schema
jsonSchema
?:
any
Optional
schema
schema
?:
O
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
constrained
content
Type
format
instructions
json
Schema
schema
Genkit JS API reference
Loading...
Configuration for the desired output format and schema of a generate request.