Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

hibobmaster/mattermost_bot

Open more actions menu

Repository files navigation

Introduction

This is a simple Mattermost Bot that uses OpenAI's GPT API(or self-host models) to generate responses to user inputs. The bot responds to these commands: !gpt, !chat and !new and !help depending on the first word of the prompt.

Feature

  1. Support official openai api and self host models(LocalAI)
  2. Image Generation with DALL·E or LocalAI or stable-diffusion-webui

Installation and Setup

See https://github.com/hibobmaster/mattermost_bot/wiki

Edit config.json or .env with proper values

docker compose up -d

Commands

  • !help help message

  • !gpt + [prompt] generate a one time response from chatGPT

  • !chat + [prompt] chat using official chatGPT api with context conversation

  • !pic + [prompt] Image generation with DALL·E or LocalAI or stable-diffusion-webui

  • !new start a new converstaion

Demo

Remove support for Bing AI, Google Bard due to technical problems. gpt command image generation

Thanks

JetBrains Logo (Main) logo.

About

A simple mattermost bot that supports image generation and chatting with ChatGPT

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.