Touchup for Multilingual Users (#1725)

This commit is contained in:
Yuhong Sun
2024-06-26 22:44:06 -07:00
committed by GitHub
parent 062dc98719
commit 8be42a5f98
14 changed files with 42 additions and 18 deletions

View File

@@ -6,6 +6,9 @@
# Rephrase the user query in specified languages using LLM, use comma separated values
MULTILINGUAL_QUERY_EXPANSION="English, French"
# Change the below to suit your specific needs, can be more explicit about the language of the response
LANGUAGE_HINT="IMPORTANT: Respond in the same language as my query!"
LANGUAGE_CHAT_NAMING_HINT="The name of the conversation must be in the same language as the user query."
# A recent MIT license multilingual model: https://huggingface.co/intfloat/multilingual-e5-small
DOCUMENT_ENCODER_MODEL="intfloat/multilingual-e5-small"