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

Structured output #127

Closed
fjsj opened this issue Jun 26, 2024 · 1 comment
Closed

Structured output #127

fjsj opened this issue Jun 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@fjsj
Copy link
Member

fjsj commented Jun 26, 2024

Related to #28

We should also support structured output, i.e., validate the output with Pydantic and retry if necessary. This library supports it: https://docs.phidata.com/assistants/structured-output

Seems doable with https://python.langchain.com/v0.2/docs/how_to/extraction_parse/#using-pydanticoutputparser

@fjsj fjsj added the enhancement New feature or request label Jul 12, 2024
@fjsj
Copy link
Member Author

fjsj commented Oct 4, 2024

Solved by #171

@fjsj fjsj closed this as completed Oct 4, 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

1 participant