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 binary Property Name?: string§
readonly image Urls?: stringURL(s) of the image(s) to analyze, multiple URLs can be added separated by comma
readonly input Type?: "url" | "binary"Default: "binary"
readonly messages?: { ... }Default: {"values":[{"content":"","role":"user"}]} Type options: {"sortable":true,"multipleValues":true}
readonly model Id?: { ... }Default: {"mode":"list","value":""}
readonly operation?: "analyze" | "message"Default: "analyze"
readonly options?: { ... }Default: {}
readonly resource?: "image" | "text"Default: "text"
readonly simplify?: booleanWhether to simplify the response or not Default: true
readonly text?: stringDefault: "What's in this image?" Type options: {"rows":2}
Name of the binary field(s) which contains the image(s), separate multiple field names with commas Default: "data"