Why:
- Need query pipeline to ask questions against chunked documents
- Need comprehensive logging for debugging
Changes:
- Query service: embed question → vector search → LLM answer
- Query routes: POST /queries, GET /queries/{id}
- Query models: QueryRequest, QueryResponse, RetrievedChunk
- Added QueryError exception class
- Added STEP 1-6 logging for full traceability
2 lines
58 B
Python
2 lines
58 B
Python
"""Benchmarking module: query pipeline and evaluation."""
|