A newer version of the Gradio SDK is available: 6.9.0
metadata
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
- Upload a PDF file using the "Upload PDF" button.
- Once the PDF is processed, you can ask questions about the document's content.
- The bot will return answers based on the specific context provided in the PDF.
Running Locally
To run the app locally, follow these steps:
- Clone the repository.
- Install the required dependencies using the
requirements.txtfile:pip install -r requirements.txt