Skip to content

nesterapp/rasa-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rasa Admin web-app (humble Rasa-X replacement)

A simple Rasa backoffice web-app for tracking your Rasa bot conversations with users.. And more.

screenshot

Features

  • Watch Bot<->users conversations
  • 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 summary

  1. Install and run the backend API service (python).
  2. 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 a local backend API service

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 .

Configure

Copy .env.sample to .env,
then edit to provide PostgreSQL and RASA server details.

cd api
cp .env.sample .env
vim .env

Run API

If you have just tool installed:

just run

Or, if not:

uvicorn src.main:app --reload --port 5000

2. Install and run local 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) 2024