Git Product home page Git Product logo

rasa-tutorial's Introduction

Rasa中文demo

本文代码需配合以下博文使用,目前教程还在更新中,demo也会持续更新

Rasa使用指南01

Rasa使用指南02

如何使用

cd 到对应的demo路径下执行以下命令

训练rasa_core

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

训练rasa_nlu

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

如果有自定义action,请执行此命令,注意把此处的action_name换成自定义的action的文件名,如果你的action文件叫做action.py,则写--actions action

python -m rasa_core_sdk.endpoint --actions action_name

启动对话

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

rasa-tutorial's People

Contributors

terrifyzhao 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.