-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Utilizing multiple function/tools calls? #31
Comments
Hello, unless I misunderstand your question, I believe this question is more suited for https://github.com/instructor-ai/instructor Maybe though it's not possible with Vertex AI in tool mode, either way I'm sure the folks at Instructor are more knowledgeable on this specific subject! |
Yeah gemini question seems to be more for instructor. However, currently there is parallel-function-calling that takes |
@devjn Have you tried this? Anything that works for instructor should work within atomic agents, or is there something specific that's not working or holding you back here? |
@KennyVaneetvelde The issue currently is that |
Right, The config is just for configuration, but the point still stands as right now it only supports a class that extends from Pydantic's I will try to look into that! |
Can we use function calls instead of JSON mode? Particularly would be nice to get example with Vertex AI Gemini as they don't support Union types.
Currently I can see that when specified Mode.VERTEXAI_TOOLS for instructor, and then for BaseAgentConfig(output_schema=AgentOutputSchema)
I can see from logs that 1 tool is defined like this:
'tools': [function_declarations {
name: "AgentOutputSchema
...
}]
How could we define more tools and instruct correctly?
The text was updated successfully, but these errors were encountered: