Giter VIP home page Giter VIP logo

rasa-admin's Introduction

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

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.