Skip to content

Commit

Permalink
docs[patch]: Fix import path in typesense doc (#6117)
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul authored Jul 17, 2024
1 parent f416316 commit 77904e3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/core_docs/docs/integrations/vectorstores/typesense.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ import IntegrationInstallTooltip from "@mdx_components/integration_install_toolt
<IntegrationInstallTooltip></IntegrationInstallTooltip>

```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: [
Expand Down

0 comments on commit 77904e3

Please sign in to comment.