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

Function calling support #13

Open
XInTheDark opened this issue Jun 1, 2024 · 2 comments
Open

Function calling support #13

XInTheDark opened this issue Jun 1, 2024 · 2 comments
Assignees

Comments

@XInTheDark
Copy link

XInTheDark commented Jun 1, 2024

Hi, is there any possibility of supporting function calling (beta)? For example, my use case is to add web search capability to the AI.

Some relevant docs & examples:
https://ai.google.dev/gemini-api/docs/function-calling
https://ai.google.dev/gemini-api/docs/function-calling#function-calling-curl-samples
https://ai.google.dev/gemini-api/docs/function-calling#multi-turn-example-1

@EvanZhouDev
Copy link
Owner

This is on my roadmap. However, it may take some time to implement, as I am going out on a trip soon.

Here's a roadmap of what I am doing right now:

  • Safety Settings (Already on GitHub, not yet published)
  • System Prompt (Will be on GitHub soon)
  • JSON Schema Response (Haven't started)
  • Function Calling (Haven't started)

@EvanZhouDev
Copy link
Owner

Quick update!
Safety Settings, System Prompt, and JSON Schema Response have all been deployed in v2.2.

I have not yet started Function Calling, and as I am going on vacation, I may be away for a while. The other reason I am reluctant to start implementing this is that it is quite a major change to the API, and given that the system is still in Beta, and potentially subject to changes, I will likely hold off until they get a stable release.

@EvanZhouDev EvanZhouDev self-assigned this Jun 2, 2024
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

2 participants