mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
26 lines
791 B
TypeScript
26 lines
791 B
TypeScript
import type { FlowInputItemType } from '@/types/core/app/flow';
|
|
import { SystemInputEnum } from '../app';
|
|
import { FlowInputItemTypeEnum, FlowValueTypeEnum } from './index';
|
|
|
|
export const Input_Template_TFSwitch: FlowInputItemType = {
|
|
key: SystemInputEnum.switch,
|
|
type: FlowInputItemTypeEnum.target,
|
|
label: '触发器',
|
|
valueType: FlowValueTypeEnum.any
|
|
};
|
|
|
|
export const Input_Template_History: FlowInputItemType = {
|
|
key: SystemInputEnum.history,
|
|
type: FlowInputItemTypeEnum.target,
|
|
label: '聊天记录',
|
|
valueType: FlowValueTypeEnum.chatHistory
|
|
};
|
|
|
|
export const Input_Template_UserChatInput: FlowInputItemType = {
|
|
key: SystemInputEnum.userChatInput,
|
|
type: FlowInputItemTypeEnum.target,
|
|
label: '用户问题',
|
|
required: true,
|
|
valueType: FlowValueTypeEnum.string
|
|
};
|