Các tham 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[] | |
systemInstruction | chuỗi | Phần | Nội dung | |
toolConfig | Cấu hình công cụ | |
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[];