Skip to content

Commit

Permalink
feat(Docs): Fixes Calculator import (langchain-ai#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
francofantini authored Apr 12, 2023
1 parent 0c43852 commit 9e4bbea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/modules/agents/tools/agents_with_vectorstores.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ First, you'll want to import the relevant modules:
```typescript
import { OpenAI } from "langchain/llms/openai";
import { initializeAgentExecutor } from "langchain/agents";
import { SerpAPI, Calculator, ChainTool } from "langchain/tools";
import { SerpAPI, ChainTool } from "langchain/tools";
import { Calculator } from "langchain/tools/calculator";
import { VectorDBQAChain } from "langchain/chains";
import { HNSWLib } from "langchain/vectorstores/hnswlib";
import { OpenAIEmbeddings } from "langchain/embeddings/openai";
Expand Down

0 comments on commit 9e4bbea

Please sign in to comment.