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 support #3

Closed
deep-diver opened this issue Feb 4, 2025 · 0 comments · Fixed by #7
Closed

Structured output support #3

deep-diver opened this issue Feb 4, 2025 · 0 comments · Fixed by #7
Assignees

Comments

@deep-diver
Copy link
Owner

Current implementation simply shows summary that is generated as a raw answer. This could possibly include some misleading information or unnecessary phrases such as here is the updated summary:, "there is not much to be updated, before summary: .... after revised summary: ...`, etc.,

This issue could be easily resolved with structured output something like below:

{
    "updated_summary": "....."
}

the below indicates the relevant parts of the current implementation that should be modified for this
:

response = client.models.generate_content(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants