File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ from Toolbox.
294294
295295 {{< tabpane persist=header >}}
296296{{< tab header="LangChain" lang="bash" >}}
297- npm install langchain @langchain/google-vertexai
297+ npm install langchain @langchain/google-genai
298298{{< /tab >}}
299299{{< tab header="GenkitJS" lang="bash" >}}
300300npm install genkit @genkit-ai/vertexai
@@ -309,7 +309,7 @@ npm install llamaindex @llamaindex/google @llamaindex/workflow
309309 {{< tabpane persist=header >}}
310310{{< tab header="LangChain" lang="js" >}}
311311
312- import { ChatVertexAI } from "@langchain/google-vertexai ";
312+ import { ChatGoogleGenerativeAI } from "@langchain/google-genai ";
313313import { ToolboxClient } from "@toolbox-sdk/core";
314314import { tool } from "@langchain/core/tools";
315315import { createReactAgent } from "@langchain/langgraph/prebuilt";
@@ -336,7 +336,7 @@ const queries = [
336336];
337337
338338async function runApplication() {
339- const model = new ChatVertexAI ({
339+ const model = new ChatGoogleGenerativeAI ({
340340 model: "gemini-2.0-flash",
341341 });
342342
You can’t perform that action at this time.
0 commit comments