File size: 1,175 Bytes
d0739ca
 
 
 
 
 
4e9d2b9
d0739ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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