Optional
config Defined in ai/lib/generate-DsIeAr2A.d.ts:307 Optional
context Defined in ai/lib/generate-DsIeAr2A.d.ts:346 Optional
docs docs ?: { content : ( | { media ?: undefined ; text : string } | { media : { contentType ?: string ; url : string } ; text ?: undefined } )[] ; metadata ?: Record < string , any > ; } []
Defined in ai/lib/generate-DsIeAr2A.d.ts:297 Optional
max Turns maxTurns ?: number
Defined in ai/lib/generate-DsIeAr2A.d.ts:334 Optional
messages messages ?: ( { content : ( | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } )[] ; metadata ?: Record < string , unknown > ; role : "user" | "model" | "tool" | "system" ; } & { content : | string | ( | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } )[] | ( | string | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } )[] ; } )[]
Defined in ai/lib/generate-DsIeAr2A.d.ts:299 Optional
model Defined in ai/lib/generate-DsIeAr2A.d.ts:291 Optional
on Chunk Defined in ai/lib/generate-DsIeAr2A.d.ts:336 Optional
output output ?: OutputOptions < O > Defined in ai/lib/generate-DsIeAr2A.d.ts:309 Optional
prompt prompt ?: | string | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | ( | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } )[]
Defined in ai/lib/generate-DsIeAr2A.d.ts:295 Optional
resume Defined in ai/lib/generate-DsIeAr2A.d.ts:330 Optional
return Tool Requests returnToolRequests ?: boolean
Defined in ai/lib/generate-DsIeAr2A.d.ts:332 Optional
streaming Callback Defined in ai/lib/generate-DsIeAr2A.d.ts:342 Optional
system system ?: | string | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | ( | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text : string ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media : { contentType ?: string ; url : string } ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest : { input ?: unknown ; name : string ; ref ?: string } ; toolResponse ?: undefined ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse : { name : string ; output ?: unknown ; ref ?: string } ; } | { custom ?: Record < string , unknown > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } | { custom : Record < string , any > ; data ?: unknown ; media ?: undefined ; metadata ?: Record < string , unknown > ; text ?: undefined ; toolRequest ?: undefined ; toolResponse ?: undefined ; } )[]
Defined in ai/lib/generate-DsIeAr2A.d.ts:293 Optional
tool Choice toolChoice ?: ToolChoice
Defined in ai/lib/generate-DsIeAr2A.d.ts:305 Optional
tools Defined in ai/lib/generate-DsIeAr2A.d.ts:303 Optional
use Defined in ai/lib/generate-DsIeAr2A.d.ts:344
Configuration for the generation request.