Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The information entered by the message feedback API is not provided in the query field of the historical message list #15642

Closed
5 tasks done
freeworker1 opened this issue Mar 12, 2025 · 2 comments
Labels
🌚 invalid This doesn't seem right

Comments

@freeworker1
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The API response data for the historical message list does not have a content field for the feedback object

✔️ Expected Behavior

No response

❌ Actual Behavior

The API response data for the historical message list have a content field for the feedback object

@freeworker1 freeworker1 changed the title 文件 图片 38/1000 实时翻译 划译 The information entered by the message feedback API is not provided in the query field of the historical message list The information entered by the message feedback API is not provided in the query field of the historical message list Mar 12, 2025
@dosubot dosubot bot added the 🐞 bug Something isn't working label Mar 12, 2025
Copy link

dosubot bot commented Mar 12, 2025

Hey @freeworker1! 👋 I'm here to help you with any bugs, questions, or contributions you have for Dify. I'm a bot designed to assist you while you wait for a human maintainer. Let's tackle this together!

In Dify version 0.15.3, the feedback object in the historical message list API response should indeed include a content field, which is optional and can contain additional feedback text. The expected structure for the feedback object is:

"feedback": {
    "rating": "like", // or "dislike"
    "content": "optional feedback content"
}

If the content field is missing in your API response, it might be due to a bug or an issue with how the feedback is being populated. Ensure that the feedback is correctly associated with the message through the message_id and that the MessageFeedbackApi class is properly handling the creation of feedback entries [1][2].

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

@crazywoola crazywoola added the good first issue Good first issue for newcomers label Mar 12, 2025
@crazywoola
Copy link
Member

Which endpoint are you referring to?

@crazywoola crazywoola added 🌚 invalid This doesn't seem right and removed 🐞 bug Something isn't working good first issue Good first issue for newcomers labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌚 invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants