Hugging Face Space: Pranjalg22/Contextual_ChatBot
Author: Pranjalg22
SDK: gradio
title: Contextual ChatBot
hf_oauth_scopes: inference-api
short_description: Contextual Chatbot using Python, LangChain, Llama3.2 (3B)
long_description: This project is a Contextual PDF ChatBot built with Python, Ollama, LangChain, and ChromaDB.   It enables users to upload documents (PDFs or images) and interact with them through natural language queries.  
- **Flask** powers the backend APIs for document upload, query handling, and retrieval.   - **MongoDB** stores document metadata and conversation history, ensuring persistent and contextual chat.   - **ChromaDB** manages vector embeddings for efficient semantic search and retrieval.   - **Llama 3.2 (3B)** is used as the language model, running locally via Ollama.  
Together, this system provides an end-to-end RAG (Retrieval-Augmented Generation) pipeline for intelligent,  document-aware conversations.