mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 09:32:22 +03:00
feat(question): now not rephrasing question when passed to answering llm (#1202)
This commit is contained in:
parent
1ec736b357
commit
463e5d92e7
@ -156,6 +156,7 @@ class QABaseBrainPicking(BaseBrainPicking):
|
|||||||
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
|
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
|
||||||
),
|
),
|
||||||
verbose=False,
|
verbose=False,
|
||||||
|
rephrase_question=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
prompt_content = (
|
prompt_content = (
|
||||||
@ -230,6 +231,7 @@ class QABaseBrainPicking(BaseBrainPicking):
|
|||||||
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
|
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
|
||||||
),
|
),
|
||||||
verbose=False,
|
verbose=False,
|
||||||
|
rephrase_question=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
transformed_history = format_chat_history(history)
|
transformed_history = format_chat_history(history)
|
||||||
|
Loading…
Reference in New Issue
Block a user