Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drewxs/adam-bot
Discord bot utilizing OpenAI models
https://github.com/drewxs/adam-bot
chatgpt discord discord-bot
Last synced: 5 days ago
JSON representation
Discord bot utilizing OpenAI models
- Host: GitHub
- URL: https://github.com/drewxs/adam-bot
- Owner: drewxs
- License: agpl-3.0
- Created: 2023-12-01T06:17:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-19T01:56:02.000Z (9 months ago)
- Last Synced: 2024-05-19T02:38:15.595Z (9 months ago)
- Topics: chatgpt, discord, discord-bot
- Language: Rust
- Homepage:
- Size: 110 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)