Merge pull request #424 from hchen2020/master

update language.
This commit is contained in:
C. Oceania 2024-04-23 15:33:58 -05:00 committed by GitHub
commit 4f5df7f857
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -23,7 +23,7 @@ public class ResponseToUserRoutingHandler : RoutingHandlerBase, IRoutingHandler
new ParameterPropertyDef("user_message_in_english",
"Translate user message from non-English to English"),
new ParameterPropertyDef("language",
"Language name detected based on user last message, the name may be English, Spanish or Chinese.",
"Language detected based on the latest message that USER sent, could be English, Spanish or Chinese.",
required: true),
};

View file

@ -32,7 +32,7 @@ public class RouteToAgentRoutingHandler : RoutingHandlerBase, IRoutingHandler
new ParameterPropertyDef("user_message_in_english",
"Translate user message from non-English to English"),
new ParameterPropertyDef("language",
"Language name detected based on user last message, the name may be English, Spanish or Chinese.",
"Language detected based on the latest message that USER sent, could be English, Spanish or Chinese.",
required: true),
};

View file

@ -1,5 +1,4 @@
{{ text_list }}
=====
Translate the sentences in the list into {{ language }}, output the translated text list.
Translate the sentences in the list into {{ language }}, only output the translated text in string list [""].