Closed nndnha closed 1 week ago
It appears that the convert_to_openai_tool structure changed how the parameters were output. Also the tools attributes name
and description
have to be appended when using a dict schema as they are not automatically inferred.
I suggest using convert_to_openai_function
in its place. I've updated documentation in code to better refect langchain-core https://github.com/langchain-ai/langchain-google/pull/311
Sample code:
Output:
Dependencies: