Interface InformationExtractorNodeParameters

Source
interface InformationExtractorNodeParameters {
    attributes?: {
        attributes: {
            description: string;
            name: string;
            required: boolean;
            type: "string" | "number" | "boolean" | "date";
        }[];
    };
    inputSchema?: string;
    jsonSchemaExample?: string;
    options?: {
        batching?: {
            batchSize?: number;
            delayBetweenBatches?: number;
        };
        systemPromptTemplate?: string;
    };
    schemaType?: "manual"
    | "fromJson"
    | "fromAttributes";
    text?: string;
}

Properties§

Source§

readonly attributes?: {
    attributes: {
        description: string;
        name: string;
        required: boolean;
        type: "string" | "number" | "boolean" | "date";
    }[];
}

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

Source§

readonly inputSchema?: string

Schema to use for the function Default: "{\n\t"type": "object",\n\t"properties": {\n\t\t"state": {\n\t\t\t"type": "string"\n\t\t},\n\t\t"cities": {\n\t\t\t"type": "array",\n\t\t\t"items": {\n\t\t\t\t"type": "string"\n\t\t\t}\n\t\t}\n\t}\n}" Type options: {"rows":10}

Source§

readonly jsonSchemaExample?: string

Example JSON object to use to generate the schema Default: "{\n\t"state": "California",\n\t"cities": ["Los Angeles", "San Francisco", "San Diego"]\n}" Type options: {"rows":10}

Source§

readonly options?: {
    batching?: {
        batchSize?: number;
        delayBetweenBatches?: number;
    };
    systemPromptTemplate?: string;
}

Default: {}

Source§

readonly schemaType?: "manual" | "fromJson" | "fromAttributes"

How to specify the schema for the desired output Default: "fromAttributes"

Source§

readonly text?: string

The text to extract information from Type options: {"rows":2}