Skip to content

๐Ÿ˜ˆ ImpAI is an advanced role play app using large language and diffusion models.

License

Notifications You must be signed in to change notification settings

rbourgeat/ImpAI

Repository files navigation

ImpAI

Python React React

๐Ÿ˜ˆ ImpAI is an advanced role play app using large language and diffusion models.

ImpAI Example

ImpAI Start here

โ„น๏ธ You need NodeJS and Python3.11 or Docker

Run the following commands for download models and build the project:

  • For Linux & MacOS:
bash start.sh
  • For Windows:
start start.bat
  • With Docker:

If you want build from sources:

docker-compose build --build-arg SD_MODEL=stabilityai/sdxl-turbo

Then run it:

bash docker.sh

Open your browser at http://localhost:4242

ImpAI Config

You can change root prompt, prompt and size of images generated at the top right of the screen !

โ„น๏ธ root prompt is the first template used by ImpAI and prompt is the template used for every next messages

ImpAI Settings

โ„น๏ธ You can modify the large language model in the file start.sh (MODEL == file name and MODEL_HF == repository + quantization):

# English Mistral 7b Q4_K_M by default
MODEL=mistral-7b-instruct-v0.1.Q4_K_M.gguf
MODEL_HF=TheBloke/Mistral-7B-Instruct-v0.1-GGUF:q4_k_m

# French Mistral 7b Q4_K_M for example
# MODEL=vigostral-7b-chat.Q4_K_M.gguf
# MODEL_HF=TheBloke/Vigostral-7B-Chat-GGUF:q4_k_m

โ„น๏ธ You can change the stable diffusion model (a hugging face repo) in the file start.sh

# Stable Diffusion Model
SD_MODEL=stabilityai/sdxl-turbo

If you want, you can add non-player characters to your story !

ImpAI NPC

ImpAI Todo List

  • Chat

  • Image

  • Settings

  • NPC

  • Save system

  • Suggested action

  • Multiple users

  • RPG mode with dices

  • Video/GIF output

  • Audio input