Skip to content

feat(seed): LLM dialog generator for scalable testing (#135) [отложено до лета 2026]#178

Draft
dapi wants to merge 3 commits intomasterfrom
feature/135-llm-dialog-generator
Draft

feat(seed): LLM dialog generator for scalable testing (#135) [отложено до лета 2026]#178
dapi wants to merge 3 commits intomasterfrom
feature/135-llm-dialog-generator

Conversation

@dapi
Copy link
Owner

@dapi dapi commented Jan 3, 2026

Summary

  • LLM-генератор диалогов для масштабного тестирования
  • 16 новых профилей клиентов
  • Генерация 100 demo диалогов для всех профилей

Closes #135

Test plan

  • Запустить генератор диалогов
  • Проверить качество сгенерированных диалогов

🤖 Generated with Claude Code

dapi and others added 3 commits December 28, 2025 21:12
Add script bin/generate_demo_dialogs that generates realistic dialogs
by simulating conversation between two LLM models - one acting as
a client (with behavior profile) and one as the auto service assistant.

Features:
- 4 client profiles: active_client, one_time_client, just_asking, urgent_client
- Weighted distribution matching real customer segments
- --dry-run mode for cost/time estimation
- --profile flag to generate specific client type
- YAML output with validation
- Configurable LLM model (default: gpt-4o-mini)

Closes #135

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Expand client profile library from 4 to 20 profiles:

By character:
- suspicious_client (40% booking, недоверчивый)
- budget_client (30% booking, экономный)
- vip_client (95% booking, VIP)
- perfectionist_client (65% booking, перфекционист)

By expertise:
- tech_savvy_client (70% booking, технически грамотный)
- newbie_driver (75% booking, новичок-водитель)

By age/style:
- elderly_client (60% booking, пожилой)
- young_driver (55% booking, молодой)
- busy_businessman (80% booking, занятой бизнесмен)
- emotional_female_client (70% booking, эмоциональная клиентка)

By situation:
- referred_client (85% booking, по рекомендации)
- disappointed_client (55% booking, разочарован другим сервисом)
- insurance_client (90% booking, страховой случай)
- pre_sale_client (70% booking, готовит к продаже)
- post_purchase_client (95% booking, купил б/у авто)
- corporate_client (80% booking, корпоративный)

Updated PROFILES hash in script with weighted distribution.
Updated README with all 20 profiles organized by category.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Generated 5 dialogs per profile using DeepSeek LLM:
- Total: 100 dialogs, 1746 messages, ~1.2 MB
- Profiles covered: all 20 client profiles

Message distribution by profile:
- active_client: 148 msgs (longest dialogs)
- elderly_client: 118 msgs
- suspicious_client: 110 msgs
- young_driver: 48 msgs (shortest dialogs)

Also updated script to use ApplicationConfig.llm_model as default
instead of hardcoded gpt-4o-mini.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dapi dapi changed the title feat(seed): LLM dialog generator for scalable testing (#135) feat(seed): LLM dialog generator for scalable testing (#135) [отложено до лета 2026] Jan 3, 2026
@dapi dapi marked this pull request as draft January 3, 2026 17:52
@dapi
Copy link
Owner Author

dapi commented Jan 3, 2026

⏸️ Отложено до лета 2026

Функционал LLM-генератора диалогов не является приоритетным на текущем этапе. Возвращаемся к нему после завершения основных фич Manager Takeover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(seed): LLM-генератор диалогов для масштабного тестирования

1 participant