-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Showing
5 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -66,7 +66,12 @@ It's time to see an agent app in action and enjoy some coding. Below is a previe | |
* how many emails do i have from [email protected]? | ||
* how about from [email protected]? | ||
|
||
[Here](./examples_log.txt) is a complete example interaction log with Gmagent. | ||
[Here](./examples_log.txt) is an example interaction log with Gmagent, with some screenshots of the interaction below (the user inputs and Gmagent outputs are after Your ask: and Gmagent: ; what's between ---- are Llama outputs and tool calling results): | ||
|
||
![](1.png) | ||
![](2.png) | ||
![](3.png) | ||
|
||
|
||
# Setup and Installation | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
python main.py | ||
python main.py [email protected] | ||
Hello! I'm Gmagent, your friendly Gmail assistant. I'm here to help you with any Gmail-related tasks. What can I do for you today? Do you need help checking email, composing a new message, or perhaps something else? | ||
|
||
Your ask: do i have any emails with attachments? | ||
|
@@ -132,14 +132,14 @@ These examples are likely from the report you mentioned, which explores the perf | |
|
||
If you'd like to discuss any specific points or ask questions about these examples, I'm here to help! | ||
|
||
Your ask: Draft an email to jeffxtang@meta.com saying working on it and will keep you updated. thanks for your patience. | ||
Your ask: Draft an email to gmagent_tester2@meta.com saying working on it and will keep you updated. thanks for your patience. | ||
|
||
------------------------- | ||
Calling Llama... | ||
|
||
Llama returned: {'function_name': 'create_draft', 'parameters': {'action': 'new', 'to': 'jeffxtang@meta.com', 'subject': 'Update on [Your Project]', 'body': 'Hi Jeff,\\n\\nI wanted to touch base with you regarding [Your Project]. I am currently working on it and will keep you updated. Thank you for your patience.\\n\\nBest regards,'}}. | ||
Llama returned: {'function_name': 'create_draft', 'parameters': {'action': 'new', 'to': 'gmagent_tester2@meta.com', 'subject': 'Update on [Your Project]', 'body': 'Hi Jeff,\\n\\nI wanted to touch base with you regarding [Your Project]. I am currently working on it and will keep you updated. Thank you for your patience.\\n\\nBest regards,'}}. | ||
|
||
Calling tool to access Gmail API: create_draft, {'action': 'new', 'to': 'jeffxtang@meta.com', 'subject': 'Update on [Your Project]', 'body': 'Hi Jeff,\\n\\nI wanted to touch base with you regarding [Your Project]. I am currently working on it and will keep you updated. Thank you for your patience.\\n\\nBest regards,'}... | ||
Calling tool to access Gmail API: create_draft, {'action': 'new', 'to': 'gmagent_tester2@meta.com', 'subject': 'Update on [Your Project]', 'body': 'Hi Jeff,\\n\\nI wanted to touch base with you regarding [Your Project]. I am currently working on it and will keep you updated. Thank you for your patience.\\n\\nBest regards,'}... | ||
Draft created with ID: r5930232887125763038 | ||
|
||
Tool calling returned: r5930232887125763038 | ||
|
@@ -211,14 +211,14 @@ Tool calling returned: None | |
|
||
Gmagent: Email sent. | ||
|
||
Your ask: forward the email to jeffxtang@meta.com | ||
Your ask: forward the email to gmagent_tester2@meta.com | ||
|
||
------------------------- | ||
Calling Llama... | ||
|
||
Llama returned: {'function_name': 'send_email', 'parameters': {'action': 'forward', 'to': 'jeffxtang@meta.com', 'subject': 'this is an interesting paper', 'body': '', 'email_id': '1936fce85e88a3ef'}}. | ||
Llama returned: {'function_name': 'send_email', 'parameters': {'action': 'forward', 'to': 'gmagent_tester2@meta.com', 'subject': 'this is an interesting paper', 'body': '', 'email_id': '1936fce85e88a3ef'}}. | ||
|
||
Calling tool to access Gmail API: send_email, {'action': 'forward', 'to': 'jeffxtang@meta.com', 'subject': 'this is an interesting paper', 'body': '', 'email_id': '1936fce85e88a3ef'}... | ||
Calling tool to access Gmail API: send_email, {'action': 'forward', 'to': 'gmagent_tester2@meta.com', 'subject': 'this is an interesting paper', 'body': '', 'email_id': '1936fce85e88a3ef'}... | ||
Message forwarded successfully! Message ID: 1936fdd039c68451 | ||
|
||
Tool calling returned: None | ||
|