v1.3.0
This commit is contained in:
parent
6700ca083b
commit
dab64d5588
4 changed files with 9 additions and 7 deletions
|
@ -15,9 +15,7 @@ FREQUENCY_PENALTY=0.0
|
||||||
REPLY_COUNT=1
|
REPLY_COUNT=1
|
||||||
SYSTEM_PROMPT="You are ChatGPT, a large language model trained by OpenAI. Respond conversationally"
|
SYSTEM_PROMPT="You are ChatGPT, a large language model trained by OpenAI. Respond conversationally"
|
||||||
TEMPERATURE=0.8
|
TEMPERATURE=0.8
|
||||||
FLOWISE_API_URL="http://flowise:3000/api/v1/prediction/6deb3c89-45bf-4ac4-a0b0-b2d5ef249d21"
|
|
||||||
FLOWISE_API_KEY="U3pe0bbVDWOyoJtsDzFJjRvHKTP3FRjODwuM78exC3A="
|
|
||||||
LC_ADMIN="@admin:xxxxxx.xxx,@admin2:xxxxxx.xxx"
|
LC_ADMIN="@admin:xxxxxx.xxx,@admin2:xxxxxx.xxx"
|
||||||
IMAGE_GENERATION_ENDPOINT="http://localai:8080/v1/images/generations"
|
IMAGE_GENERATION_ENDPOINT="http://127.0.0.1:7860/sdapi/v1/txt2img"
|
||||||
IMAGE_GENERATION_BACKEND="sdwui" # openai or sdwui
|
IMAGE_GENERATION_BACKEND="sdwui" # openai or sdwui
|
||||||
TIMEOUT=120.0
|
TIMEOUT=120.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 1.3.0(unreleased)
|
## 1.3.0
|
||||||
- remove support for bing,bard,pandora
|
- remove support for bing,bard,pandora
|
||||||
- refactor chat logic, add self host model support
|
- refactor chat logic, add self host model support
|
||||||
- support new image generation endpoint
|
- support new image generation endpoint
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This is a simple Matrix bot that support using OpenAI API, Langchain to generate responses from user inputs. The bot responds to these commands: `!gpt`, `!chat` and `!pic` and `!talk`, `!goon`, `!new` and `!lc` and `!help` depending on the first word of the prompt.
|
This is a simple Matrix bot that support using OpenAI API, Langchain to generate responses from user inputs. The bot responds to these commands: `!gpt`, `!chat` and `!pic` and `!new` and `!lc` and `!help` depending on the first word of the prompt.
|
||||||
![ChatGPT](https://i.imgur.com/kK4rnPf.jpeg)
|
![ChatGPT](https://i.imgur.com/kK4rnPf.jpeg)
|
||||||
|
|
||||||
## Feature
|
## Feature
|
||||||
|
@ -92,8 +92,14 @@ To interact with the bot, simply send a message to the bot in the Matrix room wi
|
||||||
```
|
```
|
||||||
!pic A bridal bouquet made of succulents
|
!pic A bridal bouquet made of succulents
|
||||||
```
|
```
|
||||||
|
- `!agent` display or set langchain agent
|
||||||
|
```
|
||||||
|
!agent list
|
||||||
|
!agent use {agent_name}
|
||||||
|
```
|
||||||
- `!new + {chat}` Start a new converstaion
|
- `!new + {chat}` Start a new converstaion
|
||||||
|
|
||||||
|
LangChain(flowise) admin: https://github.com/hibobmaster/matrix_chatgpt_bot/wiki/Langchain-(flowise)
|
||||||
|
|
||||||
## Image Generation
|
## Image Generation
|
||||||
![demo1](https://i.imgur.com/voeomsF.jpg)
|
![demo1](https://i.imgur.com/voeomsF.jpg)
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
"reply_count": 1,
|
"reply_count": 1,
|
||||||
"temperature": 0.8,
|
"temperature": 0.8,
|
||||||
"system_prompt": "You are ChatGPT, a large language model trained by OpenAI. Respond conversationally",
|
"system_prompt": "You are ChatGPT, a large language model trained by OpenAI. Respond conversationally",
|
||||||
"flowise_api_url": "http://flowise:3000/api/v1/prediction/6deb3c89-45bf-4ac4-a0b0-b2d5ef249d21",
|
|
||||||
"flowise_api_key": "U3pe0bbVDWOyoJtsDzFJjRvHKTP3FRjODwuM78exC3A=",
|
|
||||||
"lc_admin": ["@admin:xxxxx.org"],
|
"lc_admin": ["@admin:xxxxx.org"],
|
||||||
"image_generation_endpoint": "http://localai:8080/v1/images/generations",
|
"image_generation_endpoint": "http://localai:8080/v1/images/generations",
|
||||||
"image_generation_backend": "openai",
|
"image_generation_backend": "openai",
|
||||||
|
|
Loading…
Reference in a new issue