Interface CodeAINodeParameters

Source
interface CodeAINodeParameters {
    code?: {
        execute: { code?: string };
        supplyData: { code?: string };
    };
    inputs?: {
        input: {
            maxConnections: number;
            required: boolean;
            type: | "main"
            | "ai_tool"
            | "ai_languageModel"
            | "ai_document"
            | "ai_chain"
            | "ai_embedding"
            | "ai_memory"
            | "ai_outputParser"
            | "ai_textSplitter"
            | "ai_vectorStore";
        }[];
    };
    outputs?: {
        output: {
            type: | "main"
            | "ai_tool"
            | "ai_languageModel"
            | "ai_document"
            | "ai_chain"
            | "ai_embedding"
            | "ai_memory"
            | "ai_outputParser"
            | "ai_textSplitter"
            | "ai_vectorStore";
        }[];
    };
}

Properties§

Source§

readonly code?: {
    execute: { code?: string };
    supplyData: { code?: string };
}

Default: {}

Source§

readonly inputs?: {
    input: {
        maxConnections: number;
        required: boolean;
        type:
            | "main"
            | "ai_tool"
            | "ai_languageModel"
            | "ai_document"
            | "ai_chain"
            | "ai_embedding"
            | "ai_memory"
            | "ai_outputParser"
            | "ai_textSplitter"
            | "ai_vectorStore";
    }[];
}

The input to add Default: {} Type options: {"multipleValues":true,"sortable":true}

Source§

readonly outputs?: {
    output: {
        type:
            | "main"
            | "ai_tool"
            | "ai_languageModel"
            | "ai_document"
            | "ai_chain"
            | "ai_embedding"
            | "ai_memory"
            | "ai_outputParser"
            | "ai_textSplitter"
            | "ai_vectorStore";
    }[];
}

The output to add Default: {} Type options: {"multipleValues":true,"sortable":true}