https://github.com/sudarshan-koirala/RAG-chat-with-documents
Chainlit app for advanced RAG. Uses llamaparse, langchain, qdrant and models from groq.
https://github.com/sudarshan-koirala/RAG-chat-with-documents
Last synced: 4 months ago
JSON representation
Chainlit app for advanced RAG. Uses llamaparse, langchain, qdrant and models from groq.
- Host: GitHub
- URL: https://github.com/sudarshan-koirala/RAG-chat-with-documents
- Owner: sudarshan-koirala
- License: mit
- Created: 2024-03-15T12:32:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-24T08:43:58.000Z (11 months ago)
- Last Synced: 2024-08-13T07:07:35.769Z (8 months ago)
- Language: Python
- Size: 1.12 MB
- Stars: 33
- Watchers: 1
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - sudarshan-koirala/RAG-chat-with-documents - Chainlit app for advanced RAG. Uses llamaparse, langchain, qdrant and models from groq. (Python)
README
# RAG-chat-with-documents
Chainlit app for advanced RAG. Uses llamaparse, langchain, qdrant and models from groq.## Videos covering these topics
### [Llamaparse LlamaIndex](https://youtu.be/wRMnHbiz5ck?si=iQZV7N6-trcuBm8M)
### [Llamaparse Qdrant Gorq](https://youtu.be/w7Ap6gZFXl0?si=05AUGmRp1quTdeZl)
### [RAG With LlamaParse from LlamaIndex & LangChain 🚀](https://youtu.be/f9hvrqVvZl0?si=qnJBsAZD4hBUweiS)### Links shown in video
- [LlamaCloud](https://cloud.llamaindex.ai/)
- [Qdrant Cloud](https://cloud.qdrant.io/)
- [Groq Cloud](https://console.groq.com/)### create virtualenv
```
python3 -m venv .venv && source .venv/bin/activate
```### Install packages
```
pip install -r requirements.txt
```### Environment variables
All env variables goes to .env ( cp `example.env` to `.env` and paste required env variables)### Run the python files (following the video to run step by step is recommended)
```
python3 ingest.py
chainlit run app.py
```## Additional helper documents
- [LlamaIndex blogpost about Llamaparse](https://www.llamaindex.ai/blog/launching-the-first-genai-native-document-parsing-platform)
- [Advanced demo with Reranker](https://github.com/run-llama/llama_parse/blob/main/examples/demo_advanced.ipynb)
- [Parsing instructions Llamaparse](https://colab.research.google.com/drive/1dO2cwDCXjj9pS9yQDZ2vjg-0b5sRXQYo#scrollTo=dEX7Mv9V0UvM)