Kevin Dang 727731695e Chat Queue Persistence (#33)
* fix: workflow env

* update: center title on readme

* update: readme goals and format

* add: icons in readme

* fix: plus margin

* update: environment variables in contr.

* add: queue for chat history

* add: set -e for workflow failure

* update: version increment

* fix: client null info

* fix: shutoff issues
2024-04-02 22:04:09 -07:00
2024-04-02 22:04:09 -07:00
2024-04-02 22:04:09 -07:00
2024-04-02 22:04:09 -07:00
2024-04-01 00:43:19 -07:00
2023-12-22 11:22:16 -08:00
2024-04-02 22:04:09 -07:00
2024-04-02 22:04:09 -07:00
2024-04-02 22:04:09 -07:00
2024-01-31 10:28:02 -08:00

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
    • 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-NC 4.0

Languages
TypeScript 99.8%
Dockerfile 0.2%