Skip to content

Slack AI Library component #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

itaynvn
Copy link

@itaynvn itaynvn commented Oct 24, 2021

No description provided.


Send the value of a local variable within your code runtime:
```
--message local_variable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean by this option?


Send a custom text message:
```
--message "this is my message"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to send a message with text and a paramter? i.e "Model accuracy: {{ model.accuracy }} and $ENV"?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from flows: no, since flow tags cant be concatenated with strings (built in limitation)
from SDK: yes, using string formatting:

train_val="99"
experiment = library.run(compute="local", message=f"train value: {train_val}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants