Initial import NDC_1C

This commit is contained in:
2026-03-26 10:38:25 +03:00
commit a162d77ef7
2943 changed files with 3615871 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Prompt System
Промпты лежат в корне проекта в каталоге `prompts/`.
## Supported Versions
- `normalizer_v1`
- `normalizer_v1_1`
- `normalizer_v1_1_1`
- `normalizer_v1_1_2`
- `normalizer_v1_1_2_1`
- `normalizer_v2`
- `normalizer_v2_0_1`
- `normalizer_v2_0_2`
## Main Files
- `prompts/system/default.txt`
- `prompts/domain/normalizer_domain_v1_1.txt`
- `prompts/developer/normalizer_v2_0_2.txt`
- `prompts/fewshot/normalizer_v2_0_2.txt`
## v2.0.2 Notes
- Целевая схема: `normalized_query_v2_0_2`.
- Требует fragment-level поля:
- `execution_readiness`
- `route_status`
- `no_route_reason`
- Добавляет дисциплину: routable in-scope fragments не должны оставаться в `no_route`.
## Prompt Manager
`backend/src/services/promptBuilder.ts`:
- Загружает builtin presets для всех версий, включая `normalizer_v2_0_2`.
- Подставляет version-specific `developer/domain/fewshot`.
- По умолчанию использует `DEFAULT_PROMPT_VERSION` из backend config.