https://github.com/samlet/restaurantbot
a simple restaurant bot
https://github.com/samlet/restaurantbot
bot rasa
Last synced: about 1 year ago
JSON representation
a simple restaurant bot
- Host: GitHub
- URL: https://github.com/samlet/restaurantbot
- Owner: samlet
- Created: 2019-12-30T02:00:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-30T02:01:14.000Z (over 6 years ago)
- Last Synced: 2025-02-15T00:29:12.330Z (over 1 year ago)
- Topics: bot, rasa
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Restaurant Bot
This example includes a file called `run.py`, which contains an example
of how to use Rasa directly from your python code.
## What’s inside this example?
This example contains some training data and the main files needed to build an
assistant on your local machine. The `restaurantbot` consists of the following files:
- **data/nlu.md** contains training examples for the NLU model
- **data/stories.md** contains training stories for the Core model
- **actions.py** contains some custom actions
- **config.yml** contains the model configuration
- **domain.yml** contains the domain of the assistant
- **endpoints.yml** contains the webhook configuration for the custom action
- **policy.py** contains a custom policy
- **run.py** contains code to train a Rasa model and use it to parse some text
## How to use this example?
To train your restaurant bot, execute
```
rasa train
```
This will store a zipped model file in `models/`.
To chat with the bot on the command line, run
```
rasa shell
```
Or you can start an action server plus a Rasa server by
```
rasa run actions
rasa run -m models --endpoints endpoints.yml
```
For more information about the individual commands, please check out our
[documentation](http://rasa.com/docs/rasa/user-guide/command-line-interface/).
## Encountered any issues?
Let us know about it by posting on [Rasa Community Forum](https://forum.rasa.com)!