diff --git a/docs/docs/modules/indexes/vector_stores/integrations/milvus.md b/docs/docs/modules/indexes/vector_stores/integrations/milvus.md index 21de89425c8d..f2521fab782e 100644 --- a/docs/docs/modules/indexes/vector_stores/integrations/milvus.md +++ b/docs/docs/modules/indexes/vector_stores/integrations/milvus.md @@ -49,13 +49,13 @@ const vectorStore = await Milvus.fromTexts( [{ id: 2 }, { id: 1 }, { id: 3 }, { id: 4 }, { id: 5 }], new OpenAIEmbeddings(), { - collectionName: "goldel-escher-bach", + collectionName: "goldel_escher_bach", } ); // or alternatively from docs const vectorStore = await Milvus.fromDocuments(docs, new OpenAIEmbeddings(), { - collectionName: "goldel-escher-bach", + collectionName: "goldel_escher_bach", }); const response = await vectorStore.similaritySearch("scared", 2); @@ -70,7 +70,7 @@ import { OpenAIEmbeddings } from "langchain/embeddings/openai"; const vectorStore = await Milvus.fromExistingCollection( new OpenAIEmbeddings(), { - collectionName: "goldel-escher-bach", + collectionName: "goldel_escher_bach", } );