Arag / app /services /rag_pipeline.py

Commit History

Refactor: 10/10 modularity β€” pipeline/ package, admin/routers/ split, guards single source of truth
685ab2e

AuthorBot commited on

Overhaul: Python-first intent (3-tier), hybrid rewriter, improved system prompt, chunk dedup, LRU cache, natural upsell (button-only CTA)
70337a5

AuthorBot commited on

Fix: book readiness check uses chunk_count+chroma_id as real truth; add stuck-book detection + Re-upload button in admin
1c77285

AuthorBot commited on

Fix: replace Celery dispatch with asyncio.create_task for ingestion - books now properly marked ready + chatbot responds correctly
9eb7e65

AuthorBot commited on

Unify token tracking, smart links, and personality settings across admin and chat.
a825fee

AuthorBot Cursor commited on

Harden chatbot against jailbreaks, prompt injection, piracy requests, and response leaks.
ba51f8f

AuthorBot Cursor commited on

Enforce brief sales-focused chatbot rules with spoiler guard and buy CTAs.
701aaf2

AuthorBot Cursor commited on

Restructure chat flow: hello shows clickable book list, then engaging Q&A.
0daa940

AuthorBot Cursor commited on

Humanize bot responses for greetings, catalog questions, and empty RAG retrieval.
2bb94f4

AuthorBot Cursor commited on

Phase 1.3+3.2: Integrate Custom Q&A into RAG pipeline (Jaccard similarity), add message feedback (πŸ‘πŸ‘Ž) and session rating endpoints for widget
d95db15

AuthorBot commited on

Restructure project for HF Spaces deployment
772f852

AuthorBot commited on