No description
Find a file
Augusto Dwenger J e6524a4308 Add support for direct replays in DM
While having a large context can be a nice feature but it also causes
problems when it exceeds the max context length supported by OpenAI.
2023-06-16 13:43:53 +02:00
bot Add support for direct replays in DM 2023-06-16 13:43:53 +02:00
db Add support to use chat hitory for context in private chats 2023-05-21 20:03:34 +02:00
migration Move dependency version management from module to parent pom 2023-05-21 19:04:20 +02:00
web Fix starting web with virtual threads 2023-05-21 22:44:41 +02:00
.containerignore Adjust container image build to support multi modules 2023-05-16 01:51:45 +02:00
.env.example Update deployment 2023-05-20 20:22:00 +02:00
.gitignore Update deployment 2023-05-20 20:22:00 +02:00
build.sh Adjust container image build to support multi modules 2023-05-16 01:51:45 +02:00
Containerfile Adjust container image build to support multi modules 2023-05-16 01:51:45 +02:00
docker-compose.yml Add explicit use of env-file in compose 2023-06-11 20:43:00 +02:00
LICENSE Change license from MIT to MPL-2.0 2023-05-16 03:06:52 +02:00
pom.xml Move dependency version management from module to parent pom 2023-05-21 19:04:20 +02:00
README.md Update deployment 2023-05-20 20:22:00 +02:00

dchat

A ChatGPT Bot for Discord.

Installation

Requirements:

Clone the project

git clone https://git.hhhammer.de/hamburghammer/dchat.git
cd dchat

Obtain the images

Build the images

docker compose build

Pull the prebuilt images

docker compose pull

Configure environment

cp .env.example .env

Fill the required variables.

Start

For the fist time we want to start the containers in the following order:

First crate the DB.

docker compose up -d db

Crate the required tables and migrate already existing data.

docker compose up -d migration

Start the final apps.

docker compose up -d

Invite

Invite the bot through the link provided in the container logs.

docker compose logs bot

LICENSE

The software is licensed under the MPL-2.0 license.