The WhiskBot Workspace is saved as a json in app directory, named ConversationWorkspace.json
.
After the Workspace is imported, you should be able to test the conversation with the Demo Side bar.
To complete the connections between the Conversation Workspace and the actions, there are three keys that are necessary to find. The conversation_workspace_id
, conversation_username
, and conversation_password
. All three keys should be input into the getConstants
function, found in the OpenWhisk ConversationAction.Swift file.
To find the conversation_workspace_id
, follow the instructions here.
To find the conversation_username
and conversation_password
, use the following link, Obtaining Credentials for Watson Services
To set up the Watson Language Translator Service, it is quite straightforward. Simply go yo the Watson Language Translator Website and click start free in Bluemix. Name the service with whatever name you want.
There are two keys that are necessary to use the Watson Language Translator Service, translation_username
and translation_password
. The same link above used to find the Watson Conversation Service Authentication keys will get you to the Translator keys. Obtaining Credentials for Watson Services
In order to give WhiskBot the ability to post to Slack, your Slack group needs webhook integration. In order to setup URL Hooks for slack use the following setup link. You can setup webhook urls for different channels. To add the channels to the OpenWhisk Action, under getConstants
in ConversationAction.swift
, there are slack_channel_url_channelName
keys. Add your own channelName and URL and modify the Conversation Workspace entity @slack_channels, to allow WhiskBot to pick up different channel names.
License
Copyright 2015-2016 IBM Corporation
Licensed under the Apache License, Version 2.0 (the “License”).
Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an “as is” basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.