glam/frontend/src/components/query
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
..
ConversationPanel.css feat(rag): add factual query fast path - skip LLM for count/list queries 2026-01-08 13:34:23 +01:00
ConversationPanel.tsx feat(rag): add factual query fast path - skip LLM for count/list queries 2026-01-08 13:34:23 +01:00
DebugPanel.css Fix LinkML URI conflicts and generate RDF outputs 2026-01-07 12:32:59 +01:00
DebugPanel.tsx Enhance specificity scoring system integration with existing infrastructure 2026-01-05 17:37:49 +01:00
OntologyVisualizer.css Add scripts for converting OWL/Turtle ontology to Mermaid and PlantUML diagrams 2025-11-22 23:01:13 +01:00
OntologyVisualizer.tsx feat: Add legal form filtering rule for CustodianName 2025-12-09 16:58:41 +01:00
QueryBuilder.css remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
QueryBuilder.tsx remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
QueryEditor.css add new entries 2025-12-07 23:08:02 +01:00
QueryEditor.tsx Add scripts for converting OWL/Turtle ontology to Mermaid and PlantUML diagrams 2025-11-22 23:01:13 +01:00
ResultsTable.css add new entries 2025-12-07 23:08:02 +01:00
ResultsTable.tsx Add scripts for converting OWL/Turtle ontology to Mermaid and PlantUML diagrams 2025-11-22 23:01:13 +01:00