Weaken asking follow-up qs and q&a mode in notes prompt to OpenAI models

- Notes prompt doesn't need to be so tuned to question answering. User
could just want to talk about life. The notes need to be used to
response to those, not necessarily only retrieve answers from notes

- System and notes prompts were forcing asking follow-up questions a
  little too much. Reduce strength of follow-up question asking
This commit is contained in:
Debanjum Singh Solanky
2023-11-10 22:45:00 -08:00
parent cba371678d
commit c4364b9100
2 changed files with 5 additions and 5 deletions

View File

@@ -308,6 +308,7 @@ def test_ask_for_clarification_if_not_enough_context_in_question(chat_client_no_
"which of namita's sons",
"the birth order",
"provide more context",
"provide me with more context",
]
assert response.status_code == 200
assert any([expected_response in response_message.lower() for expected_response in expected_responses]), (