mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 07:09:31 +00:00
fix conversational retrieval docs (#7245)
This commit is contained in:
parent
035ad33a5b
commit
c36f852846
@ -240,8 +240,8 @@ class ConversationalRetrievalChain(BaseConversationalRetrievalChain):
|
||||
# Should take `chat_history` and `question` as input variables.
|
||||
template = (
|
||||
"Combine the chat history and follow up question into "
|
||||
"a standalone question.\n\nChat History: {chat_history}"
|
||||
"\n\n{question}"
|
||||
"a standalone question. Chat History: {chat_history}"
|
||||
"Follow up question: {question}"
|
||||
)
|
||||
prompt = PromptTemplate.from_template(template)
|
||||
llm = OpenAI()
|
||||
|
Loading…
Reference in New Issue
Block a user