You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're experiencing with garbled characters like "##1$$" in the response might be related to how the RAGFlow codebase handles the cleaning and formatting of API responses. The RAGFlow codebase includes a function called clean_str that is used to sanitize input strings by removing unwanted characters, including control characters and HTML escapes [1].
To address this issue, you can ensure that the clean_str function is being applied to the responses you receive from the OpenAI API. This function should help in removing any unwanted characters that might be causing the garbled output. If the issue persists, you might want to check if there are any specific configurations or parameters affecting the response format, such as those related to the prompt or similarity thresholds [2][3].
Activity
dosubot commentedon Apr 6, 2025
你好 @The-South-Girl!我是一个可以帮助你解决bug、回答问题并成为贡献者的机器人。虽然你在等待人类维护者的回复,我会尽力帮助你!
The issue you're experiencing with garbled characters like "##1$$" in the response might be related to how the RAGFlow codebase handles the cleaning and formatting of API responses. The RAGFlow codebase includes a function called
clean_strthat is used to sanitize input strings by removing unwanted characters, including control characters and HTML escapes [1].To address this issue, you can ensure that the
clean_strfunction is being applied to the responses you receive from the OpenAI API. This function should help in removing any unwanted characters that might be causing the garbled output. If the issue persists, you might want to check if there are any specific configurations or parameters affecting the response format, such as those related to the prompt or similarity thresholds [2][3].To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other