Các tham số được chuyển đến getGenerativeModel().
Chữ ký:
export interface ModelParams extends BaseParams
Mở rộng: BaseParams
Thuộc tính
Tài sản | Loại | Mô tả |
---|---|---|
mô hình | chuỗi | |
Hướng dẫn hệ thống | chuỗi | Phần | Nội dung | |
toolConfig | ToolConfig | |
công cụ | Công cụ[] |
ModelParams.model
Chữ ký:
model: string;
ModelParams.systemInstruction
Chữ ký:
systemInstruction?: string | Part | Content;
ModelParams.toolConfig
Chữ ký:
toolConfig?: ToolConfig;
ModelParams.tools
Chữ ký:
tools?: Tool[];