Retrieval of response from open-ai llm based on language of question. #28703
Unanswered
rupeshKumarAmt
asked this question in
Q&A
Replies: 1 comment
-
@rupeshKumarAmt try adding the instruction in the prompt. I had a similar issue it worked fine after modify the prompt |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked other resources
Commit to Help
Example Code
Description
We are trying to do a RAG on a trained data which consist of Arabic and English contents.
We require the resposne from the llm based on the language the user has asked the question but the response is comming as English.
How to tackle the same.
used model is gpt3.5-turbo
System Info
langchain==0.0.346
langchain-core==0.0.10
langchainhub==0.1.14
langsmith==0.0.69
Beta Was this translation helpful? Give feedback.
All reactions