Skip to content

[FEATURE] Allow LlmGenerationClient::geneate() directly return a JSON value #400

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
badmonster0 opened this issue Apr 27, 2025 · 1 comment
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@badmonster0
Copy link
Member

We may change the trait to allow LlmGenerationClient::geneate() directly return a JSON. The return type can be an enum, with either a JSON or a String, depending on if JSON schema is provided in request.

Originally posted by @badmonster0 in #395 (comment)

@badmonster0 badmonster0 added help wanted Extra attention is needed good first issue Good for newcomers labels Apr 27, 2025
@badmonster0 badmonster0 changed the title Allow LlmGenerationClient::geneate() directly return a JSON value [FEATURE] Allow LlmGenerationClient::geneate() directly return a JSON value Apr 27, 2025
@par4m
Copy link
Contributor

par4m commented Apr 27, 2025

I can work on this, please assign!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants