StartChatParams interface

GenerativeModel.startChat() के लिए पैरामीटर.

हस्ताक्षर:

export interface StartChatParams extends BaseParams 

बढ़ावा देना: BaseParams

प्रॉपर्टी

प्रॉपर्टी टाइप ब्यौरा
इतिहास कॉन्टेंट[]
सिस्टम निर्देश स्ट्रिंग | पार्ट | कॉन्टेंट
टूल कॉन्फ़िगरेशन टूल कॉन्फ़िगरेशन
टूल टूल[]

StartChatParams.history

हस्ताक्षर:

history?: Content[];

StartChatParams.systemInstruction

हस्ताक्षर:

systemInstruction?: string | Part | Content;

StartChatParams.toolConfig

हस्ताक्षर:

toolConfig?: ToolConfig;

StartChatParams.tools

हस्ताक्षर:

tools?: Tool[];