From 7b874da9b2336fbb37522a90f565c101afc185f9 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Wed, 10 Sep 2025 21:47:45 -0400 Subject: [PATCH] fix(docs): `text-embedding-004` -> `gemini-embedding-001` (#32596) `text-embedding-004` will be discontinued --- .../integrations/text_embedding/google_vertex_ai_palm.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/text_embedding/google_vertex_ai_palm.ipynb b/docs/docs/integrations/text_embedding/google_vertex_ai_palm.ipynb index 4f07b8245d2..5bffb6e2fc9 100644 --- a/docs/docs/integrations/text_embedding/google_vertex_ai_palm.ipynb +++ b/docs/docs/integrations/text_embedding/google_vertex_ai_palm.ipynb @@ -103,7 +103,9 @@ "cell_type": "markdown", "id": "c84fb993", "metadata": {}, - "source": "To enable automated tracing of your model calls, set your [LangSmith](https://docs.smith.langchain.com/) API key:" + "source": [ + "To enable automated tracing of your model calls, set your [LangSmith](https://docs.smith.langchain.com/) API key:" + ] }, { "cell_type": "code", @@ -157,7 +159,7 @@ "from langchain_google_vertexai import VertexAIEmbeddings\n", "\n", "# Initialize the a specific Embeddings Model version\n", - "embeddings = VertexAIEmbeddings(model_name=\"text-embedding-004\")" + "embeddings = VertexAIEmbeddings(model_name=\"gemini-embedding-001\")" ] }, {