From 7d540cc763d8b2477c81a3e295569bb1b45bc3f9 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Wed, 17 Jul 2024 14:25:30 -0700 Subject: [PATCH] docs[patch]: Fix import path in typesense doc --- .../docs/integrations/vectorstores/typesense.mdx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/core_docs/docs/integrations/vectorstores/typesense.mdx b/docs/core_docs/docs/integrations/vectorstores/typesense.mdx index f203d3a8ca31..e0a0b7a45395 100644 --- a/docs/core_docs/docs/integrations/vectorstores/typesense.mdx +++ b/docs/core_docs/docs/integrations/vectorstores/typesense.mdx @@ -9,14 +9,17 @@ import IntegrationInstallTooltip from "@mdx_components/integration_install_toolt ```bash npm2yarn -npm install @langchain/openai +npm install @langchain/openai @langchain/community ``` ```typescript -import { Typesense, TypesenseConfig } from "langchain/vectorstores/typesense"; +import { + Typesense, + TypesenseConfig, +} from "@lanchain/community/vectorstores/typesense"; import { OpenAIEmbeddings } from "@langchain/openai"; import { Client } from "typesense"; -import { Document } from "langchain/document"; +import { Document } from "@langchain/core/documents"; const vectorTypesenseClient = new Client({ nodes: [