Google Calendar FIND_EVENT
I was able to easily integrate composio into my personal assistant platform. The first actions I integrated were for Google Calendar. I can easily create new events, but when I try to search for new events, the list is always empty. The account I have connected has only a single calendar and it has no other events on it other than the one I am searching for.
You can see in the LangChain agent logs above, I have the tool call message searching for the simple string "dentist", but the response is always an empty list of events. How can I troubleshoot this?
6 Replies
continuing-cyanOP•3w ago
For more information, here is the agent logs from when I created the event (I see the "primary" calendar ID being used, so I think it is searching the right calendar in my original post)
As another point of data, I ran another test where I told my assistant to "delete the dentist appointment on November 27th". This generated a new FIND_EVENT tool call which exactly matched the event summary and it worked. Does this mean that FIND_EVENT only works when it completely matches a field? Not just partial matches?
The response:
harsh-harlequin•3w ago
Hey @G-Rage, if you don't mind, could you send me your code once for searching??
continuing-cyanOP•3w ago
@thatsmeadarsh It's a simple LangChain agent with tools and a prompt. For the tools I'm passing:
In the logs above, the agent is selecting the right tool to search for events on my calendar, it's just that the Google API (or the composio implementation of it) is returning an empty list of events. I don't think I'm allowed to send you all my code that runs this. If I can find some time, I can try to write a simple test app that shows the issue
genetic-orange•3w ago
hi @G-Rage, I can hop on a call with you if that's okay to resolve this issue, let me know 🙂
continuing-cyanOP•3w ago
@apex Thanks for the offer -- I got some help from the Composio devs. I'll post here when I have a resolution
harsh-harlequin•2d ago
Hey @apex, did your issue got resolved??