-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
google-common [feature]: Support JSON Mode for Gemini #5071
Labels
auto:enhancement
A large net-new component, integration, or chain. Use sparingly. The largest features
Comments
already managed to add it. would you like to assign it to me? I would be happy to work also on the other google common issues |
JackFener
pushed a commit
to JackFener/langchainjs
that referenced
this issue
Apr 23, 2024
bracesproul
added a commit
that referenced
this issue
May 1, 2024
* google-common [feature]: Support JSON Mode for Gemini #5071 * added mock json file for tests * defined GoogleAIResponseMimeType type * responseMimetype default specified in the GoogleBaseLLM class that implements it * test to make sure the request contains the responseMimeType setting in the generation config * Format llms.test.ts * Format llms.ts * Format types.ts * Nit types.ts jsdoc * Format types.ts --------- Co-authored-by: GiacomoCherry <giacomo.fava@cherrynpl.com> Co-authored-by: Brace Sproul <braceasproul@gmail.com>
How can I use it ChatGoogleGenerativeAI? |
This was referenced Jun 11, 2024
The docs show this as missing from this provider still? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
auto:enhancement
A large net-new component, integration, or chain. Use sparingly. The largest features
Privileged issue
Issue Content
See documentation for
responseMimeType
at https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini#request_bodySee langchain-ai/langchain-google#144
The text was updated successfully, but these errors were encountered: