ai-chatbot / README.md
deploy-bot
deploy: backend for appQQQ/ai-chatbot
35983fa
|
Raw
History Blame Contribute Delete
968 Bytes
metadata
title: AI Chatbot
emoji: πŸ€–
colorFrom: blue
colorTo: purple
sdk: docker
pinned: true
license: mit
short_description: Agentic multimodal RAG customer service (private)

AI Chatbot Backend

Agentic multimodal RAG customer service backend.

  • FastAPI + LangGraph (StateGraph)
  • Docling (PDF/Word/Image) + BGE-M3 + ChromaDB
  • MiniMax-M3 (default) / switchable to OpenAI / Anthropic / Qwen
  • Persistent via HF Dataset repo (free tier disk is ephemeral)

Endpoints

  • GET /api/v1/healthz β€” liveness
  • GET /api/v1/readyz β€” readiness (Chroma + LLM reachable)
  • POST /api/v1/chat β€” non-streaming chat
  • POST /api/v1/chat/stream β€” SSE stream (astream_events v2)
  • POST /api/v1/documents/upload β€” upload + ingest
  • GET /api/v1/documents β€” list
  • DELETE /api/v1/documents/{id} β€” remove
  • GET /api/v1/sessions β€” list sessions
  • DELETE /api/v1/sessions/{id} β€” clear session

See PLAN.md for full design.