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:
- [x] Create a Discord bot that will utilize Ollama and chat to chat with users!
- [x] User Preferences on Chat
- [x] Message Persistance on Channels and Threads
- [x] Threads
- [x] Channels
- [x] Containerization with Docker
- [x] Slash Commands Compatible
- [x] Generated Token Length Handling for >2000
- [x] Token Length Handling of any message size
- [x] User vs. Server Preferences
- [ ] Redis Caching
- [x] Administrator Role Compatible
- [x] Multi-User Chat Generation (Multiple users chatting at the same time) - This was built in from Ollama
v0.2.1+
- [x] Automatic and Manual model pulling through the Discord client
- [ ] Allow others to create their own models personalized for their own servers!
- [ ] Documentation on creating your own LLM
- [ ] Documentation on web scrapping and cleaning
Documentation
These are guides to the feature set included and the events triggered in this app.
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.
Resources
Acknowledgement
discord-ollama © 2023 by Kevin Dang is licensed under CC BY 4.0