https://github.com/ricoledan/rasa-docker-demo
💬 Rasa NLU example
https://github.com/ricoledan/rasa-docker-demo
Last synced: 3 days ago
JSON representation
💬 Rasa NLU example
- Host: GitHub
- URL: https://github.com/ricoledan/rasa-docker-demo
- Owner: Ricoledan
- Created: 2021-09-16T21:09:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-27T16:41:18.000Z (over 4 years ago)
- Last Synced: 2025-02-27T19:58:00.047Z (over 1 year ago)
- Language: Python
- Size: 23.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rasa-docker-demo
Rasa NLU
## :speech_balloon: Introduction
## Setting up
## Install Rasa
`https://rasa.com/docs/rasa/installation/`
### Set up python environment
Create virtual environment
```Bash
python3.8 -m venv venv
```
Activate Environment
```Bash
source venv/bin/activate
```
Install dependencies
```Bash
python3 -m pip install -r requirements.txt
```
Lock dependencies
```Bash
pip freeze > requirements.txt
```
### Run application
1. Build container using Dockerfile from root directory
```Bash
docker build -t rasa .
```
2. Start the NLU server using newly build docker container
```Bash
docker run -p 5005:5005 rasa
```
Test Application locally
```Bash
rasa run --enable-api -m models/20210824-134134.tar.gz --port 5005
```