2023-04-17 17:16:03 +00:00
## Introduction
2023-05-28 13:38:28 +00:00
This is a simple Mattermost Bot that uses OpenAI's GPT API and Bing AI and Google Bard to generate responses to user inputs. The bot responds to these commands: `!gpt` , `!chat` and `!bing` and `!pic` and `!bard` and `!talk` and `!goon` and `!new` and `!help` depending on the first word of the prompt.
2023-04-17 17:16:03 +00:00
## Feature
2023-05-28 13:38:28 +00:00
1. Support Openai ChatGPT and Bing AI and Google Bard
2023-04-17 17:16:03 +00:00
2. Support Bing Image Creator
2023-05-28 13:38:28 +00:00
3. [pandora ](https://github.com/pengzhile/pandora )
2023-04-17 17:16:03 +00:00
## Installation and Setup
See https://github.com/hibobmaster/mattermost_bot/wiki
Edit `config.json` or `.env` with proper values
```sh
docker compose up -d
```
2023-05-28 13:38:28 +00:00
## Commands
- `!help` help message
- `!gpt + [prompt]` generate a one time response from chatGPT
- `!chat + [prompt]` chat using official chatGPT api with context conversation
- `!bing + [prompt]` chat with Bing AI with context conversation
- `!bard + [prompt]` chat with Google's Bard
- `!pic + [prompt]` generate an image from Bing Image Creator
The following commands need pandora http api: https://github.com/pengzhile/pandora/blob/master/doc/wiki_en.md#http-restful-api
- `!talk + [prompt]` chat using chatGPT web with context conversation
- `!goon` ask chatGPT to complete the missing part from previous conversation
- `!new` start a new converstaion
2023-04-17 17:16:03 +00:00
## Demo
![demo1 ](https://i.imgur.com/XRAQB4B.jpg )
![demo2 ](https://i.imgur.com/if72kyH.jpg )
2023-05-02 02:14:01 +00:00
![demo3 ](https://i.imgur.com/GHczfkv.jpg )
## Thanks
< a href = "https://jb.gg/OpenSourceSupport" target = "_blank" >
< img src = "https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt = "JetBrains Logo (Main) logo." width = "200" height = "200" >
< / a >