Preparing search index...
The search index is not available
@google/genai
@google/genai
types
Module types
Enumerations
BlockedReason
ControlReferenceType
DynamicRetrievalConfigMode
FileSource
FileState
FinishReason
FunctionCallingConfigMode
HarmBlockMethod
HarmBlockThreshold
HarmCategory
HarmProbability
HarmSeverity
ImagePromptLanguage
Language
MaskReferenceMode
MediaResolution
Modality
Mode
Outcome
PersonGeneration
SafetyFilterLevel
State
SubjectReferenceType
Type
Classes
ComputeTokensResponse
CountTokensResponse
CreateFileResponse
DeleteCachedContentResponse
EmbedContentResponse
FunctionResponse
GenerateContentResponse
GenerateContentResponsePromptFeedback
GenerateContentResponseUsageMetadata
GenerateImagesResponse
HttpResponse
ListCachedContentsResponse
ListFilesResponse
LiveClientToolResponse
ReplayResponse
SessionSendToolResponseParameters
Interfaces
Blob
CachedContent
CachedContentUsageMetadata
Candidate
Citation
CitationMetadata
CodeExecutionResult
ComputeTokensConfig
ComputeTokensParameters
Content
ContentEmbedding
ContentEmbeddingStatistics
ControlReferenceConfig
ControlReferenceImage
CountTokensConfig
CountTokensParameters
CreateCachedContentConfig
CreateCachedContentParameters
CreateChatParameters
CreateFileConfig
CreateFileParameters
DeleteCachedContentConfig
DeleteCachedContentParameters
DownloadFileConfig
DynamicRetrievalConfig
EmbedContentConfig
EmbedContentMetadata
EmbedContentParameters
ExecutableCode
File
FileData
FileStatus
FunctionCall
FunctionCallingConfig
FunctionDeclaration
GenerateContentConfig
GenerateContentParameters
GeneratedImage
GenerateImagesConfig
GenerateImagesParameters
GenerationConfig
GenerationConfigRoutingConfig
GenerationConfigRoutingConfigAutoRoutingMode
GenerationConfigRoutingConfigManualRoutingMode
GetCachedContentConfig
GetCachedContentParameters
GetFileConfig
GetFileParameters
GoogleSearch
GoogleSearchRetrieval
GoogleTypeDate
GroundingChunk
GroundingChunkRetrievedContext
GroundingChunkWeb
GroundingMetadata
GroundingSupport
HttpOptions
Image
ListCachedContentsConfig
ListCachedContentsParameters
ListFilesConfig
ListFilesParameters
LiveCallbacks
LiveClientContent
LiveClientMessage
LiveClientRealtimeInput
LiveClientSetup
LiveConnectConfig
LiveConnectParameters
LiveServerContent
LiveServerMessage
LiveServerSetupComplete
LiveServerToolCall
LiveServerToolCallCancellation
LogprobsResult
LogprobsResultCandidate
LogprobsResultTopCandidates
MaskReferenceConfig
MaskReferenceImage
Part
PrebuiltVoiceConfig
RawReferenceImage
ReplayFile
ReplayInteraction
ReplayRequest
Retrieval
RetrievalMetadata
SafetyRating
SafetySetting
Schema
SearchEntryPoint
Segment
SendMessageParameters
SessionSendClientContentParameters
SessionSendRealtimeInputParameters
SpeechConfig
StyleReferenceConfig
StyleReferenceImage
SubjectReferenceConfig
SubjectReferenceImage
TestTableFile
TestTableItem
ThinkingConfig
TokensInfo
Tool
ToolCodeExecution
ToolConfig
UpdateCachedContentConfig
UpdateCachedContentParameters
UploadFileConfig
UpscaleImageConfig
UpscaleImageParameters
VertexAISearch
VertexRagStore
VertexRagStoreRagResource
VideoMetadata
VoiceConfig
Type Aliases
ContentListUnion
ContentUnion
PartListUnion
PartUnion
SchemaUnion
SpeechConfigUnion
ToolListUnion
Functions
createModelContent
createPartFromBase64
createPartFromCodeExecutionResult
createPartFromExecutableCode
createPartFromFunctionCall
createPartFromFunctionResponse
createPartFromText
createPartFromUri
createPartFromVideoMetadata
createUserContent
Settings
Theme
OS
Light
Dark
On This Page
Enumerations
Blocked
Reason
Control
Reference
Type
Dynamic
Retrieval
Config
Mode
File
Source
File
State
Finish
Reason
Function
Calling
Config
Mode
Harm
Block
Method
Harm
Block
Threshold
Harm
Category
Harm
Probability
Harm
Severity
Image
Prompt
Language
Language
Mask
Reference
Mode
Media
Resolution
Modality
Mode
Outcome
Person
Generation
Safety
Filter
Level
State
Subject
Reference
Type
Type
Classes
Compute
Tokens
Response
Count
Tokens
Response
Create
File
Response
Delete
Cached
Content
Response
Embed
Content
Response
Function
Response
Generate
Content
Response
Generate
Content
Response
Prompt
Feedback
Generate
Content
Response
Usage
Metadata
Generate
Images
Response
Http
Response
List
Cached
Contents
Response
List
Files
Response
Live
Client
Tool
Response
Replay
Response
Session
Send
Tool
Response
Parameters
Interfaces
Blob
Cached
Content
Cached
Content
Usage
Metadata
Candidate
Citation
Citation
Metadata
Code
Execution
Result
Compute
Tokens
Config
Compute
Tokens
Parameters
Content
Content
Embedding
Content
Embedding
Statistics
Control
Reference
Config
Control
Reference
Image
Count
Tokens
Config
Count
Tokens
Parameters
Create
Cached
Content
Config
Create
Cached
Content
Parameters
Create
Chat
Parameters
Create
File
Config
Create
File
Parameters
Delete
Cached
Content
Config
Delete
Cached
Content
Parameters
Download
File
Config
Dynamic
Retrieval
Config
Embed
Content
Config
Embed
Content
Metadata
Embed
Content
Parameters
Executable
Code
File
File
Data
File
Status
Function
Call
Function
Calling
Config
Function
Declaration
Generate
Content
Config
Generate
Content
Parameters
Generated
Image
Generate
Images
Config
Generate
Images
Parameters
Generation
Config
Generation
Config
Routing
Config
Generation
Config
Routing
Config
Auto
Routing
Mode
Generation
Config
Routing
Config
Manual
Routing
Mode
Get
Cached
Content
Config
Get
Cached
Content
Parameters
Get
File
Config
Get
File
Parameters
Google
Search
Google
Search
Retrieval
Google
Type
Date
Grounding
Chunk
Grounding
Chunk
Retrieved
Context
Grounding
Chunk
Web
Grounding
Metadata
Grounding
Support
Http
Options
Image
List
Cached
Contents
Config
List
Cached
Contents
Parameters
List
Files
Config
List
Files
Parameters
Live
Callbacks
Live
Client
Content
Live
Client
Message
Live
Client
Realtime
Input
Live
Client
Setup
Live
Connect
Config
Live
Connect
Parameters
Live
Server
Content
Live
Server
Message
Live
Server
Setup
Complete
Live
Server
Tool
Call
Live
Server
Tool
Call
Cancellation
Logprobs
Result
Logprobs
Result
Candidate
Logprobs
Result
Top
Candidates
Mask
Reference
Config
Mask
Reference
Image
Part
Prebuilt
Voice
Config
Raw
Reference
Image
Replay
File
Replay
Interaction
Replay
Request
Retrieval
Retrieval
Metadata
Safety
Rating
Safety
Setting
Schema
Search
Entry
Point
Segment
Send
Message
Parameters
Session
Send
Client
Content
Parameters
Session
Send
Realtime
Input
Parameters
Speech
Config
Style
Reference
Config
Style
Reference
Image
Subject
Reference
Config
Subject
Reference
Image
Test
Table
File
Test
Table
Item
Thinking
Config
Tokens
Info
Tool
Tool
Code
Execution
Tool
Config
Update
Cached
Content
Config
Update
Cached
Content
Parameters
Upload
File
Config
Upscale
Image
Config
Upscale
Image
Parameters
VertexAISearch
Vertex
Rag
Store
Vertex
Rag
Store
Rag
Resource
Video
Metadata
Voice
Config
Type Aliases
Content
List
Union
Content
Union
Part
List
Union
Part
Union
Schema
Union
Speech
Config
Union
Tool
List
Union
Functions
create
Model
Content
create
Part
From
Base64
create
Part
From
Code
Execution
Result
create
Part
From
Executable
Code
create
Part
From
Function
Call
create
Part
From
Function
Response
create
Part
From
Text
create
Part
From
Uri
create
Part
From
Video
Metadata
create
User
Content
@google/genai
caches
Caches
chats
Chat
Chats
client
GoogleGenAI
GoogleGenAIOptions
files
Files
live
Live
Session
models
Models
pagers
PagedItem
Pager
types
BlockedReason
ControlReferenceType
DynamicRetrievalConfigMode
FileSource
FileState
FinishReason
FunctionCallingConfigMode
HarmBlockMethod
HarmBlockThreshold
HarmCategory
HarmProbability
HarmSeverity
ImagePromptLanguage
Language
MaskReferenceMode
MediaResolution
Modality
Mode
Outcome
PersonGeneration
SafetyFilterLevel
State
SubjectReferenceType
Type
ComputeTokensResponse
CountTokensResponse
CreateFileResponse
DeleteCachedContentResponse
EmbedContentResponse
FunctionResponse
GenerateContentResponse
GenerateContentResponsePromptFeedback
GenerateContentResponseUsageMetadata
GenerateImagesResponse
HttpResponse
ListCachedContentsResponse
ListFilesResponse
LiveClientToolResponse
ReplayResponse
SessionSendToolResponseParameters
Blob
CachedContent
CachedContentUsageMetadata
Candidate
Citation
CitationMetadata
CodeExecutionResult
ComputeTokensConfig
ComputeTokensParameters
Content
ContentEmbedding
ContentEmbeddingStatistics
ControlReferenceConfig
ControlReferenceImage
CountTokensConfig
CountTokensParameters
CreateCachedContentConfig
CreateCachedContentParameters
CreateChatParameters
CreateFileConfig
CreateFileParameters
DeleteCachedContentConfig
DeleteCachedContentParameters
DownloadFileConfig
DynamicRetrievalConfig
EmbedContentConfig
EmbedContentMetadata
EmbedContentParameters
ExecutableCode
File
FileData
FileStatus
FunctionCall
FunctionCallingConfig
FunctionDeclaration
GenerateContentConfig
GenerateContentParameters
GeneratedImage
GenerateImagesConfig
GenerateImagesParameters
GenerationConfig
GenerationConfigRoutingConfig
GenerationConfigRoutingConfigAutoRoutingMode
GenerationConfigRoutingConfigManualRoutingMode
GetCachedContentConfig
GetCachedContentParameters
GetFileConfig
GetFileParameters
GoogleSearch
GoogleSearchRetrieval
GoogleTypeDate
GroundingChunk
GroundingChunkRetrievedContext
GroundingChunkWeb
GroundingMetadata
GroundingSupport
HttpOptions
Image
ListCachedContentsConfig
ListCachedContentsParameters
ListFilesConfig
ListFilesParameters
LiveCallbacks
LiveClientContent
LiveClientMessage
LiveClientRealtimeInput
LiveClientSetup
LiveConnectConfig
LiveConnectParameters
LiveServerContent
LiveServerMessage
LiveServerSetupComplete
LiveServerToolCall
LiveServerToolCallCancellation
LogprobsResult
LogprobsResultCandidate
LogprobsResultTopCandidates
MaskReferenceConfig
MaskReferenceImage
Part
PrebuiltVoiceConfig
RawReferenceImage
ReplayFile
ReplayInteraction
ReplayRequest
Retrieval
RetrievalMetadata
SafetyRating
SafetySetting
Schema
SearchEntryPoint
Segment
SendMessageParameters
SessionSendClientContentParameters
SessionSendRealtimeInputParameters
SpeechConfig
StyleReferenceConfig
StyleReferenceImage
SubjectReferenceConfig
SubjectReferenceImage
TestTableFile
TestTableItem
ThinkingConfig
TokensInfo
Tool
ToolCodeExecution
ToolConfig
UpdateCachedContentConfig
UpdateCachedContentParameters
UploadFileConfig
UpscaleImageConfig
UpscaleImageParameters
VertexAISearch
VertexRagStore
VertexRagStoreRagResource
VideoMetadata
VoiceConfig
ContentListUnion
ContentUnion
PartListUnion
PartUnion
SchemaUnion
SpeechConfigUnion
ToolListUnion
createModelContent
createPartFromBase64
createPartFromCodeExecutionResult
createPartFromExecutableCode
createPartFromFunctionCall
createPartFromFunctionResponse
createPartFromText
createPartFromUri
createPartFromVideoMetadata
createUserContent
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R