AI Personal Learning
and practical guidance
CyberKnife Drawing Mirror

Base Chat: A Multi-Tenant Chatbot for Building Knowledge Bases Based on Ragie

General Introduction

Base Chat is a multi-tenant chatbot that uses the Ragie Connect connect and talk to the organization's knowledge base. The program is Ragie A multi-featured reference application, built on Next.js, with support for Google Authentication.Base Chat is designed to help users interact with their organization's knowledge base through a chatbot, providing a convenient way to access and manage knowledge. The project is still under active development and future versions may see significant changes.

Base Chat: A Multi-Tenant Chatbot for Building Knowledge Bases Based on Ragie-1


 

Function List

  • Multi-tenant support: Allows multiple organizations to use the same chatbot instance.
  • Ragie Connect Integration: Connect to your organization's knowledge base through Ragie Connect.
  • Google Authentication: Users are authenticated using Google Authentication provided by Auth.js.
  • Database management: Uses a PostgreSQL database to store and manage data.
  • Environment variable configuration: Configure environment variables through the .env file.
  • Database migration: Use the npm script for database migration.
  • development model: Supports fast startup and debugging in development mode.

 

Using Help

Installation process

  1. cloning project: Clone the Base Chat project from GitHub.
   git clone https://github.com/ragieai/basechat.git
cd basechat
  1. Installation of dependencies: Install project dependencies using npm.
   npm install
  1. Creating a database: Create a file named basechat PostgreSQL database.
  2. Configuring Environment Variables: Reproduction env.example file is .env, and set environment variables as needed.
   cp env.example .env
  1. Database migration: Run the database migration script.
   npm run db:migrate
  1. Starting the Development Server: Start the project in development mode.
   npm run dev

Function Operation Guide

  1. user authentication: Users are required to authenticate with their Google account on their first visit, ensuring security and user authentication.
  2. Knowledge Base Connection: Connects to an organization's knowledge base through Ragie Connect, allowing users to query and access information in the knowledge base through a chatbot.
  3. multi-tenant management: Supports simultaneous use by multiple organizations, and administrators can configure separate knowledge bases and user permissions for different organizations.
  4. Environment variable configuration: in .env file to configure the necessary environment variables, such as database connection information, Google authentication information, and so on.
  5. Database management: A PostgreSQL database is used to store user data and chat transcripts, ensuring data security and manageability.
  6. development model: In development mode, developers can quickly start and debug projects, perform functional testing and make code changes.
May not be reproduced without permission:Chief AI Sharing Circle " Base Chat: A Multi-Tenant Chatbot for Building Knowledge Bases Based on Ragie
en_USEnglish