by nyell · 2y ago · 0 comments
https://github.com/narenaryan/promptml/ https://www.promptml.org/
It isn't XML nor JSON, but a DSL built especially for writing prompts. We do not have published benchmarks but running few examples, we see consistent outputs from LLM, and supplements RAG by separating context and using it for enriching prompt.
https://gist.github.com/narenaryan/651d8081eaaffa846e05da7a3...
You can test it with Claude and GPT-3.5 or GPT-4o, and they all will bring strikingly bring similar results with differences in detail.
YAML & XML serializations are coming in v0.6.0 of PromptML.