Giter Site home page Giter Site logo

live-gdrive-demo's Introduction

Starter Pack for Rasa Stack

This starter pack helps you build a bot faster with Rasa Stack. Apart from a basic file and folder structure, it gives you some initial training data. Clone this repo and start building your bot.

For more information on the Rasa Stack, please visit the docs here:

Setup

To install the necessary requirements, run:

pip install -r requirements.txt

Usage

To train the NLU model, run make train-nlu

To train the Core model, run make train-core

To run the bot on the command line run make cmdline

What now?

To continue developing your bot, you can start by adding some NLU data for intents/entities relevant to your use case. These then need to be added to your domain file. From there you can add more utterances for the bot, or custom actions you've written in actions.py and then write stories using these.

live-gdrive-demo's People

Contributors

akelad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

live-gdrive-demo's Issues

MoodBot does not respond to messages from slack

Rasa Core version: '0.8.2'

Python version: 3.6

Operating system (windows, osx, ...):windows 10

Issue:
I installed the starter-pack and followed the instructions here:
https://core.rasa.com/tutorial_basics.html#tutorial-basics
to set up the rasa moodbot

I also configured slack using the ngrok https webhook.

I am not getting any response from the moodbot in slack.

So I test this:
curl -XGET 127.0.0.1:5002/webhook -d '{"text":"bye"}'
This is also not giving me any response from the mood bot. However, I see
127.0.0.1 - - [2018-06-12 22:10:17] "GET /webhook HTTP/1.1" 200 115 0.001003
where I run the command:
python -m rasa_core.run -d models/current/dialogue -u models/current/nlu --port 5002 --connector slack --credentials slack_credentials.yml

I also tried:
curl -XPOST http://b928f88d.ngrok.io/webhook -d '{"text":"bye"}'
I don't see anything happening at my server end.

How do I get my moodbot to respond to "hi" or "bye" from slack??

Content of domain file (if used & relevant):

intents:

  • greet
  • goodbye
  • mood_affirm
  • mood_deny
  • mood_great
  • mood_unhappy

actions:

  • utter_greet
  • utter_cheer_up
  • utter_did_that_help
  • utter_happy
  • utter_goodbye

templates:
utter_greet:

  • text: "Hey! How are you?"
    buttons:
    • title: "great"
      payload: "great"
    • title: "super sad"
      payload: "super sad"

utter_cheer_up:

utter_did_that_help:

  • text: "Did that help you?"

utter_happy:

  • text: "Great carry on!"

utter_goodbye:

  • text: "Bye"

Error setup starter-pack on Ubuntu 16.04

Hi Everybody,

I have been trying to get up and running with Rasa but I am having a problem installing the stater-pack

following instruction on the page, I get the following error:

1.) When I ran: make train-nlu

(rasatest) sanyaade@ns1:~/Downloads/A.I.-kits/machine-learning/Virtual-Assistants/RasaHQ/test/starter-pack$ make train-nlu
python -m rasa_nlu.train -c nlu_config.yml --data data/nlu_data.md -o models --fixed_model_name nlu --project current --verbose
Makefile:23: recipe for target 'train-nlu' failed
make: *** [train-nlu] Illegal instruction (core dumped)

2.) same error when I run make train-core:

(rasatest) sanyaade@ns1:~/Downloads/A.I.-kits/machine-learning/Virtual-Assistants/RasaHQ/test/starter-pack$ make train-core python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue --epochs 200 Using TensorFlow backend. Makefile:26: recipe for target 'train-core' failed make: *** [train-core] Illegal instruction (core dumped) (rasatest) sanyaade@ns1:~/Downloads/A.I.-kits/machine-learning/Virtual-Assistants/RasaHQ/test/starter-pack$
What I am doing wrong? Please help! many thanks!

Hear from you all soon

God blesses!!!

Best regards,
Sanyaade

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.