-
Notifications
You must be signed in to change notification settings - Fork 12k
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 echarts tool cannot generate the corresponding chart, only the code in echarts format #15163
Comments
The issue you're experiencing with the echarts tool not generating the expected chart and instead returning a non-functional link could be related to how Dify processes and returns links for generated charts. Dify uses the To address this issue, you might want to check the following:
If these steps do not resolve the issue, it may be necessary to review the implementation code for any potential bugs or misconfigurations. 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 That's what I use |
@junjiem Can you take a look at this? |
This is not echarts tool problem, it is a problem that the llm capability or prompt in the agent. |
After the agent invokes the tool and returns the result, the agent sends the result to the LLM again for generation. It is better to have a switch at the tool level whether to return the result directly, and the agent decides whether to generate it again according to this parameter. |
chatflow should be used to output from the 'direct reply' node after invoking the echarts tool |
Self Checks
Dify version
1.0.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The text was updated successfully, but these errors were encountered: