interface ModelParams {
    generationConfig?: GenerationConfig;
    model: string;
    safetySettings?: SafetySetting[];
    systemInstruction?: Content;
    toolConfig?: ToolConfig;
    tools?: FunctionDeclarationsTool[];
}

Hierarchy

Properties

generationConfig?: GenerationConfig
model: string
safetySettings?: SafetySetting[]
systemInstruction?: Content
toolConfig?: ToolConfig