RAG-GPT
Quickly launch an intelligent customer service system with Flask, LLM, RAG, including frontend, backend, and admin console.
Live Demo
# Contents
- [Features](#features)
- [Online Retrieval Architecture](#online-retrieval-architecture)
- [Deploy the RAG-GPT Service](#deploy-the-rag-gpt-service)
- [Step 1: Download repository code](#step-1-download-repository-code)
- [Step 2: Configure variables of .env](#step-2-configure-variables-of-env)
- [Using OpenAI as the LLM base](#using-openai-as-the-llm-base)
- [Using ZhipuAI as the LLM base](#using-zhipuai-as-the-llm-base)
- [Using DeepSeek as the LLM base](#using-deepseek-as-the-llm-base)
- [Using Moonshot as the LLM base](#using-moonshot-as-the-llm-base)
- [Using local LLMs](#using-local-llms)
- [Step 3: Deploy RAG-GPT](#step-3-deploy-rag-gpt)
- [Deploy RAG-GPT using Docker](#deploy-rag-gpt-using-docker)
- [Deploy RAG-GPT from source code](#deploy-rag-gpt-from-source-code)
- [Set up the Python running environment](#set-up-the-python-running-environment)
- [Create and activate a virtual environment](#create-and-activate-a-virtual-environment)
- [Install dependencies with pip](#install-dependencies-with-pip)
- [Create SQLite Database](#create-sqlite-database)
- [Start the service](#start-the-service)
- [Configure the admin console](#configure-the-admin-console)
- [Login to the admin console](#login-to-the-admin-console)
- [Import your data](#import-your-data)
- [import websites](#import-websites)
- [import isolated urls](#import-isolated-urls)
- [import local files](#import-local-files)
- [Test the chatbot](#test-the-chatbot)
- [Embed on your website](#embed-on-your-website)
- [Dashboard of user's historical request](#dashboard-of-users-historical-request)
- [The frontend of admin console and chatbot](#the-frontend-of-admin-console-and-chatbot)
- [admin console](#admin-console)
- [chatbot](#chatbot)
## Features
- **Built-in LLM Support**: Support cloud-based LLMs and local LLMs.
- **Quick Setup**: Enables deployment of production-level conversational service robots within just five minutes.
- **Diverse Knowledge Base Integration**: Supports multiple types of knowledge bases, including websites, isolated URLs, and local files.
- **Flexible Configuration**: Offers a user-friendly backend equipped with customizable settings for streamlined management.
- **Attractive UI**: Features a customizable and visually appealing user interface.
## Online Retrieval Architecture