Interface: ExtractParams<T>
Defined in: src/server/ai/types.ts:29
Type Parameters
T
T
Properties
input
readonlyinput:string
Defined in: src/server/ai/types.ts:37
Content to extract from (e.g. document text). Never logged.
instructions
readonlyinstructions:string
Defined in: src/server/ai/types.ts:35
System instructions describing the extraction task.
maxOutputTokens?
readonlyoptionalmaxOutputTokens?:number
Defined in: src/server/ai/types.ts:38
schema
readonlyschema:ZodType<T>
Defined in: src/server/ai/types.ts:31
Zod schema the output is validated against; also drives the provider's structured-output mode.
schemaName
readonlyschemaName:string
Defined in: src/server/ai/types.ts:33
Identifier for the schema (used as the tool/function name).
signal?
readonlyoptionalsignal?:AbortSignal
Defined in: src/server/ai/types.ts:39