An open API service indexing awesome lists of open source software.

https://github.com/rbourgeat/impai

😈 ImpAI is an advanced role play app using large language and diffusion models.
https://github.com/rbourgeat/impai

ai character-ai chat docker game ggml gguf linux llama llama-cpp llm macos roleplay stable-diffusion windows

Last synced: about 2 months ago
JSON representation

😈 ImpAI is an advanced role play app using large language and diffusion models.

Awesome Lists containing this project

README

        


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](https://nodejs.org) and [Python3.11](https://www.python.org) or [Docker](https://www.docker.com/)

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

- For Linux & MacOS:

```bash
bash start.sh
```

- For Windows:

```bat
start start.bat
```

- With Docker:

If you want build from sources:

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

Then run it:

```bash
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`):

```bash
# 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](https://huggingface.co/)) in the file `start.sh`

```bash
# 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

- [x] Chat

- [x] Image

- [x] Settings

- [x] NPC

- [ ] Save system

- [ ] Suggested action

- [ ] Multiple users

- [ ] RPG mode with dices

- [ ] Video/GIF output

- [ ] Audio input