Interface OllamaNodeParameters

Source
interface OllamaNodeParameters {
    binaryPropertyName?: string;
    imageUrls?: string;
    inputType?: "url" | "binary";
    messages?: {
        values: {
            content?: string;
            role?: "user" | "assistant";
        }[];
    };
    modelId?: { mode: "id"
    | "list"; value: string };
    operation?: "analyze" | "message";
    options?: {
        format?: "" | "json";
        frequency_penalty?: number;
        keep_alive?: string;
        low_vram?: boolean;
        main_gpu?: number;
        min_p?: number;
        num_batch?: number;
        num_ctx?: number;
        num_gpu?: number;
        num_predict?: number;
        num_thread?: number;
        penalize_newline?: boolean;
        presence_penalty?: number;
        repeat_last_n?: number;
        repeat_penalty?: number;
        seed?: number;
        stop?: string;
        system?: string;
        temperature?: number;
        top_k?: number;
        top_p?: number;
        use_mlock?: boolean;
        use_mmap?: boolean;
        vocab_only?: boolean;
    };
    resource?: "image"
    | "text";
    simplify?: boolean;
    text?: string;
}

Properties§

§readonly binaryPropertyName?: string

Name of the binary field(s) which contains the image(s), separate multiple field names with commas Default: "data"

§readonly imageUrls?: string

URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma

§readonly inputType?: "url" | "binary"

Default: "binary"

§readonly messages?: { ... }

Default: {"values":[{"content":"","role":"user"}]} Type options: {"sortable":true,"multipleValues":true}

§readonly modelId?: { ... }

Default: {"mode":"list","value":""}

§readonly operation?: "analyze" | "message"

Default: "analyze"

§readonly options?: { ... }

Default: {}

§readonly resource?: "image" | "text"

Default: "text"

§readonly simplify?: boolean

Whether to simplify the response or not Default: true

§readonly text?: string

Default: "What's in this image?" Type options: {"rows":2}