Genkit JS API reference
    Preparing search index...

    Interface OutputOptions<O>

    Configuration for the desired output format and schema of a generate request.

    interface OutputOptions<O extends z.ZodTypeAny = z.ZodTypeAny> {
        constrained?: boolean;
        contentType?: string;
        format?: string;
        instructions?: string | boolean;
        jsonSchema?: any;
        schema?: O;
    }

    Type Parameters

    Index

    Properties

    constrained?: boolean
    contentType?: string
    format?: string
    instructions?: string | boolean
    jsonSchema?: any
    schema?: O