FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
31.52k stars 16.42k forks source link

[FEATURE] Create multi-lingual bots #596

Closed jan-koch closed 1 year ago

jan-koch commented 1 year ago

Describe the feature you'd like I'd like the option to set the starting language for a chat conversation.

Additional context I'm working with German-speaking businesses only and they'd expect a chat bot to start the conversation in German. Is this possible already? Maybe I'm just missing a simple option.

chungyau97 commented 1 year ago

You are able to set the starting welcome message in German. image

In terms of replying customer based on their language used or German, you need to play around with system message Conversational Retrieval QA Chain>Additional Parameters > System Message image

I want you to act as a document that I am having a conversation with. Your name is "AI Bot". You will provide me with answers from the given info. Only reply me in Chinese. If the answer is not included, say exactly "我不知道" and stop after that. Refuse to answer any question not about the info. Never break character.
jan-koch commented 1 year ago

Thanks so much @chungyau97 !

jan-koch commented 1 year ago

This fixed it for me :)