Skip to content

Chat with multiple PDFs, using Ollama and LlamaIndex

License

Notifications You must be signed in to change notification settings

GATERAGE/rag-chatbot

 
 

Repository files navigation

Chat with multiple PDFs, using Ollama and LlamaIndex

alt text

Setup

Install Ollama

Linux

curl -fsSL https://ollama.com/install.sh | sh

MacOS

Clone project

git clone https://github.com/datvodinh/rag-chatbot.git
cd rag-chatbot

Local

  • Install
pip install .
  • Run
python app.py --host localhost
  • Go to: http://0.0.0.0:7860/ after setup completed!

Docker

  • Build
docker compose up --build
  • Go to: http://0.0.0.0:7860/ after setup completed!

Use OpenAI API

  • Create file .env and input:
OPENAI_API_KEY = "[YOUR API KEY]"

Todo List

  • Support better Embedding Model for Vietnamese.
  • Knowledge Graph (for Structure Data).
  • Better Document Processing.

Overview RAG Pipeline (Beta)

  • High Level

alt text

  • Retriever

alt text

About

Chat with multiple PDFs, using Ollama and LlamaIndex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Dockerfile 0.6%