mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-18 12:24:21 +08:00
(feature)(chat-sdk) modify the method for obtaining similar questions and recommended drill-down dimensions; do not display assistant button when there is only one assistant (#514)
This commit is contained in:
@@ -140,6 +140,8 @@ export type MsgDataType = {
|
||||
response: PluginResonseType;
|
||||
parseInfos?: ChatContextType[];
|
||||
queryTimeCost?: number;
|
||||
similarQueries: SimilarQuestionType[];
|
||||
recommendedDimensions: DrillDownDimensionType[];
|
||||
};
|
||||
|
||||
export enum ParseStateEnum {
|
||||
@@ -220,6 +222,7 @@ export type HistoryMsgItemType = {
|
||||
createTime: string;
|
||||
feedback: string;
|
||||
score: number;
|
||||
similarQueries: SimilarQuestionType[];
|
||||
};
|
||||
|
||||
export type HistoryType = {
|
||||
@@ -242,8 +245,8 @@ export type SendMsgParamsType = {
|
||||
};
|
||||
|
||||
export type SimilarQuestionType = {
|
||||
// queryId: number;
|
||||
// parseId: number;
|
||||
queryId: number;
|
||||
parseId: number;
|
||||
queryText: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user