ClassifyArgs: WithLLM & WithTelemetry & WithPrompt & {
    labels: [string, ...string[]];
    schemaDescription?: string;
    schemaName?: string;
}

Type declaration

  • labels: [string, ...string[]]

    The labels to classify the example into. E.x. ["correct", "incorrect"]

  • OptionalschemaDescription?: string

    The description of the schema for generating the label and explanation.

  • OptionalschemaName?: string

    The name of the schema for generating the label and explanation.