I'm really excited to tap into Glean's new agent, but I found myself running into a problem when trying to build my own agent:
We have a Google Drive folder that contains our signed contracts with other companies (@SignedContracts), organized in sub-folders titled by company name. I want to create a Glean agent which can take a specific clause and company as inputs, and provide me with the related information from the clause in the contract for a company which I request.
These are the steps I have included thus far:
- Trigger —> 2 text inputs ([[clause]] and [[company_name]])
- Plan and execute steps —> Search @SignedContracts comprehensively for ONLY the folder that has the same title as [[company_name] (fuzzy matching). You may also scan any documents that contain the [[company_name]] as a second resort for the information requested in subsequent steps.
- Company search: @SignedContracts
- Read document —> Go through the document/documents the sub-folder from previous step (within @SignedContracts), and thoroughly scan every line for any clauses or terms relating to [[clause]]
- Pull and present the requested information by scanning the document/documents thoroughly and comprehensively (Factual)
I have searched the Google Drive folder comprehensively for any document or folder titled "XXX." (example) Based on the search results, there is no folder specifically titled "XXX" in the provided Google Drive link. Here are the folders present:
^^This is the message I have been getting whenever I try to test the agent, with the agent unable to find some existing folders and able to locate others. Any ideas on how I can refine this agent to get the desired results?
Thank you for the assistance!