Thông số cho GenerativeModel.startChat().
Chữ ký:
export interface StartChatParams extends BaseParams
Mở rộng: BaseParams
Thuộc tính
Tài sản | Loại | Mô tả |
---|---|---|
nhật ký | Nội dung[] | |
Hướng dẫn hệ thống | chuỗi | Phần | Nội dung | |
toolConfig | ToolConfig | |
công cụ | Công cụ[] |
StartChatParams.history
Chữ ký:
history?: Content[];
StartChatParams.systemInstruction
Chữ ký:
systemInstruction?: string | Part | Content;
StartChatParams.toolConfig
Chữ ký:
toolConfig?: ToolConfig;
StartChatParams.tools
Chữ ký:
tools?: Tool[];