glam/backend
kempersc 0b0ea75070 feat(rag): add factual query fast path - skip LLM for count/list queries
- Add ontology cache warming at startup in lifespan() function
- Add is_factual_query() detection in template_sparql.py (12 templates)
- Add factual_result and sparql_query fields to DSPyQueryResponse
- Skip LLM generation for factual templates (count, list, compare)
- Execute SPARQL directly and return results as table (~15s → ~2s latency)
- Update ConversationPanel.tsx to render factual results table
- Add CSS styling for factual results with green theme

For queries like 'hoeveel archieven zijn er in Den Haag', the SPARQL
results ARE the answer - no need for expensive LLM prose generation.
2026-01-08 13:34:23 +01:00
..
ducklake feat: add web archives integration and improve enrichment scripts 2025-12-07 17:49:07 +01:00
postgres remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
rag feat(rag): add factual query fast path - skip LLM for count/list queries 2026-01-08 13:34:23 +01:00
sync enrich all custodian timespan 2025-12-15 22:31:41 +01:00
typedb enrich all custodian timespan 2025-12-15 22:31:41 +01:00
valkey update postgis data 2025-12-10 23:51:51 +01:00