Closed halr9000 closed 2 weeks ago
Tried appending this to the system role prompt:
Also, mermaid diagrams are helpful to visualize relationships. Simply wrap them in a mermaid code block with 3 backticks, "mermaid", and ending with 3 more.
It helped in that inference was made without me asking for a literal mermaid diagram. e.g. "tell me about the solar system" resulted in a bunch of text. Then I asked, "can you show me visually?". It tried to give me a mermaid diagram, but it didn't parse well. Different issue than above.
Sure, I can create a visualization of the Solar System for you using Mermaid diagrams.
```mermaid
graph LR
A[Sun] --> B(Mercury)
A --> C(Venus)
A --> D(Earth)
A --> E(Mars)
A --> F(Jupiter)
A --> G(Saturn)
A --> H(Uranus)
A --> I(Neptune)
B1(Ceres) -- located in asteroid belt--> B
F1(Moons) -- has 79 known moons--> F
G1(Moons) -- has 82 known moons--> G
H1(Moons) -- has 27 known moons--> H
I1(Moons) -- has 14 known moons--> I
J(Kuiper Belt Objects) -- located beyond Neptune's orbit--> I
K(Comets) --- orbiting throughout the solar system ---> A
L(Asteroids) --- Mostly found between orbits of Mars and Jupiter ---> E
[3 backticks were here]
This is a basic diagram of the Solar System, where each planet is connected to the Sun, and some planets are also connected to their respective moons. Additionally, dwarf planets are represented by smaller circles next to their corresponding planet or location. The diagram also includes asteroids, comets and Kuiper Belt objects orbiting throughout the solar system.
That looks ok at first glance but I'm no mermaid wizard, maybe I'm running into a new chatgpt flaw in its understanding of mermaid -- but I'd not seen that before, so 🤷
Hello, thank you for pointing this out. I have experimented with something comparable involving callouts, and the results have been inconsistent, sometimes providing well-formatted responses while other times not adhering to the callout format. I intend to investigate further and implement a system that activates particular system prompts based on specific keywords. However, this needs to wait for a while as my current focus is on developing a more effective method for organizing conversations.
Since I saw you put latex in the system role prompt, my first thought was to test my latest chatgpt hobby: text adventure gaming with dynamic diagrams!
It did not quite work and I'm not sure why. Here's the prompt:
I'll paste an image of the output so you can see that it is overflowing wayyyyy off the screen
And the text:
Any clue what to change here to make it work?
update: looks like it just didn't close the code block. Let me see if I can get the bot to do it w/o code changes.