v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/google-common
types
GeminiResponseCandidate
Interface GeminiResponseCandidate
interface
GeminiResponseCandidate
{
avgLogprobs
?:
number
;
citationMetadata
?:
GeminiCitationMetadata
;
content
:
{
parts
:
GeminiPart
[]
;
role
:
string
;
}
;
finishReason
:
string
;
groundingMetadata
?:
GeminiGroundingMetadata
;
index
:
number
;
logprobsResult
:
GeminiLogprobsResult
;
safetyRatings
:
GeminiSafetyRating
[]
;
tokenCount
?:
number
;
}
Index
Properties
avg
Logprobs?
citation
Metadata?
content
finish
Reason
grounding
Metadata?
index
logprobs
Result
safety
Ratings
token
Count?
Properties
Optional
avg
Logprobs
avg
Logprobs
?:
number
Optional
citation
Metadata
citation
Metadata
?:
GeminiCitationMetadata
content
content
:
{
parts
:
GeminiPart
[]
;
role
:
string
;
}
finish
Reason
finish
Reason
:
string
Optional
grounding
Metadata
grounding
Metadata
?:
GeminiGroundingMetadata
index
index
:
number
logprobs
Result
logprobs
Result
:
GeminiLogprobsResult
safety
Ratings
safety
Ratings
:
GeminiSafetyRating
[]
Optional
token
Count
token
Count
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
avg
Logprobs
citation
Metadata
content
finish
Reason
grounding
Metadata
index
logprobs
Result
safety
Ratings
token
Count
LangChain.js
Loading...