1/* 2 * Copyright (C) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16export interface BurialPointRequestBody { 17 action: string; 18 event: string; 19 ts?: number; 20 eventData?: EventData; 21} 22 23export interface EventData { 24 plugin?: Array<string>; 25} 26 27export interface pluginUsage { 28 eventData: { 29 plugin: Array<string>; 30 } 31} 32 33export interface GeneralRecordRequest { 34 ts: number, 35 category: string, //'AI_STATISTIC' 36 /* 37 smart_luban:小鲁班 38 large_model_q&a:AI问答 39 large_model_detect:AI诊断 40 user_feedback:用户反馈 41 */ 42 /* 43 'feedback_good,feedback_bad':诊断反馈 44 */ 45 secondCat: string, 46 thirdCat: Array<string> 47} 48