diff --git a/examples/src/models/chat/integration_googlevertexai-streaming.ts b/examples/src/models/chat/integration_googlevertexai-streaming.ts index 1574d5236c4e..d8e5d094a75c 100644 --- a/examples/src/models/chat/integration_googlevertexai-streaming.ts +++ b/examples/src/models/chat/integration_googlevertexai-streaming.ts @@ -4,6 +4,7 @@ import { ChatVertexAI } from "@langchain/google-vertexai"; const model = new ChatVertexAI({ temperature: 0.7, + model: "gemini-1.5-flash-001", }); const stream = await model.stream([ ["system", "You are a funny assistant that answers in pirate language."], diff --git a/examples/src/models/chat/integration_googlevertexai-tools.ts b/examples/src/models/chat/integration_googlevertexai-tools.ts index 6188f99bd95a..e36dd82c984e 100644 --- a/examples/src/models/chat/integration_googlevertexai-tools.ts +++ b/examples/src/models/chat/integration_googlevertexai-tools.ts @@ -25,7 +25,7 @@ const geminiCalculatorTool: GeminiTool = { const model = new ChatVertexAI({ temperature: 0.7, - model: "gemini-1.0-pro", + model: "gemini-1.5-flash-001", }).bind({ tools: [geminiCalculatorTool], }); diff --git a/examples/src/models/chat/integration_googlevertexai-wsa.ts b/examples/src/models/chat/integration_googlevertexai-wsa.ts index 16225211e26b..61fbe4e56d5e 100644 --- a/examples/src/models/chat/integration_googlevertexai-wsa.ts +++ b/examples/src/models/chat/integration_googlevertexai-wsa.ts @@ -13,7 +13,7 @@ const calculatorSchema = z.object({ const model = new ChatVertexAI({ temperature: 0.7, - model: "gemini-1.0-pro", + model: "gemini-1.5-flash-001", }).withStructuredOutput(calculatorSchema); const response = await model.invoke("What is 1628253239 times 81623836?"); diff --git a/examples/src/models/chat/integration_googlevertexai.ts b/examples/src/models/chat/integration_googlevertexai.ts index 4cc32e7471e9..3fa1f2c1caae 100644 --- a/examples/src/models/chat/integration_googlevertexai.ts +++ b/examples/src/models/chat/integration_googlevertexai.ts @@ -4,7 +4,7 @@ import { ChatVertexAI } from "@langchain/google-vertexai"; const model = new ChatVertexAI({ temperature: 0.7, - model: "gemini-1.0-pro", + model: "gemini-1.5-flash-001", }); const response = await model.invoke("Why is the ocean blue?");