Skip to content

The agent engineering platform.

preserve language in conversation retrieval (#4969)

Hans van Dama395ff7c90ee
diff --git a/langchain/chains/conversational_retrieval/prompts.py b/langchain/chains/conversational_retrieval/prompts.py
index b2a2df09e3..537f937853 100644
--- a/langchain/chains/conversational_retrieval/prompts.py
+++ b/langchain/chains/conversational_retrieval/prompts.py
@@ -1,7 +1,7 @@
# flake8: noqa
from langchain.prompts.prompt import PromptTemplate
-_template = """Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.
+_template = """Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.
Chat History:
{chat_history}