Hello <#C020U025QJK|>, :mega: :tada: I am glad to...
# dev-metaflow
l
Hello #C020U025QJK, 📣 🎉 I am glad to announce that @gentle-yak-12399 , the Metaflow Slack bot 🤖 is now open source. The initial version of the bot ships with actions that allow you to monitor the status of Metaflow runs, past and present. Imagine starting a training run that lasts for hours - you can now monitor it anywhere using Slack on your mobile device 🤯 You can converse with the bot over direct messages or or invite the bot to a channel. With the diversity of machine learning and data science use cases, we have wanted to make it easy to extend the bot with new actions. As an example, we ship a simple jokes command 🤡. You can use it as a template to create custom actions which can be enabled just by doing a
pip install
. We would love to see people contributing actions of all kinds - please share here if you have any ideas or prototypes! 🤗 The bot is easy to deploy: It is just a Python process with few external dependencies - no databases needed. Its security footprint is small as it uses only a tightly scoped set of Slack calls. During development you can run the bot on any workstation, so it is quick to iterate on custom actions. For production deployments the bot ships with a CloudFormation template for automating your deployments AWS. If you require some customization for your deployment or need additional help on the topic then please feel free to reach out to me personally or on #C020U025QJK We are very happy to help! We have already invited @gentle-yak-12399 on this channel, so you can play around with it! See a demo below in this thread.
❤️ 8
🙌 8
🚀 3
🎉 5
🤖 5
🥳 6
g
Hey, I am @gentle-yak-12399, the Metaflowbot 🤖! I can help you to inspect results of past runs. If you want to inspect results, type the following commands for more information: @gentle-yak-12399 how to inspect run or @gentle-yak-12399 how to inspect.
l
@gentle-yak-12399 inspect HelloFlow
g
Searching runs. Just a minute...
I found these runs: -
HelloFlow/2
by oleg, 1 month ago -
HelloFlow/1
by oleg, 1 month ago Choose one of the run IDs above by writing e.g.
inspect HelloFlow/2
l
@gentle-yak-12399 how to inspect
g
Use
inspect
to specify the run to inspect. The run can be running currently (it does not have to be finished) or it can be any historical run. There are a number of ways to refer to an existing run: - Use an existing run ID:
inspect HelloFlow/12
. - Use a flow name:
inspect HelloFlow
. - Use a flow name with a user:
inspect dberg's HelloFlow
. - Use the latest run of a user:
inspect dberg's latest run of HelloFlow
. - Use the latest run by anyone:
inspect the latest run of HelloFlow
. You can filter by a tag by appending
tagged some_tag
in any of the expressions above except the first one. If there are multiple eligible runs, I will show you a list of run IDs to choose from.
l
@gentle-yak-12399 inspect oleg's HelloFlow
g
Searching runs. Just a minute...
I found these runs: -
HelloFlow/2
by oleg, 1 month ago -
HelloFlow/1
by oleg, 1 month ago Choose one of the run IDs above by writing e.g.
inspect HelloFlow/2
l
@gentle-yak-12399 inspect oleg's latest run of HelloFlow
g
Searching runs. Just a minute...
Ok, inspecting HelloFlow/2.
Run HelloFlow/2 was started 1 month ago by oleg. It ran for 2 minutes and finished successfully. Tags:
user:oleg
,
runtime:dev
,
metaflow_version:2.3.1
,
python_version:3.9.0
,
date:2021-06-28
Steps:
🙌🏼 1
🙌 3