legco_ai_assistant/backend/app/models
Woody b11d31e2d1 feat: add sentence splitter and highlight data models (Phase 5.4.1-5.4.2)
- sentence_splitter.py: regex-based sentence splitting for English + Chinese punctuation
- highlight.py: 6 Pydantic models (ChunkHighlightTarget, HighlightBatchRequest,
  RelevantSentence, ChunkHighlights, HighlightBatchResult, HighlightBatchResponse)
- 43 tests: 13 sentence splitter + 30 model validation
2026-04-29 09:26:06 +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: structured LLM output for decompose + citation fuzzy matching (Phase 5) 2026-04-28 15:39:17 +08:00
decompose.py feat: structured LLM output for decompose + citation fuzzy matching (Phase 5) 2026-04-28 15:39:17 +08:00
documents.py feat(backend): add documents CRUD service methods and Pydantic schemas 2026-04-23 19:02:07 +08:00
highlight.py feat: add sentence splitter and highlight data models (Phase 5.4.1-5.4.2) 2026-04-29 09:26:06 +08:00
history.py feat(models): add SubQuestionSources model and per-sub-q history fields 2026-04-26 23:28:19 +08:00
ingest.py refactor(backend): update Pydantic models for ingestion and query 2026-04-23 13:26:20 +08:00
prompts.py feat(prompts): add JSON export/import for profile prompt configurations 2026-04-27 19:44:35 +08:00
query.py feat(models): add SubQuestionSources model and per-sub-q history fields 2026-04-26 23:28:19 +08:00