griptape
griptape copied to clipboard
How should we treat user scopes in Google tools?
Today, Google tools fall under two modalities:
- "Admin" tools that enable LLMs to provide
owner_email
as part of the activity:GoogleGmailClient
andGoogleCalendarClient
. - "User" tools that are configured with
owner_email
at the class level:GoogleDriveClient
,GoogleDocsClient
,GoogleSheetsClient
(all currently in review). Those tools' activities only have access to resources for a particular user.
Both modalities seem useful. The second modality, however, is the one that we probably want to use in most demos and use cases.
At the very least, we should normalize all Google tools to use the same modality. Additionally, I'd like to evaluate how to support both modalities in a clean way.