Add quick reply, skill definition, and tag seeds for multilingual support

- Implemented QuickReplySeed structure and seeds for both English and Chinese languages.
- Created SkillDefinitionSeed structure with detailed instructions and examples for the "After-sales Escalation" skill in both languages.
- Added TagSeed structure and corresponding seeds for categorizing inquiries in English and Chinese.
- Refactored skill and tag initialization to utilize the new seed structures, ensuring proper data handling and multilingual support.
- Updated tests to verify that English seeds do not contain Chinese text, ensuring data integrity.
This commit is contained in:
mlogclub
2026-06-01 12:15:41 +08:00
parent b743639731
commit 031855935d
22 changed files with 683 additions and 707 deletions
+7
View File
@@ -0,0 +1,7 @@
# Testdata Seeds
This package is the single maintenance point for built-in testdata content.
- Put language-specific demo text and seed metadata here.
- Keep database writes, transactions, repository calls, and model audit fields in the resource init packages.
- Add new languages through `seedlang.Language` and the `*Seeds(lang)` functions.