Skip to main content

Interface: ExtractParams<T>

Defined in: src/server/ai/types.ts:29

Type Parameters​

T​

T

Properties​

input​

readonly input: string

Defined in: src/server/ai/types.ts:37

Content to extract from (e.g. document text). Never logged.


instructions​

readonly instructions: string

Defined in: src/server/ai/types.ts:35

System instructions describing the extraction task.


maxOutputTokens?​

readonly optional maxOutputTokens?: number

Defined in: src/server/ai/types.ts:38


schema​

readonly schema: 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​

readonly schemaName: string

Defined in: src/server/ai/types.ts:33

Identifier for the schema (used as the tool/function name).


signal?​

readonly optional signal?: AbortSignal

Defined in: src/server/ai/types.ts:39