Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rieljasperapos/rag_chatbot
A Retrieval Augmented Generation (RAG) Chatbot that allows you to interact with your documents using the open source LLM model Llama 3.
https://github.com/rieljasperapos/rag_chatbot
llama3-rag streamlit-application
Last synced: about 2 months ago
JSON representation
A Retrieval Augmented Generation (RAG) Chatbot that allows you to interact with your documents using the open source LLM model Llama 3.
- Host: GitHub
- URL: https://github.com/rieljasperapos/rag_chatbot
- Owner: rieljasperapos
- Created: 2024-08-02T06:35:53.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-03T08:10:47.000Z (5 months ago)
- Last Synced: 2024-08-04T09:19:56.302Z (5 months ago)
- Topics: llama3-rag, streamlit-application
- Language: Python
- Homepage: https://rag-chat-with-docs.streamlit.app/
- Size: 1.17 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat with your documents
Chat anything about the documents that you provided. This is using open source LLM models by Meta: Llama 3
![ChatbotUI](/images/ChatbotUI2.png)
## Install dependencies
Install the required dependencies in the requirements.txt
## Get Groq API Key
Get your groq API Key. [Obtain API KEY here](https://console.groq.com/keys)
Set environment variable GROQ_API_KEY:
```
export GROQ_API_KEY="your_api_key"
```## Upload files to the data directory
Go to the /data directory and upload your documents.
run the populate_database script:
```
python populate_database.py
```## Run the streamlit app
```
streamlit run queryprompt.py
```