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.
- Host: GitHub
- URL: https://github.com/rbourgeat/impai
- Owner: rbourgeat
- License: apache-2.0
- Created: 2023-11-09T02:34:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-06T19:33:29.000Z (about 1 year ago)
- Last Synced: 2024-10-18T21:17:53.832Z (8 months ago)
- Topics: ai, character-ai, chat, docker, game, ggml, gguf, linux, llama, llama-cpp, llm, macos, roleplay, stable-diffusion, windows
- Language: JavaScript
- Homepage:
- Size: 22.5 MB
- Stars: 53
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
![]()
![]()
đ ImpAI is an advanced role play app using large language and diffusion models.
![]()
#
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
#
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
> âšī¸ 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 !
#
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