v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/google-vertexai
types
GeminiRequest
Interface GeminiRequest
interface
GeminiRequest
{
cachedContent
?:
string
;
contents
?:
GeminiContent
[]
;
generationConfig
?:
GeminiGenerationConfig
;
labels
?:
Record
<
string
,
string
>
;
safetySettings
?:
GeminiSafetySetting
[]
;
systemInstruction
?:
GeminiContent
;
toolConfig
?:
{
functionCallingConfig
:
{
allowedFunctionNames
?:
string
[]
;
mode
:
"any"
|
"auto"
|
"none"
;
}
;
}
;
tools
?:
GeminiTool
[]
;
}
Index
Properties
cached
Content?
contents?
generation
Config?
labels?
safety
Settings?
system
Instruction?
tool
Config?
tools?
Properties
Optional
cached
Content
cached
Content
?:
string
Optional
contents
contents
?:
GeminiContent
[]
Optional
generation
Config
generation
Config
?:
GeminiGenerationConfig
Optional
labels
labels
?:
Record
<
string
,
string
>
Custom metadata labels to associate with the API call.
Optional
safety
Settings
safety
Settings
?:
GeminiSafetySetting
[]
Optional
system
Instruction
system
Instruction
?:
GeminiContent
Optional
tool
Config
tool
Config
?:
{
functionCallingConfig
:
{
allowedFunctionNames
?:
string
[]
;
mode
:
"any"
|
"auto"
|
"none"
;
}
;
}
Optional
tools
tools
?:
GeminiTool
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
cached
Content
contents
generation
Config
labels
safety
Settings
system
Instruction
tool
Config
tools
LangChain.js
Loading...
Custom metadata labels to associate with the API call.