Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow Generator Multi Language Support

Hello,
I'm working on an agent that supports multiple languages and includes generators.
What is considered the best practice for supporting different languages in generators? I’m considering two approaches:
  • The first involves creating prompts in English and then specifying the desired language for the response by including a line such as "Answer in [LANGUAGE PARAM]." in the prompt.
  • The second approach is about translating the prompts into the supported languages.
Which one is better?
0 1 738
1 REPLY 1