Giter Site home page Giter Site logo

ibm-cloud / slack-chatbot-database-watson Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 50.0 472 KB

Code for the solution tutorial "Build a database-driven Slackbot" (chatbot) with a custom extension in IBM Watson Assistant

Home Page: https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-slack-chatbot-database-watson

License: Apache License 2.0

Dockerfile 12.87% Python 86.66% Procfile 0.47%
ibm-cloud ibm-cloud-functions watson-conversation db2 slack nodejs postgresql ibm-clo openwhisk ibm-cloud-solutions python

slack-chatbot-database-watson's Issues

Can't get step 4 to work

Hi, I can get everything 'working fine' as advised, including Slack - Watson Assistant integration. But I can't get 'step 4' to work. Basically, when I type 'help' in slack, just nothing happens. I can't even access any logging/monitoring information to see if my watson assistant is being reached.... Please advise. thanks

Command './setup.sh YOURSECRET "dashdb-for-transactions"' partially fails

When running command
./setup.sh YOURSECRET "dashdb-for-transactions"

It partially fails. It fails to create table and add sample data. It returns

ok: created namespace slackbot
If you are using any deprecated action runtimes, update them to continue receiving updates and support. Deprecated runtimes might be disabled in future.
For more information see https://ibm.biz/Functions-Runtimes
ok: whisk namespace set to slackbot
ok: created package slackdemo
ok: created action slackdemo/db2Setup
Credentials 'slackbotkey' from 'dashdb-for-transactions' service instance 'eventDB' bound to 'slackdemo/db2Setup'.
{
"dberror": {}
}
{
"dberror": {}
}
ok: created action slackdemo/dispatch
Credentials 'slackbotkey' from 'dashdb-for-transactions' service instance 'eventDB' bound to 'slackdemo/dispatch'.

Issue with setup.sh script

When running ./setup.sh YOURSECRET "dashdb-for-transactions" the following error is produced.

FAILED
'fn' is not a registered command. See 'ibmcloud help'.
...
  • The script has correct permissions to execute the commands within
  • Using ibm cloud cli version: ibmcloud version 2.0.0+5a84b9b-2021-06-23T20:06:11+00:00

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.