logoalt Hacker News

xstas1yesterday at 12:56 PM3 repliesview on HN

XML??


Replies

giancarlostoroyesterday at 1:08 PM

Apparently because of how Claude is trained, even the system level prompts go through as XML, it works better with XML "prompting" so I figured I could have it write plans in XML. I need to update my ticketing tool to output XML maybe by default.

https://www.reddit.com/r/ClaudeAI/comments/1psxuv7/anthropic...

show 1 reply
aesthesiayesterday at 8:59 PM

One reason to use XML-like formatting is that it makes the beginning and end of sections explicit. This is less of an issue when the model is generating text but can still be helpful when using templated prompts.

root-parentyesterday at 1:33 PM

XML stands for Xtra ML....

show 1 reply