Skip to content

Discord Bot that utilizes Ollama to interact with any Large Language Models to talk with users and allow them to host/create their own models.

License

Notifications You must be signed in to change notification settings

paulsybrandy/discord-ollama

 
 

Repository files navigation

ollama+discord

Discord Ollama Integration

Ollama as your Discord AI Assistant

License Release Build Status

About/Goals

Ollama is an AI model management tool that allows users to install and use custom large language models locally.
The project aims to:

  • Create a Discord bot that will utilize Ollama and chat to chat with users!
    • User Preferences on Chat
    • Message Persistance on Channels and Threads
    • Containerization with Docker
    • Slash Commands Compatible
    • Generated Token Length Handling for >2000 or >6000 characters
      • Token Length Handling of any message size
    • External WebUI Integration
    • Administrator Role Compatible
  • Allow others to create their own models personalized for their own servers!
    • Documentation on creating your own LLM
    • Documentation on web scrapping and cleaning

Environment Setup

  • Clone this repo using git clone https://github.com/kevinthedang/discord-ollama.git or just use GitHub Desktop to clone the repo.
  • You will need a .env file in the root of the project directory with the bot's token. There is a .env.sample is provided for you as a reference for what environment variables.
    • For example, CLIENT_TOKEN = [Bot Token]
  • Please refer to the docs for bot setup. NOTE: These guides assume you already know how to setup a bot account for discord.

Resources

Acknowledgement

discord-ollama © 2023 by Kevin Dang is licensed under CC BY 4.0

About

Discord Bot that utilizes Ollama to interact with any Large Language Models to talk with users and allow them to host/create their own models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • Dockerfile 1.1%