Skip to content

Commit

Permalink
feat(question): now not rephrasing question when passed to answering …
Browse files Browse the repository at this point in the history
…llm (#1202)
  • Loading branch information
StanGirard authored Sep 19, 2023
1 parent 1ec736b commit 463e5d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/llm/qa_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def generate_answer(
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
),
verbose=False,
rephrase_question=False,
)

prompt_content = (
Expand Down Expand Up @@ -230,6 +231,7 @@ async def generate_stream(
llm=self._create_llm(model=self.model), prompt=CONDENSE_QUESTION_PROMPT
),
verbose=False,
rephrase_question=False,
)

transformed_history = format_chat_history(history)
Expand Down

0 comments on commit 463e5d9

Please sign in to comment.