rasa-admin
rasa-admin copied to clipboard
An open-source alternative for Rasa-X
Rasa Admin web-app (humble Rasa-X replacement)
A simple, yet useful Rasa backoffice web-app for tracking your Rasa bot conversations with users.. And more.
Features
- Watch Bot<->users conversations on a chat like interface
- Send a message to user ( as Bot )
Built with
- Frontend: React JS
- API Backend: FastAPI, Pydantic, asyncpg
Prerequisites
Your Rasa should have an active PostgreSQL tracker store, or, if you wish to install one, see this guide. Use the same DB connection details for the next step.
Tested only with PostgreSQL.
Installation steps
- Install and run the backend API service (python).
- Install and run the ReactJS app.
All calls to tracker store database and to your Rasa server are handled by the backend api.
1. Install and run backend API service
Configure
Copy .env_sample to .env, then edit it and configure all values:
cd api
cp .env_sample .env
vim .env
Install API
cd api
pyenv virtualenv 3.11.3 rasa-admin-api
pyenv activate rasa-admin-api
pyenv local rasa-admin-api
pip install -e .
Run API
If you have just tool installed:
just run
Or, if not:
uvicorn src.main:app --reload --port 5000
2. Install and run ReactJS app
cd frontend
yarn install
yarn start
Open your browser http://localhost:3000
Upcoming
- Human hand-off — ability to pause and resume bot-user conversation during hand-off.
- Auto refresh
Feel free to suggest features or submit PRs!
License
MIT License
Nester (c) 2023