It keeps having syntax error and not generating charts. Please advise
This is a tricky action. You need to provide a bit of information to get a good chart. Usually it wants:
- Values
- A title for the chart
- X-axis label
- Y-axis label
- Color scheme
What error did you get specifically? Can you share it here. Tagging @nathaniel to check this out as well
I am trying to generate charts using the code interpreter action. Its fiddly. I think it generates the chart but display gets broken. Of 10 times, it will show up 5 times and the rest of the times the display is broken.
Hey, I get no chart outcomes at all. Did you manage to get it to work?
What is not working for you? Is it giving you a particular error message?
I worked in the OpeanAI playground with GPT-4o (and set the LLM to GPT 4-o in the Pickaxe) to synchronize the core bot prompt (in natural language), and the trigger prompt for the trigger prompt action and the user inputs. I ensured that all 3 were logically coherent and tested multiple times. The was no specific error, it just did not generate a chart. I made sure that both the core and trigger prompts collected metadata from specific user inputs and organized it into X and Y-axis but it did not work.
I then tried creating a custom action, but I believe the action code section is limited to Python so I cannot use specific JS packages such as Chart.js.
Now, I’m testing:
- mapping out make automation with an API from https://quickchart.io/ - it also looks like they have a module on Make.com, but so far their support team has not responded on how I can get access to their API for a key. It looks like a promising tool. I will try to update if I’m successful.
- mapping out a make diagram to generate charts with GPT-4o.
If you guys can fix the current chart generator action to connect API with https://quickchart.io/ I think it could solve the issue.
Maybe @stephenasuncion or @nathaniel could help you with this issue. It’s a little beyond my expertise.
Ok thx, Mike. The chart action is essential for a couple of the PAs I’m building. Looking forward to hearing from Stephen or Nathaniel!