SuperAPIAI Directory

RasaGPT

github.com · AI agents

RasaGPT is a headless LLM chatbot platform built on Rasa and Langchain, providing boilerplate integrations for FastAPI, LlamaIndex, pgvector, Telegram, and more, used for document indexing, retrieval, and context injection, and is a reference implementation rather than production-grade code.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Purpose: RasaGPT is a headless LLM chatbot platform boilerplate and reference implementation that combines Rasa's dialogue management with Langchain/LlamaIndex's indexing, retrieval, and context injection, and comes with out-of-the-box components such as a FastAPI backend, document upload and "training" workflow, Telegram integration, pgvector vector retrieval, and ngrok reverse proxy.

Main capabilities: Provides document upload and training endpoints via FastAPI, supports document versioning and automatic retraining after upload; uses Langchain/LlamaIndex to index corpora and perform similarity retrieval and context injection; implements vector retrieval based on pgvector and custom Postgres functions; supports multi-tenancy, sessions, and metadata; the bot can determine whether human handoff is needed and automatically generate tags; provides Swagger/Redoc API documentation, PGAdmin, and real-time logs; includes built-in sample data.

Usage: Requires Docker and Docker Compose, an OpenAI API key, Telegram bot credentials, an ngrok auth token, and Make. Running make in the root directory displays the command list, and make install installs and starts the services in sequence; a separate Makefile can also be used to create a local Python virtual environment. The installation process includes initializing the pgvector database, creating the table schema, training the Rasa model, configuring ngrok and the Telegram webhook, starting the Rasa actions service, and populating sample data. After startup, you can chat via https://t.me/yourbotsname , view logs via https://localhost:9999/ , and view API documentation via https://localhost:8888/docs . Non-macOS users need to change the image name on line 64 of docker-compose.yml and line 1 of the actions Dockerfile from khalosa/rasa-aarch64:3.5.2 to rasa/rasa:latest.

Applicable scenarios: help desks, customer support, quizzes, online learning, and other scenarios that require document question answering and dialogue management.

Limitations: The author explicitly states that this is far from production code and has prompt injection and general security vulnerabilities; retrieval is not optimized, currently using 1000-character chunking and basic Euclidean distance, with unstable quality; Rasa natively does not support multi-tenancy and requires custom extension.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools