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
commit c67f626b66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 */