-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* minor updates to notebook version, left the `le = preprocessing.LabelEncoder()` in there. * lots of updates to the script version, including: * swapping the labelEncoder for a json map lookup, which converts user numbers in the model training set to Kaskada.AI slack userIds * lots of `print()` debug statements that will be helpful to get this going. we can remove them pre-demo. * getting tokens/api-keys from the env also added the json data for the output lookup. changes are based off this script: [examples/slackbot/run.py](main...esp/try_script#diff-2067ff038f2b64f5ce70205cd7274f93552230391a57fc6ea05cc2ff05ffe8f5) which was working successfully yesterday, when sending single messages from slack to completion.
- Loading branch information
Showing
3 changed files
with
103 additions
and
41 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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"1": "U052Y3ZKGQJ", "2": "U052XUMJF6F", "4": "U052Y3Y23BL", "5": "U052RFMBRF0", "6": "U053MQ05DHN", "8": "U052RFM1QK0", "9": "U053AN5E281", "10": "U052HH8KE0P", "11": "U052RFHJ8EA", "13": "U0530HTBG2Y"} |