-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Samvit Jatia
authored and
Samvit Jatia
committed
Nov 25, 2024
1 parent
1bec660
commit b308e12
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
prompt = hub.pull("hwchase17/openai-functions-agent") | ||
|
||
composio_toolset = ComposioToolSet(api_key="fcau1ynif45lumo8txt5o", connected_account_ids={"GMAIL": "1b9c7742-ce8a-4f62-811a-b94ddc67ac5d"}) | ||
composio_toolset = ComposioToolSet(api_key="fcau1ynif45lumo8txt5o", connected_account_ids={}) | ||
tools = composio_toolset.get_tools(actions=['BROWSER_TOOL_GET_PAGE_DETAILS','BROWSER_TOOL_GOTO_PAGE', 'BROWSER_TOOL_SCROLL_PAGE', 'BROWSER_TOOL_REFRESH_PAGE', 'GMAIL_SEND_EMAIL']) | ||
|
||
agent = create_openai_functions_agent(llm, tools, prompt) | ||
|
@@ -31,7 +31,7 @@ def get_reviews(url): | |
\n- Common complaints or issues \ | ||
\n- Notable specific feedback about product features \ | ||
\nKeep the summary focused on helping potential buyers make an informed decision." | ||
"Format the summary and send the summary using gmail send mail [email protected]" | ||
"Format the summary and send the summary using gmail send mail <add email here>" | ||
] | ||
|
||
for task in tasks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters