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:
KVOJJJin
2023-06-01 23:19:36 +08:00
committed by GitHub
parent f65a3ad1cc
commit c67f626b66
61 changed files with 1166 additions and 759 deletions

View File

@@ -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 */