langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
45.48k stars 6.39k forks source link

chart display support when use code interpreter to run python code to plot data #5270

Open yc3231996 opened 3 months ago

yc3231996 commented 3 months ago

Self Checks

1. Is this request related to a challenge you're experiencing?

I am trying to build a data analysis agent, which is capable of visualize data. Currently I can only use build-in chart tools, which is too simple.

2. Describe the feature you'd like to see

I'd like to leverage python and code interpreter to achieve comprehensive data visualization. Similar like current ChatGTP, which can display the chart images created by Matplotlib. ChatGPT can even support responsive chart instead of static image.

In Dify, I will meet the exception says " no module named Matplotlib ". image

3. How will this feature improve your workflow or experience?

With python and code interpreter support, the data visualization step can be much more flexible and powerful. First, can support more types of charts, witch flexible configuration. Secondly, we can use the LLM coding capability to manipulate the visualization in an interactive way.

4. Additional context or comments

I think this request of enhancement is common in data analysis scenarios. The basic feature is just to support displaying the chart images in conversation front-end, the static images created by Matplotlib. Further, if can support interactive charts, similar like ChatGPT, that will be great.

5. Can you help us with this feature?

ghost commented 3 months ago

Able to see and meet customers I could host in my home or out side know when to meet

Can I show images and what kind how do I put availability etc ChatGPT yes

ghost commented 3 months ago

Options and timlikts faster workflow

yc3231996 commented 2 months ago

anyone pay attention to this?

yc3231996 commented 2 months ago

Options and timlikts faster workflow

what?

garyfeng commented 1 month ago

any updates?

crazywoola commented 1 week ago

Can you try https://github.com/langgenius/dify/pull/6961 this one?