mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-15 15:00:58 +00:00
perf: unify entities
This commit is contained in:
@@ -40,9 +40,8 @@ stages:
|
||||
label:
|
||||
en_US: Model
|
||||
zh_CN: 模型
|
||||
type: select
|
||||
type: llm-model-selector
|
||||
required: true
|
||||
scope: /provider/models/llm
|
||||
- name: max-round
|
||||
label:
|
||||
en_US: Max Round
|
||||
@@ -54,16 +53,8 @@ stages:
|
||||
label:
|
||||
en_US: Prompt
|
||||
zh_CN: 提示词
|
||||
type: array
|
||||
type: prompt-editor
|
||||
required: true
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
role:
|
||||
type: string
|
||||
default: user
|
||||
content:
|
||||
type: string
|
||||
- name: dify-service-api
|
||||
label:
|
||||
en_US: Dify Service API
|
||||
|
||||
@@ -28,11 +28,9 @@ stages:
|
||||
description:
|
||||
en_US: The prefix of the message
|
||||
zh_CN: 消息前缀
|
||||
type: array
|
||||
type: array[string]
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
- name: regexp
|
||||
label:
|
||||
en_US: Regexp
|
||||
@@ -40,11 +38,9 @@ stages:
|
||||
description:
|
||||
en_US: The regexp of the message
|
||||
zh_CN: 消息正则表达式
|
||||
type: array
|
||||
type: array[string]
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
- name: random
|
||||
label:
|
||||
en_US: Random
|
||||
@@ -83,20 +79,16 @@ stages:
|
||||
label:
|
||||
en_US: Blacklist
|
||||
zh_CN: 黑名单
|
||||
type: array
|
||||
type: array[string]
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
- name: whitelist
|
||||
label:
|
||||
en_US: Whitelist
|
||||
zh_CN: 白名单
|
||||
type: array
|
||||
type: array[string]
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
- name: ignore-rules
|
||||
label:
|
||||
en_US: Ignore Rules
|
||||
@@ -109,11 +101,9 @@ stages:
|
||||
description:
|
||||
en_US: The prefix of the message
|
||||
zh_CN: 消息前缀
|
||||
type: array
|
||||
type: array[string]
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
- name: regexp
|
||||
label:
|
||||
en_US: Regexp
|
||||
@@ -121,8 +111,6 @@ stages:
|
||||
description:
|
||||
en_US: The regexp of the message
|
||||
zh_CN: 消息正则表达式
|
||||
type: array
|
||||
type: array[string]
|
||||
required: true
|
||||
default: []
|
||||
items:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user