Loading repository data…
Loading repository data…
boshyxd / repository
Run state-of-the-art language models locally. Chat with AI using simple slash commands. Zero cloud, zero cost – just pure, home-brewed AI magic.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
DiscordLLM is a powerful Discord bot that brings the capabilities of large language models right to your server, running entirely on your local machine. No cloud services, no API costs – just pure, home-brewed local AI at your fingertips.
Clone the repository:
git clone https://github.com/boshyxd/DiscordLLM.git
cd DiscordLLM
Install required dependencies:
pip install -r requirements.txt
Set up your Discord bot:
Configure the bot:
YOUR_BOT_TOKEN with your actual bot tokenInstall and run Ollama:
ollama run qwen2:1.5b
Start the bot:
python bot.py
Once the bot is running and invited to your server, you can interact with it using slash commands:
/ask <your question>: Ask the AI a questionExample:
/ask What is the capital of France?
Currently, DiscordLLM is configured to use the Qwen2 1.5B model, but it can be easily adapted to use any model supported by Ollama. To use a different model:
ollama pull model_name
default_model in config.jsonContributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MIT License. See LICENSE for more information.
Angus Bailey - AngusB@techie.com
Project Link: https://github.com/boshyxd/DiscordLLM