feat(question): now not rephrasing question when passed to answering llm (#1202)

This commit is contained in:
Stan Girard 2023-09-19 12:11:03 +02:00 committed by GitHub
parent 1ec736b357
commit 463e5d92e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,7 @@ class QABaseBrainPicking(BaseBrainPicking):
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
),
verbose=False,
rephrase_question=False,
)
prompt_content = (
@ -230,6 +231,7 @@ class QABaseBrainPicking(BaseBrainPicking):
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
),
verbose=False,
rephrase_question=False,
)
transformed_history = format_chat_history(history)