glam/frontend/src
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
..
api enrich person profiles 2025-12-12 12:51:10 +01:00
assets Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls. 2025-11-22 15:35:35 +01:00
components feat(rag): add factual query fast path - skip LLM for count/list queries 2026-01-08 13:34:23 +01:00
contexts Enhance specificity scoring system integration with existing infrastructure 2026-01-05 17:37:49 +01:00
hooks Add new slots for heritage custodian entities 2026-01-05 00:49:05 +01:00
lib Add comprehensive slot visualization to LinkML viewer 2026-01-07 22:03:08 +01:00
pages Add comprehensive slot visualization to LinkML viewer 2026-01-07 22:03:08 +01:00
styles enrich entries 2025-12-01 16:06:34 +01:00
types enrich person custodian 2025-12-14 17:09:55 +01:00
utils remove a,bihguous web-claims 2025-12-21 00:01:54 +01:00
App.css add pids 2025-12-01 23:55:55 +01:00
App.tsx add sparql validator and RAG injector 2025-12-30 03:43:31 +01:00
index.css Add scripts for converting OWL/Turtle ontology to Mermaid and PlantUML diagrams 2025-11-22 23:01:13 +01:00
main.tsx feat(frontend): Add multi-select filters, URL params, and UI improvements 2025-12-15 01:47:11 +01:00
vite-env.d.ts feat: Add legal form filtering rule for CustodianName 2025-12-09 16:58:41 +01:00