Class: GeminiVertexSession
Implements
IGeminiSession
Constructors
new GeminiVertexSession()
new GeminiVertexSession(
options
?):GeminiVertexSession
Parameters
• options?: Partial
<VertexGeminiSessionOptions
>
Returns
Source
packages/core/src/llm/gemini/vertex.ts:38
Properties
preview
private
preview:boolean
=false
Source
packages/core/src/llm/gemini/vertex.ts:36
vertex
private
vertex:VertexAI
Source
packages/core/src/llm/gemini/vertex.ts:35
Methods
getChatStream()
getChatStream(
result
):GeminiChatStreamResponse
Parameters
• result: StreamGenerateContentResult
Returns
GeminiChatStreamResponse