infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
22.53k stars 2.21k forks source link

[Bug]: Multi-round dialogue bug #2999

Open peizimo opened 2 weeks ago

peizimo commented 2 weeks ago

Is there an existing issue for the same bug?

Branch name

Agent Multi-round dialogue

Commit ID

peizimo

Other environment information

No response

Actual behavior

In RAGFlow's Agent‘s multi-round dialogue process, there are:

  1. RAGFlow responds to one or more historical questions, but does not respond to users' current questions
  2. RAGFlow responds to one or more historical questions and current user questions
  3. RAGFlow replies to all historical questions The reply bug for the same historical problem is repeated, and the reply content is similar, but different RAGFlow's user problem history and the user history of API calls interfere

Expected behavior

No response

Steps to reproduce

High probability occurs when the Agent is used:
1. retrieval content but the model does not use retrieval content
2. User problems are difficult to identify
3. Repeat the same question multiple times
4. Language switch
5. The user problem is more complex
look forward to your reply

Additional information

No response

KevinHuSh commented 2 weeks ago

What's the version of ragflow did you use? And could you paste your diagram and the conversation?

peizimo commented 2 weeks ago

What's the version of ragflow did you use? And could you paste your diagram and the conversation?

This screenshot is a question I had when testing on RAGFlow image Here's another screenshot of me calling ragflow where I asked a different question but answered the question I asked on RAGFlow image This phenomenon can also occur in the same RAGFlow dialog id, or in the same dialog id of the calling tool. For now, I'm going to test whether there is interference between the different dialog ids of the calling tool. look forward to your reply ! thanks !

peizimo commented 2 weeks ago

What's the version of ragflow did you use? And could you paste your diagram and the conversation?

use the dev version

fyxkszz commented 1 week ago

I encountered the same problem

KevinHuSh commented 1 week ago

Could you paste me the diagram/canvas please.