diff --git a/docs/core_docs/docs/integrations/vectorstores/opensearch.mdx b/docs/core_docs/docs/integrations/vectorstores/opensearch.mdx index 62c33165b26c..f0c9a6cb6a3c 100644 --- a/docs/core_docs/docs/integrations/vectorstores/opensearch.mdx +++ b/docs/core_docs/docs/integrations/vectorstores/opensearch.mdx @@ -31,7 +31,7 @@ You'll also need to have an OpenSearch instance running. You can use the [offici import { Client } from "@opensearch-project/opensearch"; import { Document } from "langchain/document"; import { OpenAIEmbeddings } from "@langchain/openai"; -import { OpenSearchVectorStore } from "langchain/vectorstores/opensearch"; +import { OpenSearchVectorStore } from "@langchain/community/vectorstores/opensearch"; const client = new Client({ nodes: [process.env.OPENSEARCH_URL ?? "http://127.0.0.1:9200"], @@ -70,7 +70,7 @@ import { Client } from "@opensearch-project/opensearch"; import { VectorDBQAChain } from "langchain/chains"; import { OpenAIEmbeddings } from "@langchain/openai"; import { OpenAI } from "@langchain/openai"; -import { OpenSearchVectorStore } from "langchain/vectorstores/opensearch"; +import { OpenSearchVectorStore } from "@langchain/community/vectorstores/opensearch"; const client = new Client({ nodes: [process.env.OPENSEARCH_URL ?? "http://127.0.0.1:9200"],