Interface TextClassifierNodeParameters

Source
interface TextClassifierNodeParameters {
    categories?: {
        categories: {
            category: string;
            description?: string;
        }[];
    };
    inputText?: string;
    options?: {
        batching?: {
            batchSize?: number;
            delayBetweenBatches?: number;
        };
        enableAutoFixing?: boolean;
        fallback?: "other"
        | "discard";
        multiClass?: boolean;
        systemPromptTemplate?: string;
    };
}

Properties§

Source§

readonly categories?: { categories: { category: string; description?: string }[] }

Default: {} Type options: {"multipleValues":true}

Source§

readonly inputText?: string

Use an expression to reference data in previous nodes or enter static text Type options: {"rows":2}

Source§

readonly options?: {
    batching?: {
        batchSize?: number;
        delayBetweenBatches?: number;
    };
    enableAutoFixing?: boolean;
    fallback?: "other"
    | "discard";
    multiClass?: boolean;
    systemPromptTemplate?: string;
}

Default: {}