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:
Vendored
+7
@@ -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.
|
||||
Reference in New Issue
Block a user