fix(docs): text-embedding-004 -> gemini-embedding-001 (#32596)

`text-embedding-004` will be discontinued
This commit is contained in:
Mason Daugherty
2025-09-10 21:47:45 -04:00
committed by GitHub
parent 8e213c9f1a
commit 7b874da9b2

View File

@@ -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\")"
]
},
{