| --- |
| title: ACReSAL AI - GROQ LLAMA-3 RAG AI Bot |
| emoji: 🤖 |
| colorFrom: green |
| colorTo: blue |
| sdk: gradio |
| sdk_version: 4.44.1 |
| app_file: app.py |
| pinned: false |
| --- |
| |
| ## GROQ and LLAMA-3 Custom RAG Bot |
|
|
| This application is a Retrieval-Augmented Generation (RAG) system built with a custom LLM (LLAMA-3) from GROQ. The app allows users to upload a PDF file, process it, and ask questions about the content. The system uses LangChain and Chroma for document retrieval and embedding, and Gradio for the user interface. |
|
|
| ### Features |
| - Upload PDF documents |
| - Process and split documents into chunks using LangChain |
| - Use HuggingFace embeddings and Chroma for document search |
| - Ask questions and receive concise answers based on the content of the PDF |
|
|
| ### Usage |
| 1. Upload a PDF file using the "Upload PDF" button. |
| 2. Once the PDF is processed, you can ask questions about the document's content. |
| 3. The bot will return answers based on the specific context provided in the PDF. |
|
|
| ### Running Locally |
|
|
| To run the app locally, follow these steps: |
|
|
| 1. Clone the repository. |
| 2. Install the required dependencies using the `requirements.txt` file: |
| ```bash |
| pip install -r requirements.txt |