The chart of average interaction counts per conversation show nothing #7300

Closed
opened 2026-02-21 18:19:54 -05:00 by yindo · 1 comment
Owner

Originally created by @leslie2046 on GitHub (Dec 19, 2024).

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.14.1

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

The chart of average conversation interaction for chat type apps is not displayed, but it is displayed for agents
a0afd811d7c4aca40af8ec4471820da

✔️ Expected Behavior

correctly display

Actual Behavior

no data in response from backend

Originally created by @leslie2046 on GitHub (Dec 19, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.14.1 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce The chart of average conversation interaction for chat type apps is not displayed, but it is displayed for agents ![a0afd811d7c4aca40af8ec4471820da](https://github.com/user-attachments/assets/58232896-9ace-4ce9-bfc6-9cb032d0eb38) ### ✔️ Expected Behavior correctly display ### ❌ Actual Behavior no data in response from backend
yindo added the 🐞 bug label 2026-02-21 18:19:54 -05:00
yindo closed this issue 2026-02-21 18:19:54 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 19, 2024):

The issue you're experiencing with the chart of average interaction counts per conversation not displaying data could be related to the API returning an empty data array. One known reason for receiving an empty data array in the JSON response is when using a multimodal model with a File type custom field, which can cause the LLM Node to return an empty array [1].

Additionally, ensure that the API endpoint /apps/<uuid:app_id>/statistics/average-session-interactions is correctly set up and that the SQL query logic is functioning as expected. This endpoint requires proper authentication, and the SQL query filters data based on the app_id and optional start and end date-time parameters [2].

Check if there are any specific conditions or filters applied in your setup that might result in an empty data array. Also, verify that the data exists for the specified time range and app ID. If the issue persists, reviewing the backend logic and any console warnings related to CSS properties or API requests might provide further insights.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot[bot] commented on GitHub (Dec 19, 2024): <!-- Answer --> The issue you're experiencing with the chart of average interaction counts per conversation not displaying data could be related to the API returning an empty data array. One known reason for receiving an empty data array in the JSON response is when using a multimodal model with a File type custom field, which can cause the LLM Node to return an empty array <sup>[[1]](https://github.com/langgenius/dify/issues/11655)</sup>. Additionally, ensure that the API endpoint `/apps/<uuid:app_id>/statistics/average-session-interactions` is correctly set up and that the SQL query logic is functioning as expected. This endpoint requires proper authentication, and the SQL query filters data based on the `app_id` and optional `start` and `end` date-time parameters <sup>[[2]](https://github.com/langgenius/dify/blob/main/api/controllers/console/app/statistic.py)</sup>. Check if there are any specific conditions or filters applied in your setup that might result in an empty data array. Also, verify that the data exists for the specified time range and app ID. If the issue persists, reviewing the backend logic and any console warnings related to CSS properties or API requests might provide further insights. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/2a5a1ed7-cbc0-446e-8c39-f19bd3172dbf?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/2a5a1ed7-cbc0-446e-8c39-f19bd3172dbf?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/2a5a1ed7-cbc0-446e-8c39-f19bd3172dbf?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/2a5a1ed7-cbc0-446e-8c39-f19bd3172dbf?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2a5a1ed7-cbc0-446e-8c39-f19bd3172dbf?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/2a5a1ed7-cbc0-446e-8c39-f19bd3172dbf?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7300