Show HN: Gato Prompt Lang – keep prompt content and responses short in JSON (github.com)
It started with me trying to get consistent json output but then evolved to something I can use to get consistent outputs structured in the way I need with, which is essential to consume responses in software. I seem to get json consistent 100% of the time when I use the API but when I use the UI I occasionally some response data not in the json.
5 comments
[ 2.7 ms ] story [ 25.5 ms ] threadWhile JSON Schema offers great flexibility, I'm focused on a format that works out of the box. I want to keep the process simple and frictionless, so introducing a token corraler with additional steps wouldn’t align with that goal.
That said, I’m open to incorporating JSON Schema as an optional feature for advanced users who want more control over their prompts. My goal is to keep installation as simple as copying and pasting the text at the beginning of the system prompt.
You can def tell AI what to do but the point is to have them do and reply to you in a way that's structured and expected, such that you can have your software process their responses and apply it according to your logic! With the least amount of words possible! The Human Response field is for people-facing responses (where you generally need more words) and the system response field is for responses to be used directly by your software.