Skip to content

Ollama integrated Discord bot with tool_calls to browse web, vision compatible, and more...

Notifications You must be signed in to change notification settings

neoluigi4123/Ollamacord

Repository files navigation

🦙 Ollamacord

Welcome to Ollamacord! ✨

A cute, experimental Python project for connecting LLMs (like Ollama) to Discord bots, with a sprinkle of RAG, web search, and more! Designed for tinkerers, learners, and anyone who wants to make their Discord bot a lil' smarter. UwU


✨ Capabilities / Tool Calls

  • LLM chat (Ollama, local or remote)
  • RAG (past memories, file upload)
  • Web search integration
  • Gif support
  • Modular scripting
  • Easy config and logging

📝 Changelogs

  • First upload! (v0.1, September 2025)

📋 To-Do

  • (Nothing here yet! Got ideas? PRs welcome~)

🚀 Installation & Setup

  1. Install Ollama (if you want to host your own LLM):
  2. Clone this repo:
    git clone https://github.com/neoluigi4123/Ollamacord.git
    cd Ollamacord
  3. Create a virtual environment:
    python -m venv venv
    .\venv\Scripts\activate
  4. Install requirements:
    pip install -r requirements.txt
  5. Run the bot:
    python main.py

You'll have to download the model from ollama first. Please use a model with vision capabilities if images can be sent in the discord channel.


⚙️ Configuration

All the magic happens in config.py! You can set up:

  • Ollama endpoint (local or remote)
  • Discord bot token
  • Logging options
  • Web search API keys
  • And more! (Check the comments in config.py for all the deets~)

🧪 Experiments (Scrapped)

  • Old versions tried image generation and TTS (text-to-speech) replies, but... my potato PC said "nope" 🥔💨
  • If you got the compute, feel free to fork and try again!

🤝 Contributors

  • None yet! Wanna help? Open an issue or PR, or just say hi~

Made with 💖

About

Ollama integrated Discord bot with tool_calls to browse web, vision compatible, and more...

Topics

Resources

Stars

Watchers

Forks

Languages