Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: use of XML as model generation structure #118

Open
kolergy opened this issue Jan 8, 2025 · 0 comments
Open

Feature Request: use of XML as model generation structure #118

kolergy opened this issue Jan 8, 2025 · 0 comments

Comments

@kolergy
Copy link

kolergy commented Jan 8, 2025

The current LLM models generate better quality results when tasked to generate XML than JSON see: https://medium.com/@isaiahdupree33/optimal-prompt-formats-for-llms-xml-vs-markdown-performance-insights-cef650b856db

it make sense a XML is closely related to HTML which is the dominant form in the training datasets.

This might particularly help weaker LLM.

switching to XML for the model output will improve the performance of the agents (this can be then converted to JSON for better human readability and python usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant