Skip to content

Chat App Frontend and Backend#3

Open
bharatr21 wants to merge 26 commits intomainfrom
vercel
Open

Chat App Frontend and Backend#3
bharatr21 wants to merge 26 commits intomainfrom
vercel

Conversation

@bharatr21
Copy link
Copy Markdown
Owner

@bharatr21 bharatr21 commented Dec 28, 2025

What does this PR do?

(Provide a description of what this PR does.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)


Note

Builds a full RAG chat backend with robust APIs, retrieval, and testing, plus CI and developer tooling.

  • Implements FastAPI app with api/chat, api/documents, api/sessions, api/models, health, CORS, and Pydantic schemas
  • Adds RAG stack: HybridRetriever (HNSW + BM25 with RRF), RAGPipeline, LLMProvider (OpenAI/Anthropic/Google/HuggingFace), Vercel-compatible streaming
  • Introduces secure file/session storage, metadata management, filename sanitization, and path traversal protections
  • Provides config via .env.example and app/config.py (BYOK keys, ChromaDB, session store, limits)
  • Adds comprehensive tests (API, services, retriever, pipeline, config) and summaries; sets up pyproject.toml
  • Establishes CI workflow (.github/workflows/ci.yml), pre-commit hooks, updated README.md, and .gitignore entries

Written by Cursor Bugbot for commit b690274. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

  • New Features

    • RAG chat with streaming & non‑streaming replies, session management, multi‑provider model selection, and in‑app API key management modal.
  • Frontend

    • Full chat UI, drag‑and‑drop document upload with validation, document selector, model selector, hooks, API client, and reusable UI components.
  • Backend

    • Document CRUD, RAG pipeline & hybrid retriever, chat API with sessions, model discovery, centralized configuration and env examples, file-backed session storage.
  • Documentation

    • Expanded README, environment examples, CI docs, and test coverage summary.
  • Tests

    • Extensive unit, integration, and end‑to‑end suites added.
  • Chores

    • Docker Compose, CI workflow, linters, pre‑commit, and gitignore updates.

✏️ Tip: You can customize this high-level summary in your review settings.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant