https://github.com/drewxs/adam-bot
AI-powered discord bot
https://github.com/drewxs/adam-bot
chatgpt discord discord-bot openai whisper
Last synced: 3 months ago
JSON representation
AI-powered discord bot
- Host: GitHub
- URL: https://github.com/drewxs/adam-bot
- Owner: drewxs
- License: agpl-3.0
- Created: 2023-12-01T06:17:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-19T01:56:02.000Z (about 1 year ago)
- Last Synced: 2025-02-07T05:31:05.927Z (5 months ago)
- Topics: chatgpt, discord, discord-bot, openai, whisper
- Language: Rust
- Homepage:
- Size: 111 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adam (Discord Bot)
Models (OpenAI): gpt-3.5-turbo, whisper-1
## Features
- Messaging
- Reply detection
- Rate limiting
- Comprehensive logging
- Music
- YouTube search
- Queue controls
- Voice
- Live transcriptions
- Transcription-based replies
- Text to speech
- Music controls## Development
#### Requirements
For local development:
- rust
- ffmpeg
- opus
- yt-dlpOR
For Dockerized development:
- docker
- docker-composeCreate a `.env` file from `.env.example`, then tweak `src/cfg.rs` to your needs.
Running:
```sh
# Locally
cargo run# Using Docker
docker-compose up
```### Fine-tuning
#### Requirements
- `python@^3.11`
- `poetry`Create a new file `model/.jsonl` and update the path in `model/tune.py`.
Alternatively, update `model/train.jsonl` directly.To queue up a fine-tuning job on OpenAI:
```sh
cd model
poetry shell
poetry install
poetry run python tune.py
```---
[License](https://github.com/drewxs/adam-bot/blob/main/LICENSE)