fix conversational retrieval docs (#7245)

pull/7257/head
Harrison Chase 1 year ago committed by GitHub
parent 035ad33a5b
commit c36f852846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save