News for hackers. Stuff that matters.
Re:Anthropic launches Tool Use (function calling) by CuriouslyC on Friday April 05, 2024 @06:16AM (#39940705)
While some of the downvotes are justified because you're selling this short, I want to point out that your comment about XML is actually valid to a degree. I've found that using XML for prompts lets you annotate specific keywords/phrases and import structure on the prompt which can produce better results.

Getting results back in XML though? That's a terrible idea, you're asking for parsing errors. YML is the best format for getting structured data from LLMs because if there's a parse error you typically only lose the malformed bits.

There are no comments on this comment yet.