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

Support Standard Serialization Formats #40

Open
sidjha1 opened this issue Nov 23, 2024 · 0 comments
Open

Support Standard Serialization Formats #40

sidjha1 opened this issue Nov 23, 2024 · 0 comments
Labels
feature request New feature or request good first issue Good for newcomers

Comments

@sidjha1
Copy link
Collaborator

sidjha1 commented Nov 23, 2024

Is your feature request related to a problem? Please describe.
Currently the df2text function uses some custom serialization format. It would be good to support standard formats like JSON, XML, etc. since it better fits model training distributions. In fact, Anthropic recommends you use XML.

Describe the solution you'd like
There should be a serialization_format setting that is read inside the df2text function to do the proper formatting. The nice thing about pandas is that it already gives you things like to_xml and other functions to help with serialization.

@sidjha1 sidjha1 added good first issue Good for newcomers feature request New feature or request labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant