测试应用 首席情报官(Wiseflow)

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-08-15 12:54:39 +08:00
parent 123dd0a6b8
commit 2717cf8240
8 changed files with 172 additions and 0 deletions

View File

@ -0,0 +1,68 @@
additionalProperties:
formFields:
- default: "/home/wiseflow"
edit: true
envKey: WISEFLOW_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8090
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh:
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 8077
edit: true
envKey: PANEL_APP_PORT_BACKEND
labelZh: 后端服务端口
labelEn: Backend service port
required: true
rule: paramPort
type: number
- default: "https://api.siliconflow.cn/v1"
edit: true
envKey: LLM_API_BASE
labelZh: LLM API 地址
labelEn: LLM API address
required: true
rule: paramExtUrl
type: text
- default: ""
edit: true
envKey: LLM_API_KEY
labelZh: LLM API 密钥
labelEn: LLM API key
required: false
type: text
- default: "test@example.com|1234567890"
edit: true
envKey: PB_API_AUTH
labelZh: PB数据库 账户密码
labelEn: PB database account password
required: true
type: text
- default: "zhipuai/glm4-9B-chat"
edit: true
envKey: GET_INFO_MODEL
labelZh: 信息提炼与标签匹配任务模型
labelEn: Information extraction and label matching task model
required: true
type: text
- default: "alibaba/Qwen2-7B-Instruct"
edit: true
envKey: REWRITE_MODEL
labelZh: 近似信息合并改写任务模型
labelEn: Approximate information merge rewrite task model
required: true
type: text
- default: "alibaba/Qwen2-7B-Instruct"
edit: true
envKey: HTML_PARSE_MODEL
labelZh: 网页解析模型
labelEn: Web page parsing model
required: true
type: text

View File

@ -0,0 +1,31 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
wiseflow:
image: qyg2297248353/wiseflow:v0.3.1
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
tty: true
stdin_open: true
ports:
- ${PANEL_APP_PORT_HTTP}:8090
- ${PANEL_APP_PORT_BACKEND}:8077
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${WISEFLOW_ROOT_PATH}/pb_data:/app/pb/pb_data
- ${WISEFLOW_ROOT_PATH}/data:/app/data
environment:
- TZ=Asia/Shanghai
- LANG=zh_CN.UTF-8
- LC_ALL=zh_CN.UTF-8
- WS_LOG=verbose

View File

@ -0,0 +1,15 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -0,0 +1,15 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

15
apps/wiseflow/README.md Normal file
View File

@ -0,0 +1,15 @@
# Wiseflow 首席情报官
一款注重隐私、安全可控的自定义通知推送工具。
![Bark](https://file.lifebus.top/imgs/bark_logo.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 特性
Pass
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

18
apps/wiseflow/data.yml Normal file
View File

@ -0,0 +1,18 @@
name: Wiseflow 首席情报官
title: Wiseflow 首席情报官
description: 通知推送工具
additionalProperties:
key: wiseflow
name: Wiseflow 首席情报官
tags:
- WebSite
- Tool
- Local
shortDescZh: Wiseflow 首席情报官
shortDescEn: Wiseflow Chief Intelligence Officer
type: website
crossVersionUpdate: true
limit: 0
website: https://github.com/TeamWiseFlow/wiseflow/
github: https://github.com/TeamWiseFlow/wiseflow/
document: https://github.com/TeamWiseFlow/wiseflow/

BIN
apps/wiseflow/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB