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

[Feat]: please provide examples with tool use where an individual parameter is an object #1343

Open
1 task done
kristoph opened this issue Oct 27, 2024 · 2 comments
Open
1 task done
Assignees

Comments

@kristoph
Copy link

Is your feature request related to a problem? Please describe.

I am able to use tools with simple parameters ( strings, numbers, booleans ) but when I try to pass an object the model fails with the object parameters payload returning 'unknown' rather than a property.

Describe the solution you'd like

I am simply looking for an example in one of the tool notebooks that shows how to pass an object as a parameter which has multiple properties.

Describe alternatives you've considered

No response

Additional context

I am the author of this:

https://github.com/EndlessInternational/intelligence

It currently supports 10 different LLM vendors including Google. I have tools ( including objects and arrays ) working for Open AI and Anthropic but Gemini has me stumped on more complex tools.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@holtskinner
Copy link
Collaborator

@koverholt
Copy link
Member

Thanks for the info. We've also been tracking this discussion here:

#1342

And in this upstream issue that I filed.

https://issuetracker.google.com/issues/376170319

So we can keep an eye on that bug report in the issue tracker as the core issue behind this GitHub issue and related GitHub Discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants