Open humphd opened 1 year ago
This is a pretty interesting exploration. Some raw thoughts:
For 3. I think the list is (see https://mermaid.js.org/intro/):
This seems long. I wonder if it's easier to say:
- Use Mermaid diagrams when discussing visual topics (for charts other than Pie Charts, use Chart.js and HTML instead of Mermaid)
This is very similar to #313 and #318.
I often want to generate some kind of chart, for example a bar chart. The LLMs will usually hallucinate a Mermaid diagram that uses an invalid chart type (you can only do pie charts in Mermaid.js).
However, if I explicitly prompt it to use chart.js, it does what I want.
I did a test today to compare some different chart libraries:
https://chatcraft.org/c/humphd/AsI25XEORVC57AKsPI-rF
I wonder if we should add a line to the default system prompt to say something like, "- For any chart type other than a Pie Chart, use chart.js and HTML"