mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-17 07:32:59 +00:00
[feature](weaapp) add agent
This commit is contained in:
@@ -40,13 +40,13 @@ export const THEME_COLOR_LIST = [
|
||||
'#5CA9E6',
|
||||
];
|
||||
|
||||
export const PARSE_ERROR_TIP = '小Q不太懂您说什么呐,回去一定补充知识';
|
||||
export const PARSE_ERROR_TIP = '智能助理不太懂您说什么呐,回去一定补充知识';
|
||||
|
||||
export const SEARCH_EXCEPTION_TIP = '查询出错啦,智能小Q还不够聪明,请您换个表达再试试';
|
||||
export const SEARCH_EXCEPTION_TIP = '查询出错啦,智能助理还不够聪明,请您换个表达再试试';
|
||||
|
||||
export const MSG_VALID_TIP = {
|
||||
[MsgValidTypeEnum.SEARCH_EXCEPTION]: '数据查询异常',
|
||||
[MsgValidTypeEnum.INVALID]: '小Q不太懂您说什么呐,回去一定补充知识',
|
||||
[MsgValidTypeEnum.INVALID]: '智能助理不太懂您说什么呐,回去一定补充知识',
|
||||
};
|
||||
|
||||
export const PREFIX_CLS = 'ss-chat';
|
||||
|
||||
@@ -51,10 +51,21 @@ export type FilterItemType = {
|
||||
value: string[];
|
||||
};
|
||||
|
||||
export type ModelType = {
|
||||
alias: string;
|
||||
bizName: string;
|
||||
id: number;
|
||||
model: number;
|
||||
name: string;
|
||||
type: string;
|
||||
useCnt: number;
|
||||
}
|
||||
|
||||
export type ChatContextType = {
|
||||
aggType: string;
|
||||
modelId: number;
|
||||
modelName: string;
|
||||
model: ModelType;
|
||||
dateInfo: DateInfoType;
|
||||
dimensions: FieldType[];
|
||||
metrics: FieldType[];
|
||||
|
||||
Reference in New Issue
Block a user