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] Add more flexibility to generate structured data from multiple schemas #624

Open
plaguss opened this issue May 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@plaguss
Copy link
Contributor

plaguss commented May 10, 2024

Is your feature request related to a problem? Please describe.
The implementation of the structured outputs in #601 only allows for a single structure (json schema, BaseModel in case of json) for the whole dataset. We should relax this.

Describe the solution you'd like
I would like to use a field in the structured_output to select a column from the dataset where we can grab the schema so that we have more flexibility when generating datasets of structured data.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Work after merging #601.

@plaguss plaguss added the enhancement New feature or request label May 10, 2024
@plaguss plaguss self-assigned this May 10, 2024
@plaguss plaguss changed the title [FEATURE] [FEATURE] Add more flexibility to generate structured data from multiple schemas May 10, 2024
@alvarobartt alvarobartt added this to the 1.2.0 milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants