Open afirstenberg opened 2 months ago
Is it possible to pass in our defined schema and specify the use of json_mode, like in this example? https://python.langchain.com/v0.1/docs/modules/model_io/chat/structured_output/
structured_llm = model.with_structured_output(Joke, method="json_mode")
See documentation for
responseMimeType
at https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini#request_bodySee https://github.com/langchain-ai/langchainjs/issues/5071