Class: Gemini
ToolCallLLM for Gemini
Extends
ToolCallLLM
<GeminiAdditionalChatOptions
>
Constructors
new Gemini()
new Gemini(
init
?):Gemini
Parameters
• init?: GeminiConfig
Returns
Overrides
Source
packages/core/src/llm/gemini/base.ts:160
Properties
maxTokens?
optional
maxTokens:number
Source
packages/core/src/llm/gemini/base.ts:157
model
model:
GEMINI_MODEL
Source
packages/core/src/llm/gemini/base.ts:154
session
session:
IGeminiSession
Source
packages/core/src/llm/gemini/base.ts:158
temperature
temperature:
number
Source
packages/core/src/llm/gemini/base.ts:155
topP
topP:
number
Source
packages/core/src/llm/gemini/base.ts:156
Accessors
metadata
get
metadata():LLMMetadata
Returns
Source
packages/core/src/llm/gemini/base.ts:173
supportToolCall
get
supportToolCall():boolean
Returns
boolean
Source
packages/core/src/llm/gemini/base.ts:169
Methods
chat()
chat(params)
chat(
params
):Promise
<GeminiChatStreamResponse
>
Parameters
• params: GeminiChatParamsStreaming
Returns
Promise
<GeminiChatStreamResponse
>
Overrides
Source
packages/core/src/llm/gemini/base.ts:218
chat(params)
chat(
params
):Promise
<GeminiChatNonStreamResponse
>
Parameters
• params: GeminiChatParamsNonStreaming
Returns
Promise
<GeminiChatNonStreamResponse
>
Overrides
Source
packages/core/src/llm/gemini/base.ts:219