Deepseek AI Bot

Python FastAPI React.js LangChain OpenAI API

Deepseek AI Bot

Screenshot of 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

  1. Clone: git clone https://github.com/sahaib/Deepseek-AI-Bot.git.
  2. Install Python requirements: pip install -r requirements.txt.
  3. Add your OPENAI_API_KEY in .env.
  4. Run backend (uvicorn main:app) and frontend (npm run dev).
  5. Interact by uploading a document and asking questions.