@google/generative-ai
BaseParams
Interface BaseParams
Base parameters for a number of methods.
interface
BaseParams
{
generationConfig
?:
GenerationConfig
;
safetySettings
?:
SafetySetting
[]
;
}
Hierarchy
BaseParams
GenerateContentRequest
ModelParams
StartChatParams
Index
Properties
generation
Config?
safety
Settings?
Properties
Optional
generation
Config
generation
Config
?:
GenerationConfig
Optional
safety
Settings
safety
Settings
?:
SafetySetting
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
generation
Config
safety
Settings
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...
Base parameters for a number of methods.