update language.

This commit is contained in:
Haiping Chen 2024-04-23 15:30:38 -05:00
parent 15c5dd132e
commit e93fa66bcc
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 [""].