Interface: AIBatchRequest
Defined in: packages/workflow-engine/src/ai/types.ts:530
A request to be processed in a batch
Properties
id
id:
string
Defined in: packages/workflow-engine/src/ai/types.ts:532
Unique identifier for this request (used to match results)
maxTokens?
optionalmaxTokens?:number
Defined in: packages/workflow-engine/src/ai/types.ts:538
P6c: previously impossible to set; two of three old providers silently capped output at 1024.
prompt
prompt:
string
Defined in: packages/workflow-engine/src/ai/types.ts:534
The prompt to send to the model
schema?
optionalschema?:ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>>
Defined in: packages/workflow-engine/src/ai/types.ts:536
Optional Zod schema for structured JSON output
system?
optionalsystem?:string
Defined in: packages/workflow-engine/src/ai/types.ts:539
temperature?
optionaltemperature?:number
Defined in: packages/workflow-engine/src/ai/types.ts:540