legco_ai_assistant/backend/app
Woody e78b670baa feat(backend): use [filename, page N] citation labels in RAG context (sub-phase 2.6)
Replace numeric [1] labels with [filename, page N] format in context chunks.
Update LLM prompt to instruct inline citation using bracket labels.
Enables traceable source references in generated answers.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-24 17:52:54 +08:00
..
core feat(backend): add PDF page extractor and chunk PDF storage config 2026-04-24 10:52:57 +08:00
models feat(backend): rename keywords to extracted_questions in query pipeline (sub-phase 2.3) 2026-04-24 16:23:53 +08:00
routers feat(backend): rename keywords to extracted_questions in query pipeline (sub-phase 2.3) 2026-04-24 16:23:53 +08:00
services feat(backend): use [filename, page N] citation labels in RAG context (sub-phase 2.6) 2026-04-24 17:52:54 +08:00
test test(backend): update query tests for sub-question generation (sub-phase 2.3) 2026-04-24 16:24:10 +08:00
utils feat(backend): add PDF page extractor and chunk PDF storage config 2026-04-24 10:52:57 +08:00
__init__.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
main.py feat(backend): add documents CRUD endpoints and tests 2026-04-23 19:02:28 +08:00