The alert for when query to Gemini and not having access to information after cut off date - like error signal and the screen flashed red, Very cool idea. +1 I would suggest using send_message instead of generate content with tool call and then using generate content at the end to enable break out loop.
@serpapi5 ай бұрын
Thank you very much! I'll look into your suggestion :)
@KashishVarshney-cr7iz4 ай бұрын
this is not the correct approach what if query needs parallel function call? In this case, this code will fail execution
@serpapi4 ай бұрын
Thank you for your comment, feel free to share an implementation for parallel function calling.
@kaluchuxy453727 күн бұрын
If this is what Google called function calling, they should think again, because this can be achievable just a prompt, eg "you are a helpful assistant your role is check the user query and decide the best tools that matches it, refrain from the explaining anything and just response the tool name only this is the {query} and this is the tools: {tool1{name: search_internet, description :"use this to search internt"}}" SO I DO NOT SEE ANYTHING FANCY here, the ai does not execute instructions but tell yo want to use.
@serpapi3 күн бұрын
Yes, "there are many ways to Rome". Here is another video where we use Gemini prompt to return structure result kzbin.info/www/bejne/pITbdoqFgKlrqJY