This commit is contained in:
Archer
2023-12-31 14:12:51 +08:00
committed by GitHub
parent ccca0468da
commit 9ccfda47b7
270 changed files with 8182 additions and 1295 deletions

View File

@@ -89,7 +89,8 @@ export type moduleDispatchResType = {
moduleLogo?: string;
price?: number;
runningTime?: number;
tokens?: number;
inputTokens?: number;
outputTokens?: number;
model?: string;
query?: string;
contextTotalLen?: number;
@@ -105,6 +106,7 @@ export type moduleDispatchResType = {
similarity?: number;
limit?: number;
searchMode?: `${DatasetSearchModeEnum}`;
searchUsingReRank?: boolean;
// cq
cqList?: ClassifyQuestionAgentItemType[];
@@ -124,6 +126,9 @@ export type moduleDispatchResType = {
// tf switch
tfSwitchResult?: boolean;
// abandon
tokens?: number;
};
export type ChatHistoryItemResType = moduleDispatchResType & {