Skip to content

Support structured return for LLM. #584

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

Open
you-n-g opened this issue Feb 12, 2025 · 0 comments
Open

Support structured return for LLM. #584

you-n-g opened this issue Feb 12, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@you-n-g
Copy link
Contributor

you-n-g commented Feb 12, 2025

🌟 Feature Description

We have a lot of retry logic scattered everywhere to ensure structured output. However, there are already some existing tools like:

https://github.com/instructor-ai/instructor?tab=readme-ov-file#using-litellm

After we merge #564, I think it would be a great opportunity to support automatic structured output.

Motivation

  1. Application scenario
  2. Related works (Papers, Github repos etc.):
  3. Any other relevant and important information:

Alternatives

Additional Notes

@you-n-g you-n-g added the enhancement New feature or request label Feb 12, 2025
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