You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
When we try to build chatbot for multilingual, the barrier of this is always prompt. We have to write prompt to each languages that we want to deal with.
This MultilingualPromptTemplate will detect user's question language automatically, and make prompt for that language.
You can set support languages and its prompts.
Plus, if you don't have language configure for new one, DeepL or other translator can translate prompt and pass it to LLM.
Auto-detect user's input language
Set prompt for user's language
If pre-config is not existed, translate prompt for their language (optional feature)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When we try to build chatbot for multilingual, the barrier of this is always prompt. We have to write prompt to each languages that we want to deal with.
This MultilingualPromptTemplate will detect user's question language automatically, and make prompt for that language.
You can set support languages and its prompts.
Plus, if you don't have language configure for new one, DeepL or other translator can translate prompt and pass it to LLM.
The text was updated successfully, but these errors were encountered: