Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Dec 24, 2024
1 parent 20cd43c commit a630c44
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The `arXiv Retriever` allows users to query the arXiv database for academic arti
| ---------------- | ---------------------------- | ---------------------------------------------------------------------------- |
| `ArxivRetriever` | Academic articles from arXiv | [`@langchain/community`](https://www.npmjs.com/package/@langchain/community) |

## Setup/Installation
## Setup

Ensure the following dependencies are installed:

Expand All @@ -30,7 +30,7 @@ Ensure the following dependencies are installed:
npm install pdf-parse fast-xml-parser
```

## Instantiate the retriever
## Instantiation

```typescript
const retriever = new ArxivRetriever({
Expand Down Expand Up @@ -96,4 +96,6 @@ const ragChain = RunnableSequence.from([
await ragChain.invoke("What are the latest advances in quantum computing?");
```

## API reference

For detailed documentation of all ArxivRetriever features and configurations, head to the [API reference](https://api.js.langchain.com/classes/_langchain_community.retrievers_arxiv.ArxivRetriever.html)

0 comments on commit a630c44

Please sign in to comment.