hammy

module
v0.0.0-...-6723ada Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT

README

Hammy

Bot built for Discord w/ Golang and discordgo.

Running hammy (local)

  • Clone the repo
  • Install Golang
  • Set environment variables (see .env file):
    • DISCORD_BOT_TOKEN: Create a discord application and bot token for development testing here
  • Start docker dev (make option available)
  • Run bot with go run command

GPU acceleration

Hammy runs ML models in Ollama. The docker-compose-dev.yml file starts up an ollama container without gpu access. If you have an nvidia gpu and would like to use the gpu acceleration run make up-gpu instead which will allow the container to use the gpu as long as you have the nvidia container toolkit installed

Hammy does not currently support AMD gpu acceleration.

make up
go run ./cmd/hammy/

Directories

Path Synopsis
cmd
hammy command
internal
bot
llm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL