mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
Feat: Support re-segmentation (#114)
Co-authored-by: John Wang <takatost@gmail.com> Co-authored-by: Jyong <718720800@qq.com> Co-authored-by: 金伟强 <iamjoel007@gmail.com>
This commit is contained in:
@@ -38,16 +38,16 @@ export type PromptVariable = {
|
||||
}
|
||||
|
||||
export type TextTypeFormItem = {
|
||||
label: string,
|
||||
variable: string,
|
||||
label: string
|
||||
variable: string
|
||||
required: boolean
|
||||
max_length: number
|
||||
}
|
||||
|
||||
export type SelectTypeFormItem = {
|
||||
label: string,
|
||||
variable: string,
|
||||
required: boolean,
|
||||
label: string
|
||||
variable: string
|
||||
required: boolean
|
||||
options: string[]
|
||||
}
|
||||
/**
|
||||
@@ -59,7 +59,6 @@ export type UserInputFormItem = {
|
||||
'select': SelectTypeFormItem
|
||||
}
|
||||
|
||||
|
||||
export type ToolItem = {
|
||||
dataset: {
|
||||
enabled: boolean
|
||||
@@ -195,7 +194,7 @@ export type App = {
|
||||
icon: string
|
||||
/** Icon Background */
|
||||
icon_background: string
|
||||
|
||||
|
||||
/** Mode */
|
||||
mode: AppMode
|
||||
/** Enable web app */
|
||||
|
||||
Reference in New Issue
Block a user