legco_ai_assistant/backend/app/models
Woody d49756f374 feat: add chunk PDF serving endpoint and frontend clickable source links (1.5.6)
- Add page_number and chunk_file_path to SourceMetadata model and query router
- Add GET /chunks/{file_path}/pdf endpoint with path traversal protection
- Add View PDF links in ResponsePanel source cards and ChunkList component
- Update TypeScript types and API helper for chunk PDF URLs
- Add backend tests (5) and frontend ChunkList tests (7)
- Update enhancement plan: all 3 features complete
2026-04-24 11:49:39 +08:00
..
__init__.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
common.py feat: add chunk PDF serving endpoint and frontend clickable source links (1.5.6) 2026-04-24 11:49:39 +08:00
documents.py feat(backend): add documents CRUD service methods and Pydantic schemas 2026-04-23 19:02:07 +08:00
ingest.py refactor(backend): update Pydantic models for ingestion and query 2026-04-23 13:26:20 +08:00
query.py refactor(backend): update Pydantic models for ingestion and query 2026-04-23 13:26:20 +08:00