feat(lobe chat): add lobe chat app
This commit is contained in:
parent
c0fcd9ae32
commit
6ca769acbc
41
apps/lobe-chat/config.json
Normal file
41
apps/lobe-chat/config.json
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"name": "Lobe Chat",
|
||||||
|
"available": true,
|
||||||
|
"port": 3210,
|
||||||
|
"exposable": true,
|
||||||
|
"id": "lobe-chat",
|
||||||
|
"description": "LobeChat is an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible (Function Call) plugin system.",
|
||||||
|
"tipi_version": 1,
|
||||||
|
"version": "0.116.4",
|
||||||
|
"categories": ["utilities", "ai", "development"],
|
||||||
|
"short_desc": "LLM chatbot framework",
|
||||||
|
"author": "https://github.com/lobehub",
|
||||||
|
"source": "https://github.com/lobehub/lobe-chat",
|
||||||
|
"website": "https://github.com/lobehub/lobe-chat",
|
||||||
|
"form_fields": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "OpenAI API Key",
|
||||||
|
"required": true,
|
||||||
|
"env_variable": "OPENAI_API_KEY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fqdn",
|
||||||
|
"label": "OpenAI API URL",
|
||||||
|
"required": false,
|
||||||
|
"env_variable": "OPENAI_PROXY_URL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Custom Models",
|
||||||
|
"required": false,
|
||||||
|
"env_variable": "CUSTOM_MODELS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "password",
|
||||||
|
"label": "Password",
|
||||||
|
"required": false,
|
||||||
|
"env_variable": "ACCESS_CODE"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
15
apps/lobe-chat/docker-compose.yml
Normal file
15
apps/lobe-chat/docker-compose.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
lobe-chat:
|
||||||
|
container_name: lobe-chat
|
||||||
|
image: lobehub/lobe-chat:v0.116.4
|
||||||
|
environment:
|
||||||
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||||
|
- OPENAI_PROXY_URL=${OPEANAI_PROXY_URL}
|
||||||
|
- CUSTOM_MODELS=${CUSTOM_MODELS}
|
||||||
|
- ACCESS_CODE=${ACCESS_CODE}
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:3210
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
13
apps/lobe-chat/metadata/description.md
Normal file
13
apps/lobe-chat/metadata/description.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Lobe Chat
|
||||||
|
|
||||||
|
LobeChat is an open-source, high-performance chatbot framework that supports
|
||||||
|
speech synthesis, multimodal, and extensible
|
||||||
|
([Function Call](https://sspai.com/post/81986)) plugin system.
|
||||||
|
|
||||||
|
## Settings
|
||||||
|
| Environment Variable | Required | Description | Example |
|
||||||
|
| -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
|
| `OPENAI_API_KEY` | Yes | This is the API key you apply on the OpenAI account page | `sk-xxxxxx...xxxxxx` |
|
||||||
|
| `OPENAI_PROXY_URL` | No | If you manually configure the OpenAI interface proxy, you can use this configuration item to override the default OpenAI API request base URL | `https://api.chatanywhere.cn/v1`<br/>The default value is<br/>`https://api.openai.com/v1` |
|
||||||
|
| `ACCESS_CODE` | No | Add a password to access this service; you can set a long password to avoid leaking. If this value contains a comma, it is a password array. | `awCTe)re_r74` or `rtrt_ewee3@09!` or `code1,code2,code3` |
|
||||||
|
| `CUSTOM_MODELS` | No | Used to control the model list. Use `+` to add a model, `-` to hide a model, and `model_name=display_name` to customize the display name of a model, separated by commas. | `qwen-7b-chat,+glm-6b,-gpt-3.5-turbo` |
|
BIN
apps/lobe-chat/metadata/logo.jpg
Normal file
BIN
apps/lobe-chat/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
Loading…
Reference in New Issue
Block a user