Skip to content

Commit

Permalink
docs: Fix import (#7311)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Dec 4, 2024
1 parent f7079d0 commit b113d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/core_docs/docs/integrations/vectorstores/opensearch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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"],
Expand Down

0 comments on commit b113d2a

Please sign in to comment.