legco_ai_assistant/backend/app
Woody 76c3bec2ab feat: configurable SubQuestions via Step 1.2 system prompt page
- Split 'Step 1: Query Decomposition' into Step 1.1 (prompt template) and Step 1.2 (format config with description + max_length)

- Add create_subquestions_model() and parse_decompose_format() to decompose.py

- QueryDecomposer reads decompose_format from DB, creates dynamic Pydantic model at runtime

- PromptEditor renders Step 1.2 as textarea (description) + number input (max_length 1-5)

- Graceful fallback to static SubQuestions when decompose_format unavailable
2026-05-04 17:22:14 +08:00
..
core feat: configurable SubQuestions via Step 1.2 system prompt page 2026-05-04 17:22:14 +08:00
models feat: configurable SubQuestions via Step 1.2 system prompt page 2026-05-04 17:22:14 +08:00
routers feat: configurable SubQuestions via Step 1.2 system prompt page 2026-05-04 17:22:14 +08:00
services feat: configurable SubQuestions via Step 1.2 system prompt page 2026-05-04 17:22:14 +08:00
test feat: inject Pydantic JSON schema into Deepseek prompt (Phase 6) 2026-05-04 15:17:24 +08:00
utils feat: add sentence splitter and highlight data models (Phase 5.4.1-5.4.2) 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
main.py feat: add highlight batch and GET endpoints (Phase 5.4.5) 2026-04-29 09:26:50 +08:00