Hello,
I would like to generate charts from a set of data by OpenAI API. There are already a bunch of applications to achieve this such as www.graphmaker.ai, chat2csv, julius.ai, and ChatGPT. I’m wondering how they realized this.
For instance, here is an example with ChatGPT:
Could anyone help?
Thank you
Tie
Hello,
You cam simply ask to generate a graph in your prompt usually it will generate an image and then you can display it in the chat.
Or you can ask to ouput json or objects and do custom code on your side to display the objects in graph format.
@tie.cheng - It is a simple use case, where you generate a plotly code and visualize the chart. You may also checkout Vanna - open source so you may dig through the codebase and see how it’s done . All it would take is a simple prompt. Cheers