Class: Gemini
ToolCallLLM for Gemini
Hierarchy
-
ToolCallLLM
<GeminiAdditionalChatOptions
>↳
Gemini
Constructors
constructor
• new Gemini(init?
): Gemini
Parameters
Name | Type |
---|---|
init? | GeminiConfig |
Returns
Overrides
ToolCallLLM<GeminiAdditionalChatOptions>.constructor
Defined in
packages/core/src/llm/gemini.ts:239
Properties
maxTokens
• Optional
maxTokens: number
Defined in
packages/core/src/llm/gemini.ts:236
model
• model: GEMINI_MODEL
Defined in
packages/core/src/llm/gemini.ts:233
session
• session: GeminiSession
Defined in
packages/core/src/llm/gemini.ts:237
temperature
• temperature: number
Defined in
packages/core/src/llm/gemini.ts:234
topP
• topP: number
Defined in
packages/core/src/llm/gemini.ts:235
Accessors
metadata
• get
metadata(): LLMMetadata
Returns
Overrides
ToolCallLLM.metadata
Defined in
packages/core/src/llm/gemini.ts:252
supportToolCall
• get
supportToolCall(): boolean
Returns
boolean
Overrides
ToolCallLLM.supportToolCall
Defined in
packages/core/src/llm/gemini.ts:248
Methods
chat
▸ chat(params
): Promise
<GeminiChatStreamResponse
>