feat(benchmarking): add query pipeline with logging and tracing

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
This commit is contained in:
2026-07-26 12:06:04 +03:30
parent b75fde8185
commit 496a58c62a
5 changed files with 466 additions and 0 deletions

View File

@@ -0,0 +1 @@
"""Benchmarking module: query pipeline and evaluation."""