Skip to content

Pyarrow strict checks might lead to errors when calling df.to_parquet #172

@andreatgretel

Description

@andreatgretel

Values in LLM columns can be converted to different types after generation, say float/dict. This leads to errors when calling df.to_parquet.
This can be particularly tricky for nested columns - for instance, in structured generation, fields being converted to different types would also lead to errors.

A possible solution is falling back to strings everywhere, in such cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions