GithubHelp home page GithubHelp logo

mandelakibiriti / rasa_quickstart Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2 KB

Tutorial to create Rasa Core bot on local command line

Home Page: https://rasa.com/docs/core/quickstart/

rasa rasa-nlu rasa-core

rasa_quickstart's Introduction

Tutorial to create Rasa Core bot on local command line

  1. Install rasa core package

    pip install rasa_core

  2. Create stories.md and domain.yml files that contain the intents, actions and templates. Example of these files can be found at this link

  3. Train bot with the script below. This will create a folder called models with a subfolder called 'dialogue'

    python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue

  4. Run the bot using the script below. To talk to the bot send a message such as /greet and the bot shall respond with the action outlined in the template

    python -m rasa_core.run -d models/dialogue

  5. Install rasa_nlu package

    pip install rasa_nlu

  6. Create nlu.md and nlu_config.yml files as found at this link

  7. Train NLU model with the script below and a subfolder under models called 'current/nlu' will be created

    python -m rasa_nlu.train -c nlu_config.yml --data nlu.md -o models --fixed_model_name nlu --project current --verbose

  8. Run bot for using the script below

    python -m rasa_core.run -d models/dialogue -u models/current/nlu

rasa_quickstart's People

Contributors

mandelakibiriti avatar

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.