@google/generative-ai
StartChatParams
Interface StartChatParams
Params for
GenerativeModel.startChat
.
interface
StartChatParams
{
generationConfig
?:
GenerationConfig
;
history
?:
Content
[]
;
safetySettings
?:
SafetySetting
[]
;
systemInstruction
?:
Content
;
toolConfig
?:
ToolConfig
;
tools
?:
FunctionDeclarationsTool
[]
;
}
Hierarchy
BaseParams
StartChatParams
Index
Properties
generation
Config?
history?
safety
Settings?
system
Instruction?
tool
Config?
tools?
Properties
Optional
generation
Config
generation
Config
?:
GenerationConfig
Optional
history
history
?:
Content
[]
Optional
safety
Settings
safety
Settings
?:
SafetySetting
[]
Optional
system
Instruction
system
Instruction
?:
Content
Optional
tool
Config
tool
Config
?:
ToolConfig
Optional
tools
tools
?:
FunctionDeclarationsTool
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
generation
Config
history
safety
Settings
system
Instruction
tool
Config
tools
Preparing search index...
The search index is not available
@google/generative-ai - v0.7.1
Classes
ChatSession
GenerativeModel
GoogleGenerativeAI
Variables
POSSIBLE_ROLES
Type Aliases
Part
Tool
Interfaces
BaseParams
BatchEmbedContentsRequest
BatchEmbedContentsResponse
CitationMetadata
CitationSource
Content
ContentEmbedding
CountTokensRequest
CountTokensResponse
EmbedContentRequest
EmbedContentResponse
Loading...
Params for GenerativeModel.startChat.