NeMo-Guardrails icon indicating copy to clipboard operation
NeMo-Guardrails copied to clipboard

Bad responses on a longer conversation

Open guanjiahui opened this issue 1 year ago • 3 comments

@makeshn @trebedea Screenshot 2024-03-19 at 4 07 46 PM Screenshot 2024-03-19 at 4 07 26 PM

The config file: instructions:

  • type: general content: | Below is a conversation between a bot and a user where the user asks the bot questions about a patients health and the bot answers the questions based on documents the bot has access to. The user can ask as many questions to the bot. Any question that does not pertain to the data the bot has access to should not be answered.

sample_conversation: | user "Hello" express greeting bot express greeting "Hello" user "What does the patient present with?" ask question bot answer question with sources "Patient presents with Paracentesis" user "Summarize past patient problems" ask question bot answer question with sources "The patient has a history of Paracentesis, with cirrhosis and ascites"

models:

  • type: main engine: openai model: gpt-3.5-turbo-instruct
  • type: embeddings engine: openai model: text-embedding-ada-002

guanjiahui avatar Mar 19 '24 23:03 guanjiahui

@guanjiahui: what's the exact issue?

drazvan avatar Mar 20 '24 21:03 drazvan

Hi @drazvan, I shared this issue during DLI with @makeshn. Basically, we got bad answers after two questions. The answer includes contents that are related the the previous two questions. See highlights in the pic

NeMo Issues

guanjiahui avatar Mar 26 '24 14:03 guanjiahui

Hi @guanjiahui, are you still facing this issue? If yes, please let us know which version of nemoguardrails you are using. Thanks!

Pouyanpi avatar Nov 01 '24 07:11 Pouyanpi