Function: getStructuredOutputPrompt()
getStructuredOutputPrompt<
T>(responseSchema):string
Defined in: utils/llm.ts:64
Generates a structured output prompt based on the provided schema.
Type Parameters
T
T extends $ZodType
Parameters
responseSchema
any
The schema (Zod or JSON Schema) defining the desired output format.
Returns
string
A prompt string instructing the model to format its output according to the given schema.