ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

fix: Reference markers in the context may be carried over into the next answer

Open leecj opened this issue 1 year ago • 0 comments

The answer in the context carries reference markers and passes them to the large model, which may include the markers in the new answer, leading to abnormal reference points.

 {'role': 'assistant', 'content': '设置在地下或半地下空间 ##0$$。'}

image

What problem does this PR solve?

Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR.

Type of change

  • Bug Fix (non-breaking change which fixes an issue)

leecj avatar Aug 07 '24 11:08 leecj