ai-shifu

ai-shifu

LLM-powered AI guide that leads and drives intelligent conversations

Stars: 91

Visit
 screenshot

AI-Shifu is an AI-led chat flow tool powered by LLM that provides an interactive and immersive experience for users. It allows users to follow a preset chat flow while being able to ask questions and affect the conversation. The tool can make personalized outputs based on user identity, interests, and preferences, making users feel like they are receiving one-on-one service. It is suitable for education, storytelling, product guides, surveys, and game NPC scenarios.

README:

Shifu (master) mode: Expert-led, AI-delivered, user follows, interaction at any time

English | 简体中文

AI-Shifu is a guide powered by LLM. Unlike other human-led chatbots, AI-Shifu is AI-led chat flow, and humans just need to follow. Although in the process, humans can ask questions at any time and affect the content of the conversation, it will eventually return to the AI-led storyline. And AI can make personalized output based on user identity, interests, and preferences, making users feel like they are being served one-on-one. In education, storytelling, product guides, surveys, and game NPC scenarios, AI-Shifu can provide a more interactive and immersive experience.

Features

  1. Controllable Chat Flow: Use preset prompts to constrain AI's output and control the chat process.
  2. Interactive: Allow asking questions to the user and obtaining feedback.
  3. Personalized: Make personalized output based on user input such as identity, interests, and preferences.
  4. Q & A: Ask questions based on context at any time to get more information.
  5. Script Development Environment: Use Lark multi-dimensional tables as an editor, combined with a debugger, to easily debug script prompts.

Roadmap

  • [ ] Better script development environment, abandon the dependency on Lark
  • [ ] Refactor the user experience of Q & A
  • [ ] Support knowledge base
  • [ ] Continuous output mode
  • [ ] Speech input and output

Using AI-Shifu

Platform

AI-Shifu.com is an education platform powered by AI-Shifu. You can try it and learn the AI-guided courses developed by human experts.

Self-hosting

Make sure your machine has installed Docker and Docker Compose.

Using Docker Hub image

git clone https://github.com/ai-shifu/ai-shifu.git
cd ai-shifu/docker
cp .env.example .env
# Modify the configuration in the .env file. At least one LLM access key should be configured, and set DEFAULT_LLM_MODEL to the name of the model
docker compose up -d

Then visit http://localhost:8080.

Building from source code

Building docker image

git clone https://github.com/ai-shifu/ai-shifu.git
cd ai-shifu/docker
cp .env.example .env
# Modify the configuration in the .env file. At least one LLM access key should be configured, and set DEFAULT_LLM_MODEL to the name of the model
./dev_in_docker.sh

Then visit http://localhost:8080.

Building and configuring from source code directly

Install Manual

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for ai-shifu

Similar Open Source Tools

For similar tasks

For similar jobs