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

Make Vertex Gemini use built-in structured output for .withStructuredOutput #7401

Closed
1 task done
jacoblee93 opened this issue Dec 18, 2024 · 4 comments
Closed
1 task done
Assignees
Labels
auto:improvement Medium size change to existing code to handle new use-cases

Comments

@jacoblee93
Copy link
Collaborator

jacoblee93 commented Dec 18, 2024

Privileged issue

  • I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.

Issue Content

@afirstenberg

@afirstenberg
Copy link
Contributor

See
https://ai.google.dev/gemini-api/docs/structured-output?lang=rest

Probably should double-check to make sure which models can handle it, but I'm pretty sure most that have functions do. I just can't find the date it was first made available.

@jacoblee93 - Feel free to assign this to me, but I'm also happy if anyone gets to this before I do.

@dosubot dosubot bot added the auto:improvement Medium size change to existing code to handle new use-cases label Dec 18, 2024
@jacoblee93
Copy link
Collaborator Author

You're the best!

@kashifmin
Copy link
Contributor

@afirstenberg native structured output would be great, let me know if you need any help testing this!

Copy link

dosubot bot commented Mar 21, 2025

Hi, @jacoblee93. I'm Dosu, and I'm helping the LangChain JS team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • Enhancement request for Vertex Gemini to support structured output via .withStructuredOutput.
  • @afirstenberg shared documentation and offered to work on the issue.
  • @kashifmin showed interest and offered help with testing.

Next Steps

  • Please confirm if this issue is still relevant to the latest version of LangChain JS. If so, feel free to comment to keep the discussion open.
  • If there is no further activity, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Mar 21, 2025
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2025
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:improvement Medium size change to existing code to handle new use-cases
Projects
None yet
Development

No branches or pull requests

3 participants