interface MoonshotNodeParameters {
addAttachments?: boolean;
binaryPropertyName?: string;
messages?: {
values: {
content?: string;
role?: "user" | "assistant";
}[];
};
modelId?: { mode: "id"
| "list"; value: string };
operation?: "message" | "analyze";
options?:
| { maxTokens?: number }
| {
frequencyPenalty?: number;
includeMergedResponse?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
presencePenalty?: number;
responseFormat?: "text" | "json_object";
system?: string;
temperature?: number;
thinkingMode?: boolean;
topP?: number;
webSearch?: boolean;
};
resource?: "text"
| "image";
simplify?: boolean;
text?: string;
}Properties§
§§§§§§§§
readonly add Attachments?: boolean§
readonly binary Property Name?: stringName of the binary field(s) which contains the image(s), separate multiple field names with commas Default: "data" Type options: {"binaryDataProperty":true}
readonly messages?: { ... }Default: {"values":[{"content":"","role":"user"}]} Type options: {"sortable":true,"multipleValues":true}
readonly model Id?: { ... }Default: {"mode":"list","value":""}
readonly operation?: "message" | "analyze"Default: "analyze"
readonly options?:
| { maxTokens?: number }
| {
frequencyPenalty?: number;
includeMergedResponse?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
presencePenalty?: number;
responseFormat?: "text" | "json_object";
system?: string;
temperature?: number;
thinkingMode?: boolean;
topP?: number;
webSearch?: boolean;
}Default: {}
readonly resource?: "text" | "image"Default: "text"
readonly simplify?: booleanWhether to return a simplified version of the response instead of the raw data Default: true
readonly text?: stringDefault: "What's in this image?" Type options: {"rows":2}
Whether to add image attachments to the message