chat box
This commit is contained in:
@@ -2,12 +2,15 @@ import type { AppItemType } from '@/types/app';
|
||||
|
||||
/* app */
|
||||
export enum AppModuleItemTypeEnum {
|
||||
'userGuide' = 'userGuide', // default chat input: userChatInput, history
|
||||
'initInput' = 'initInput', // default chat input: userChatInput, history
|
||||
'http' = 'http', // send a http request
|
||||
'switch' = 'switch', // one input and two outputs
|
||||
'answer' = 'answer' // redirect response
|
||||
}
|
||||
export enum SystemInputEnum {
|
||||
'welcomeText' = 'welcomeText',
|
||||
'variables' = 'variables',
|
||||
'switch' = 'switch', // a trigger switch
|
||||
'history' = 'history',
|
||||
'userChatInput' = 'userChatInput'
|
||||
@@ -15,6 +18,10 @@ export enum SystemInputEnum {
|
||||
export enum SpecificInputEnum {
|
||||
'answerText' = 'answerText' // answer module text key
|
||||
}
|
||||
export enum VariableInputEnum {
|
||||
input = 'input',
|
||||
select = 'select'
|
||||
}
|
||||
|
||||
// template
|
||||
export const appTemplates: (AppItemType & { avatar: string; intro: string })[] = [
|
||||
|
||||
Reference in New Issue
Block a user