Deepseek AI Bot

Overview
Deepseek AI Bot enables users to have conversational interactions with documents. By uploading a PDF, users can ask questions in natural language; the bot uses semantic search and LLMs to answer with citations.
Features
- Semantic Search: Quickly finds relevant sections in a document.
- Chat Interface: Ask follow-up questions naturally.
- Source Citations: Provides references to where answers were found in the document.
- Multi-Document Support: Can handle multiple PDF uploads.
Tech Stack
- Backend: FastAPI (Python)
- AI: LangChain with OpenAI or other LLMs for embeddings and generation
- Frontend: React.js (TypeScript)
- Database: SQLite or similar (for session state)
- Security: OAuth2 or API key management for OpenAI
Usage
- Clone:
git clone https://github.com/sahaib/Deepseek-AI-Bot.git. - Install Python requirements:
pip install -r requirements.txt. - Add your
OPENAI_API_KEYin.env. - Run backend (
uvicorn main:app) and frontend (npm run dev). - Interact by uploading a document and asking questions.