LexiChat is an AI-powered tool that allows users to interact with PDFs and engage in intelligent conversations using advanced language models. It leverages cutting-edge technologies to extract insights from documents and provide contextual responses.
- Chat with PDFs: Upload a PDF and ask questions to extract key information effortlessly.
- AI-Powered Responses: Uses LLMs to provide accurate and context-aware answers.
- Generic Chat: Engage in open-ended conversations just like ChatGPT.
- Fast & Efficient: Utilizes optimized document processing and retrieval methods.
- Backend: FastAPI
- PDF Processing: LangChain's PyPDFLoader
- Vector Database: ChromaDB
- Embeddings: BERT-based model
- LLM: Langchain(Llama 3.1:8B)
Ensure you have the following installed:
- Python 3.8+
- FastAPI
- LangChain
- ChromaDB
- Ollama
- PyPDFLoader
# Clone the repository
git clone https://github.com/ricky-aufvaa/DocuMind.git
cd LexiChat
# Install dependencies
pip install -r requirements.txt# Start FastAPI backend
uvicorn RAG:app --reload# Start chainlit frontend
chainlit run main.py- Upload a PDF file.
- Ask questions based on the document content.
- Get AI-generated responses based on the document context.
- Use LexiChat like a chatbot for general queries.
A live version of LexiChat is coming soon! Stay tuned. 🚀
For now, you can access the code on GitHub: [https://github.com/ricky-aufvaa/DocuMind.git]
We welcome contributions! Feel free to fork the repo, create a branch, and submit a PR.
For any inquiries, reach out at [sarabjot.singh799@gmail.com].
⚡ Unlock the power of AI-driven document interaction with LexiChat!