#Function calling in python Google.generativeai

1 messages · Page 1 of 1 (latest)

frosty tree
#

Hi. This topic is a good one. So i made a thread.

#

I have to learn how to have function calling in python. I could then add real-time information and much more to the gemini bot

waxen dust
#

Yep, I mean to ask the same question

cedar gorge
#

Just ask the gemini model to produce the schema for you when you need it, use 1 to 3 shot learning.

#

then use the requests and wrap the rest api around it, this also you can ask the model.

waxen dust
#

sorry, don't understand. Can you rephrase for a newbie?

frosty tree
#

Yeah. But how can we use it in python

cedar gorge
frosty tree
#

But does the library contain the feature?

waxen dust
#

doesn't seem like it. One would have to use vertex. Another question is, how do you feed the result of the function call back to the model.