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

Support for Json Schema with Gemini #2087

Open
aleksabl opened this issue Jan 20, 2025 · 2 comments
Open

Support for Json Schema with Gemini #2087

aleksabl opened this issue Jan 20, 2025 · 2 comments

Comments

@aleksabl
Copy link

The current implementation allows passing a JSON schema to OpenAI using OpenAiChatOptions.setResponseFormat, where a ResponseFormat with a specified JSON schema can be provided. However, this functionality is not available in VertexAiGeminiChatOptions. In the latter, you can only specify the contentType without the ability to include a schema.

@kiruthiga1793
Copy link

Hi @aleksabl , I would like to collaborate to this issue. Can you please assign me this issue or can i work with you on this?

@aleksabl
Copy link
Author

@kiruthiga1793 I'm just a regular user - I don't have any extra permissions. If you would have a go at it, you should try to fix it and create a pull request.

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

No branches or pull requests

2 participants