interface LmChatGoogleGeminiNodeParameters {
modelName?: string;
options?: {
maxOutputTokens?: number;
safetySettings?: {
values: {
category?:
| "HARM_CATEGORY_HARASSMENT"
| "HARM_CATEGORY_HATE_SPEECH"
| "HARM_CATEGORY_SEXUALLY_EXPLICIT"
| "HARM_CATEGORY_DANGEROUS_CONTENT";
threshold?: | "HARM_BLOCK_THRESHOLD_UNSPECIFIED"
| "BLOCK_LOW_AND_ABOVE"
| "BLOCK_MEDIUM_AND_ABOVE"
| "BLOCK_ONLY_HIGH"
| "BLOCK_NONE";
}[];
};
temperature?: number;
topK?: number;
topP?: number;
};
}
Properties§
Source§readonly options?: {
maxOutputTokens?: number;
safetySettings?: {
values: {
category?:
| "HARM_CATEGORY_HARASSMENT"
| "HARM_CATEGORY_HATE_SPEECH"
| "HARM_CATEGORY_SEXUALLY_EXPLICIT"
| "HARM_CATEGORY_DANGEROUS_CONTENT";
threshold?: | "HARM_BLOCK_THRESHOLD_UNSPECIFIED"
| "BLOCK_LOW_AND_ABOVE"
| "BLOCK_MEDIUM_AND_ABOVE"
| "BLOCK_ONLY_HIGH"
| "BLOCK_NONE";
}[];
};
temperature?: number;
topK?: number;
topP?: number;
}
readonly options?: {
maxOutputTokens?: number;
safetySettings?: {
values: {
category?:
| "HARM_CATEGORY_HARASSMENT"
| "HARM_CATEGORY_HATE_SPEECH"
| "HARM_CATEGORY_SEXUALLY_EXPLICIT"
| "HARM_CATEGORY_DANGEROUS_CONTENT";
threshold?: | "HARM_BLOCK_THRESHOLD_UNSPECIFIED"
| "BLOCK_LOW_AND_ABOVE"
| "BLOCK_MEDIUM_AND_ABOVE"
| "BLOCK_ONLY_HIGH"
| "BLOCK_NONE";
}[];
};
temperature?: number;
topK?: number;
topP?: number;
}
Additional options to add Default: {}
The model which will generate the completion. Learn more. Default: "models/gemini-2.5-flash" Type options: {"loadOptions":{"routing":{"request":{"method":"GET","url":"/v1beta/models"},"output":{"postReceive":[{"type":"rootProperty","properties":{"property":"models"}},{"type":"filter","properties":{"pass":"={{ !$responseItem.name.includes('embedding') }}"}},{"type":"setKeyValue","properties":{"name":"={{$responseItem.name}}","value":"={{$responseItem.name}}","description":"={{$responseItem.description}}"}},{"type":"sort","properties":{"key":"name"}}]}}}}