Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binarybrain/pdf-rag

Index your documents and ask questions about them in a chat-like interface.
https://github.com/binarybrain/pdf-rag

chat gpt llm pdf rag

Last synced: about 2 months ago
JSON representation

Index your documents and ask questions about them in a chat-like interface.

Awesome Lists containing this project

README

        

# PDF RAG

Index your documents and ask questions about them in a chat-like interface.

## Install

```sh
npm i
cd client; npm i; cd ..
```

Install [pdftotext](https://pypi.org/project/pdftotext/).

Make sure you have your OpenAI key in your environment as `OPENAI_API_KEY`.

## Index your files

1) Place your PDF files in `documents/input`
2) Run `node indexer.js`
3) Wait for the process to finish

## Run

First, start the backend:

```sh
npm run dev
```

Then the client:

```sh
cd client
npm run dev
```