-
Notifications
You must be signed in to change notification settings - Fork 18
EmailClient: Updating attachment support and output #125
Conversation
smtp_host=os.environ.get("SMTP_HOST"), | ||
smtp_port=int(os.environ.get("SMTP_PORT", 465)), | ||
smtp_password=os.environ.get("SMTP_PASSWORD"), | ||
smtp_user=os.environ.get("FROM_EMAIL"), | ||
smtp_use_ssl=bool(os.environ.get("SMTP_USE_SSL")), | ||
) | ||
|
||
agent = Agent( | ||
tools=[email_tool, WebScraper()], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move WebScraper
initialization next to email_tool
so that all Tools are created in one place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok!
) | ||
|
||
agent.run( | ||
"Scrape www.griptape.ai and and send it as an attachment in an email to " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should show the summarization capabilities of Griptape as opposed to just emailing an HTML dump. Let's rephrase to something like Generate a summary of griptape.ai and send it as ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Used ToolOutputProcessor too to store it back in memory
) | ||
|
||
agent.run( | ||
"Scrape www.griptape.ai and and send it as an attachment in an email to " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and and
🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad
Resolves #123
📚 Documentation preview 📚: https://griptape--125.org.readthedocs.build/