feature: Add recover stale jobs#17
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughAdds a new RAGPipeline module combining multi-query expansion, cross-encoder reranking, and MMR diversity selection, wires it into QAChain and SearchEngine, revises HyDE and system prompts, and adds corresponding config/env settings. Also adds API robustness: stale ingest job recovery, conditional SSL, ingestion idempotency, and 503 error handling. ChangesRAG Pipeline Overhaul
Estimated code review effort: 4 (Complex) | ~50 minutes API Robustness Fixes
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant QAChain
participant RAGPipeline
participant VectorStore
participant CrossEncoder
QAChain->>RAGPipeline: retrieve(query, top_k, video_id)
RAGPipeline->>RAGPipeline: generate query variants
RAGPipeline->>VectorStore: retrieve per query variant
VectorStore-->>RAGPipeline: candidate chunks
RAGPipeline->>CrossEncoder: rerank candidates
CrossEncoder-->>RAGPipeline: reranked scores
RAGPipeline->>RAGPipeline: MMR diversity selection
RAGPipeline-->>QAChain: top_k SearchResults
Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes