Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eidiinnn/rust-discord-bot
A Discord bot made in Rust with IA functionalities.
https://github.com/eidiinnn/rust-discord-bot
bot discord llama3 rust
Last synced: about 1 month ago
JSON representation
A Discord bot made in Rust with IA functionalities.
- Host: GitHub
- URL: https://github.com/eidiinnn/rust-discord-bot
- Owner: eidiinnn
- License: mit
- Created: 2024-09-02T23:18:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T23:18:46.000Z (2 months ago)
- Last Synced: 2024-11-18T23:21:06.363Z (2 months ago)
- Topics: bot, discord, llama3, rust
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Discord Bot
A Discord bot made in Rust with IA functionalities.## How Install
Simple way to install and run this project on your computer.
### Install LLAMA3.2 by docker
I Recomend to use a computer with GPU, if you don't have it, remove the `--gpus=all` from the first command
```bash
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
docker exec -it ollama ollama run llama3.2
```### Install Redis by docker
```bash
docker run --name redis -p 6379:6379 -d redis
```More informatation on: https://hub.docker.com/r/ollama/ollama
### Project clone
```bash
git clone https://github.com/eidiinnn/rust-discord-bot
cd rust-discord-bot
```### .env file Setup
```
GUILD_ID=The Discord server guild
TOKEN=Your Discord token
```### Start the project
```bash
cargo run
```
### Bot usage
Go to any chat on GUILD_ID Discord server you put, and use / in the chat to see the available commands.