Google Gemini Function calling integration
Hey everyone, how do I use composio tools directly with google Gemini function calling. like we can use composio with openai function calling directly but can't do the same for google gemini. It raises some ridiculous error.
model = genai.GenerativeModel(model_name="gemini-1.5-flash", tools=tools)
basically it's not working when I do something like this
tools = composio_toolset.get_tools(apps=[App.GOOGLECALENDAR])
i get this error lol
7 Replies
robust-apricotβ’2w ago
Checking
fascinating-indigoβ’2w ago
Kk
robust-apricotβ’2w ago
Currently composio doesn't support tools integration in
google-generativeai
, however we are working on it. If you need any other help, feel free to ping me @Maverick πfascinating-indigoβ’2w ago
Ahh okay np. maybe I will continue using the native google calendar tool I made π¦
adverse-sapphireβ’2w ago
@Maverick you can use Google Gemini via langchain or LlamaIndex
fascinating-indigoβ’7d ago
I actually don't feel comfortable using those frameworks anymore. It leads to a lot of complications when deploying. So I preferred the raw ability of the llm and code around it
adverse-sapphireβ’7d ago
Got it