@hddjs/hdd-cloud-types 1.0.10 → 1.0.13-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HddCloud/common/index.d.ts +4 -4
- package/HddCloud/index.d.ts +59 -59
- package/README.md +2 -2
- package/hdd-ai-cloud/common/AISceneEnum.d.ts +54 -54
- package/hdd-ai-cloud/common/IAliFcContext.d.ts +5 -5
- package/hdd-ai-cloud/common/ICallUniCloudParams.js +3 -3
- package/hdd-ai-cloud/common/ICallUniCloudParams.ts +20 -20
- package/hdd-ai-cloud/common/IChatAiMessageItem.d.ts +23 -23
- package/hdd-ai-cloud/common/ICommonError.d.ts +13 -13
- package/hdd-ai-cloud/common/ICommonReqRes.d.ts +23 -23
- package/hdd-ai-cloud/common/ICommonRequstHead.js +3 -3
- package/hdd-ai-cloud/common/ICommonRequstHead.ts +17 -17
- package/hdd-ai-cloud/common/IConfigInfo.d.ts +7 -6
- package/hdd-ai-cloud/common/ICounselor.d.ts +4 -4
- package/hdd-ai-cloud/common/ICounselorType.d.ts +23 -23
- package/hdd-ai-cloud/common/IFormatCutOffCollegeData.d.ts +29 -29
- package/hdd-ai-cloud/common/IFormatGaokaoBasicInfo.d.ts +67 -67
- package/hdd-ai-cloud/common/IFormatProfessional.js +3 -3
- package/hdd-ai-cloud/common/IFormatProfessional.ts +29 -29
- package/hdd-ai-cloud/common/IGetRecommendSchool.d.ts +93 -77
- package/hdd-ai-cloud/common/IInquiryBasicInfo.d.ts +43 -39
- package/hdd-ai-cloud/common/IInquirySession.d.ts +25 -25
- package/hdd-ai-cloud/common/IPicture.d.ts +13 -13
- package/hdd-ai-cloud/common/IReportData.d.ts +151 -136
- package/hdd-ai-cloud/common/IReportInfo.d.ts +33 -21
- package/hdd-ai-cloud/common/IReportResult.d.ts +23 -23
- package/hdd-ai-cloud/common/ISceneAiConfig.d.ts +27 -27
- package/hdd-ai-cloud/common/IScoreRank.d.ts +18 -18
- package/hdd-ai-cloud/common/ISelectSubject.d.ts +29 -29
- package/hdd-ai-cloud/common/ISessionContent.d.ts +31 -31
- package/hdd-ai-cloud/common/ISessionRole.d.ts +21 -21
- package/hdd-ai-cloud/common/ISseChunk.d.ts +57 -57
- package/hdd-ai-cloud/common/ISseData.d.ts +135 -108
- package/hdd-ai-cloud/common/IThisContext.d.ts +128 -128
- package/hdd-ai-cloud/common/ReportTypeEnum.d.ts +7 -7
- package/hdd-ai-cloud/common/SubReportTypeEnum.d.ts +18 -18
- package/hdd-ai-cloud/common/index.d.ts +29 -29
- package/hdd-ai-cloud/controller/index.d.ts +496 -496
- package/hdd-ai-cloud/index.d.ts +3 -3
- package/hdd-ai-cloud/service/index.d.ts +36 -36
- package/index.d.ts +2 -2
- package/npmPublish.md +10 -10
- package/package.json +11 -11
|
@@ -1,136 +1,151 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 高考霍兰德职业兴趣测评报告接口
|
|
3
|
-
* @interface IGaokaoInterestReport
|
|
4
|
-
*/
|
|
5
|
-
export interface IGaokaoInterestReport {
|
|
6
|
-
/**
|
|
7
|
-
* 报告摘要
|
|
8
|
-
* @description 对用户职业兴趣的综合分析和描述
|
|
9
|
-
*/
|
|
10
|
-
summary: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 六个维度的得分
|
|
14
|
-
* @description 霍兰德职业兴趣理论的六个维度分数
|
|
15
|
-
*/
|
|
16
|
-
score?: {
|
|
17
|
-
/** 现实型分数 (Realistic) */
|
|
18
|
-
R: number;
|
|
19
|
-
/** 研究型分数 (Investigative) */
|
|
20
|
-
I: number;
|
|
21
|
-
/** 艺术型分数 (Artistic) */
|
|
22
|
-
A: number;
|
|
23
|
-
/** 社会型分数 (Social) */
|
|
24
|
-
S: number;
|
|
25
|
-
/** 企业型分数 (Enterprising) */
|
|
26
|
-
E: number;
|
|
27
|
-
/** 传统型分数 (Conventional) */
|
|
28
|
-
C: number;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* 主导类型
|
|
33
|
-
* @description 用户的主要职业兴趣类型,应为R、I、A、S、E、C中的一个
|
|
34
|
-
*/
|
|
35
|
-
type: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* 高考专业推荐报告接口
|
|
40
|
-
* @interface IMajorRecommendReport
|
|
41
|
-
*/
|
|
42
|
-
export interface IGaokaoMajorMatchingReport {
|
|
43
|
-
/**
|
|
44
|
-
* 报告摘要
|
|
45
|
-
* @description 对用户的专业推荐的综合分析和描述
|
|
46
|
-
*/
|
|
47
|
-
summary: string;
|
|
48
|
-
/**
|
|
49
|
-
* 补充描述
|
|
50
|
-
* @description 对用户的专业推荐的补充描述
|
|
51
|
-
*/
|
|
52
|
-
description: string;
|
|
53
|
-
/**
|
|
54
|
-
* 专业推荐列表
|
|
55
|
-
* @description 用户推荐的专业列表
|
|
56
|
-
*/
|
|
57
|
-
recommendedMajors: {
|
|
58
|
-
/**
|
|
59
|
-
* 专业名称
|
|
60
|
-
*/
|
|
61
|
-
name: string;
|
|
62
|
-
/**
|
|
63
|
-
* 匹配度分数 满分100分
|
|
64
|
-
*/
|
|
65
|
-
matchScore: number;
|
|
66
|
-
}[];
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* 高考志愿推荐:院校排序接口
|
|
71
|
-
* @interface IGaokaoVolunteerRecommendationReport
|
|
72
|
-
*/
|
|
73
|
-
export interface IGaokaoVolunteerRecommendationReport {
|
|
74
|
-
recommendations: IRecommendationSchoolItem[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* 院校排序等推荐列表项
|
|
79
|
-
*/
|
|
80
|
-
export interface IRecommendationSchoolItem {
|
|
81
|
-
/**
|
|
82
|
-
* 学校名称
|
|
83
|
-
*/
|
|
84
|
-
schoolName?: String;
|
|
85
|
-
/**
|
|
86
|
-
* 招生代码
|
|
87
|
-
*/
|
|
88
|
-
enrollmentId?: string;
|
|
89
|
-
/**
|
|
90
|
-
* 专业名称
|
|
91
|
-
*/
|
|
92
|
-
majorName?: string;
|
|
93
|
-
/**
|
|
94
|
-
* 去年最低排名
|
|
95
|
-
*/
|
|
96
|
-
rank?: number;
|
|
97
|
-
/**
|
|
98
|
-
* 学费
|
|
99
|
-
*/
|
|
100
|
-
money?: number;
|
|
101
|
-
/**
|
|
102
|
-
* 招生人数
|
|
103
|
-
*/
|
|
104
|
-
hc?: number;
|
|
105
|
-
/**
|
|
106
|
-
* 排序理由
|
|
107
|
-
*/
|
|
108
|
-
rankReason?: string;
|
|
109
|
-
/**
|
|
110
|
-
* 冲稳保策略标识
|
|
111
|
-
*/
|
|
112
|
-
strategyTag?: 'chong' | 'wen' | 'bao';
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* 高考志愿未来发展:未来发展建议接口
|
|
117
|
-
* @interface IGaokaoFutureDevelopmentReport
|
|
118
|
-
*/
|
|
119
|
-
export interface IGaokaoFutureDevelopmentReport {
|
|
120
|
-
/**
|
|
121
|
-
* 未来发展建议摘要
|
|
122
|
-
*/
|
|
123
|
-
futureDevelopmentSummary?: string;
|
|
124
|
-
/**
|
|
125
|
-
* 大学学习建议
|
|
126
|
-
*/
|
|
127
|
-
universityLearningAdvice?: string;
|
|
128
|
-
/**
|
|
129
|
-
* 能力提升建议
|
|
130
|
-
*/
|
|
131
|
-
abilityImprovementAdvice?: string;
|
|
132
|
-
/**
|
|
133
|
-
* 职业发展建议
|
|
134
|
-
*/
|
|
135
|
-
careerDevelopmentAdvice?: string;
|
|
136
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 高考霍兰德职业兴趣测评报告接口
|
|
3
|
+
* @interface IGaokaoInterestReport
|
|
4
|
+
*/
|
|
5
|
+
export interface IGaokaoInterestReport {
|
|
6
|
+
/**
|
|
7
|
+
* 报告摘要
|
|
8
|
+
* @description 对用户职业兴趣的综合分析和描述
|
|
9
|
+
*/
|
|
10
|
+
summary: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 六个维度的得分
|
|
14
|
+
* @description 霍兰德职业兴趣理论的六个维度分数
|
|
15
|
+
*/
|
|
16
|
+
score?: {
|
|
17
|
+
/** 现实型分数 (Realistic) */
|
|
18
|
+
R: number;
|
|
19
|
+
/** 研究型分数 (Investigative) */
|
|
20
|
+
I: number;
|
|
21
|
+
/** 艺术型分数 (Artistic) */
|
|
22
|
+
A: number;
|
|
23
|
+
/** 社会型分数 (Social) */
|
|
24
|
+
S: number;
|
|
25
|
+
/** 企业型分数 (Enterprising) */
|
|
26
|
+
E: number;
|
|
27
|
+
/** 传统型分数 (Conventional) */
|
|
28
|
+
C: number;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 主导类型
|
|
33
|
+
* @description 用户的主要职业兴趣类型,应为R、I、A、S、E、C中的一个
|
|
34
|
+
*/
|
|
35
|
+
type: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* 高考专业推荐报告接口
|
|
40
|
+
* @interface IMajorRecommendReport
|
|
41
|
+
*/
|
|
42
|
+
export interface IGaokaoMajorMatchingReport {
|
|
43
|
+
/**
|
|
44
|
+
* 报告摘要
|
|
45
|
+
* @description 对用户的专业推荐的综合分析和描述
|
|
46
|
+
*/
|
|
47
|
+
summary: string;
|
|
48
|
+
/**
|
|
49
|
+
* 补充描述
|
|
50
|
+
* @description 对用户的专业推荐的补充描述
|
|
51
|
+
*/
|
|
52
|
+
description: string;
|
|
53
|
+
/**
|
|
54
|
+
* 专业推荐列表
|
|
55
|
+
* @description 用户推荐的专业列表
|
|
56
|
+
*/
|
|
57
|
+
recommendedMajors: {
|
|
58
|
+
/**
|
|
59
|
+
* 专业名称
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* 匹配度分数 满分100分
|
|
64
|
+
*/
|
|
65
|
+
matchScore: number;
|
|
66
|
+
}[];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 高考志愿推荐:院校排序接口
|
|
71
|
+
* @interface IGaokaoVolunteerRecommendationReport
|
|
72
|
+
*/
|
|
73
|
+
export interface IGaokaoVolunteerRecommendationReport {
|
|
74
|
+
recommendations: IRecommendationSchoolItem[];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 院校排序等推荐列表项
|
|
79
|
+
*/
|
|
80
|
+
export interface IRecommendationSchoolItem {
|
|
81
|
+
/**
|
|
82
|
+
* 学校名称
|
|
83
|
+
*/
|
|
84
|
+
schoolName?: String;
|
|
85
|
+
/**
|
|
86
|
+
* 招生代码
|
|
87
|
+
*/
|
|
88
|
+
enrollmentId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 专业名称
|
|
91
|
+
*/
|
|
92
|
+
majorName?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 去年最低排名
|
|
95
|
+
*/
|
|
96
|
+
rank?: number;
|
|
97
|
+
/**
|
|
98
|
+
* 学费
|
|
99
|
+
*/
|
|
100
|
+
money?: number;
|
|
101
|
+
/**
|
|
102
|
+
* 招生人数
|
|
103
|
+
*/
|
|
104
|
+
hc?: number;
|
|
105
|
+
/**
|
|
106
|
+
* 排序理由
|
|
107
|
+
*/
|
|
108
|
+
rankReason?: string;
|
|
109
|
+
/**
|
|
110
|
+
* 冲稳保策略标识
|
|
111
|
+
*/
|
|
112
|
+
strategyTag?: 'chong' | 'wen' | 'bao';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 高考志愿未来发展:未来发展建议接口
|
|
117
|
+
* @interface IGaokaoFutureDevelopmentReport
|
|
118
|
+
*/
|
|
119
|
+
export interface IGaokaoFutureDevelopmentReport {
|
|
120
|
+
/**
|
|
121
|
+
* 未来发展建议摘要
|
|
122
|
+
*/
|
|
123
|
+
futureDevelopmentSummary?: string;
|
|
124
|
+
/**
|
|
125
|
+
* 大学学习建议
|
|
126
|
+
*/
|
|
127
|
+
universityLearningAdvice?: string;
|
|
128
|
+
/**
|
|
129
|
+
* 能力提升建议
|
|
130
|
+
*/
|
|
131
|
+
abilityImprovementAdvice?: string;
|
|
132
|
+
/**
|
|
133
|
+
* 职业发展建议
|
|
134
|
+
*/
|
|
135
|
+
careerDevelopmentAdvice?: string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* 高考志愿填报:分数定位分析报告
|
|
140
|
+
* @interface IGaokaoScorePositionReport
|
|
141
|
+
*/
|
|
142
|
+
export interface IGaokaoScorePositionReport {
|
|
143
|
+
/**
|
|
144
|
+
* 标题信息
|
|
145
|
+
*/
|
|
146
|
+
title?: string;
|
|
147
|
+
/**
|
|
148
|
+
* 描述
|
|
149
|
+
*/
|
|
150
|
+
desc?: string;
|
|
151
|
+
}
|
|
@@ -1,21 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import {
|
|
2
|
+
type IGaokaoFutureDevelopmentReport,
|
|
3
|
+
type IGaokaoScorePositionReport,
|
|
4
|
+
type IGaokaoVolunteerRecommendationReport
|
|
5
|
+
} from './IReportData';
|
|
6
|
+
import { type SubReportTypeEnum } from './SubReportTypeEnum';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* 报告信息
|
|
10
|
+
*/
|
|
11
|
+
export interface IReportInfo {
|
|
12
|
+
/**
|
|
13
|
+
* 会话id
|
|
14
|
+
*/
|
|
15
|
+
sessionId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* 报告类型
|
|
18
|
+
*/
|
|
19
|
+
reportType?: SubReportTypeEnum;
|
|
20
|
+
/**
|
|
21
|
+
* 状态 0:创建中,1:已创建
|
|
22
|
+
*/
|
|
23
|
+
status?: number;
|
|
24
|
+
/**
|
|
25
|
+
* 报告信息
|
|
26
|
+
*/
|
|
27
|
+
reportInfo?:
|
|
28
|
+
| IGaokaoVolunteerRecommendationReport
|
|
29
|
+
| IGaokaoInterestReport
|
|
30
|
+
| IGaokaoMajorMatchingReport
|
|
31
|
+
| IGaokaoFutureDevelopmentReport
|
|
32
|
+
| IGaokaoScorePositionReport;
|
|
33
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { type IReportInfo } from './IReportInfo';
|
|
2
|
-
import type { IScoreRank } from './IScoreRank';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 报告信息
|
|
6
|
-
*/
|
|
7
|
-
export interface IReportResult {
|
|
8
|
-
/**
|
|
9
|
-
* code
|
|
10
|
-
* part: 部分完成
|
|
11
|
-
* generating: 都未完成
|
|
12
|
-
* generated: 全部完成
|
|
13
|
-
*/
|
|
14
|
-
code?:
|
|
15
|
-
/**
|
|
16
|
-
*报告信息
|
|
17
|
-
*/
|
|
18
|
-
reportInfos?: IReportInfo[];
|
|
19
|
-
/**
|
|
20
|
-
* 一分一档
|
|
21
|
-
*/
|
|
22
|
-
gradeInfo?: IScoreRank;
|
|
23
|
-
}
|
|
1
|
+
import { type IReportInfo } from './IReportInfo';
|
|
2
|
+
import type { IScoreRank } from './IScoreRank';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 报告信息
|
|
6
|
+
*/
|
|
7
|
+
export interface IReportResult {
|
|
8
|
+
/**
|
|
9
|
+
* code
|
|
10
|
+
* part: 部分完成
|
|
11
|
+
* generating: 都未完成
|
|
12
|
+
* generated: 全部完成
|
|
13
|
+
*/
|
|
14
|
+
code?: 'part' | 'generating' | 'generated';
|
|
15
|
+
/**
|
|
16
|
+
*报告信息
|
|
17
|
+
*/
|
|
18
|
+
reportInfos?: IReportInfo[];
|
|
19
|
+
/**
|
|
20
|
+
* 一分一档
|
|
21
|
+
*/
|
|
22
|
+
gradeInfo?: IScoreRank;
|
|
23
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { type AISceneEnum } from './AISceneEnum';
|
|
2
|
-
/**
|
|
3
|
-
* AI场景hdd-ai-config配置
|
|
4
|
-
*/
|
|
5
|
-
export interface ISceneAiConfig {
|
|
6
|
-
/**
|
|
7
|
-
* apiKey
|
|
8
|
-
*/
|
|
9
|
-
apiKey?: string;
|
|
10
|
-
/**
|
|
11
|
-
* baseURL
|
|
12
|
-
*/
|
|
13
|
-
baseURL?: string;
|
|
14
|
-
/**
|
|
15
|
-
* 提问场景
|
|
16
|
-
*/
|
|
17
|
-
scene?: AISceneEnum;
|
|
18
|
-
/**
|
|
19
|
-
* 场景描述
|
|
20
|
-
*/
|
|
21
|
-
desc?: string;
|
|
22
|
-
/**
|
|
23
|
-
* 该场景需要调用的模型
|
|
24
|
-
* @enum 'qwen-max' | 'deepseek-r1' | 'qwen-plus'
|
|
25
|
-
*/
|
|
26
|
-
model?: string;
|
|
27
|
-
}
|
|
1
|
+
import { type AISceneEnum } from './AISceneEnum';
|
|
2
|
+
/**
|
|
3
|
+
* AI场景hdd-ai-config配置
|
|
4
|
+
*/
|
|
5
|
+
export interface ISceneAiConfig {
|
|
6
|
+
/**
|
|
7
|
+
* apiKey
|
|
8
|
+
*/
|
|
9
|
+
apiKey?: string;
|
|
10
|
+
/**
|
|
11
|
+
* baseURL
|
|
12
|
+
*/
|
|
13
|
+
baseURL?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 提问场景
|
|
16
|
+
*/
|
|
17
|
+
scene?: AISceneEnum;
|
|
18
|
+
/**
|
|
19
|
+
* 场景描述
|
|
20
|
+
*/
|
|
21
|
+
desc?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 该场景需要调用的模型
|
|
24
|
+
* @enum 'qwen-max' | 'deepseek-r1' | 'qwen-plus'
|
|
25
|
+
*/
|
|
26
|
+
model?: string;
|
|
27
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 一分一档前端展示对象
|
|
3
|
-
*/
|
|
4
|
-
export interface IScoreRankSeriesVO {
|
|
5
|
-
name?: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
data?: Array<string | null>;
|
|
8
|
-
index?: number;
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 一份一档表
|
|
14
|
-
*/
|
|
15
|
-
export interface IScoreRank {
|
|
16
|
-
categories?: Array<string | null>;
|
|
17
|
-
series?: Array<IScoreRankSeriesVO | null>;
|
|
18
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 一分一档前端展示对象
|
|
3
|
+
*/
|
|
4
|
+
export interface IScoreRankSeriesVO {
|
|
5
|
+
name?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
data?: Array<string | null>;
|
|
8
|
+
index?: number;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 一份一档表
|
|
14
|
+
*/
|
|
15
|
+
export interface IScoreRank {
|
|
16
|
+
categories?: Array<string | null>;
|
|
17
|
+
series?: Array<IScoreRankSeriesVO | null>;
|
|
18
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选科信息
|
|
3
|
-
*/
|
|
4
|
-
export interface ISelectSubject {
|
|
5
|
-
/**
|
|
6
|
-
* 物理
|
|
7
|
-
*/
|
|
8
|
-
physics?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* 化学
|
|
11
|
-
*/
|
|
12
|
-
chemistry?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 生物
|
|
15
|
-
*/
|
|
16
|
-
biology?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* 历史
|
|
19
|
-
*/
|
|
20
|
-
history?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* 政治
|
|
23
|
-
*/
|
|
24
|
-
politics?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 地理
|
|
27
|
-
*/
|
|
28
|
-
geography?: boolean;
|
|
29
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 选科信息
|
|
3
|
+
*/
|
|
4
|
+
export interface ISelectSubject {
|
|
5
|
+
/**
|
|
6
|
+
* 物理
|
|
7
|
+
*/
|
|
8
|
+
physics?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* 化学
|
|
11
|
+
*/
|
|
12
|
+
chemistry?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 生物
|
|
15
|
+
*/
|
|
16
|
+
biology?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 历史
|
|
19
|
+
*/
|
|
20
|
+
history?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* 政治
|
|
23
|
+
*/
|
|
24
|
+
politics?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 地理
|
|
27
|
+
*/
|
|
28
|
+
geography?: boolean;
|
|
29
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { type SessionRoleEnum } from './ISessionRole';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 会话内容
|
|
5
|
-
*/
|
|
6
|
-
export interface ISessionContent {
|
|
7
|
-
/**
|
|
8
|
-
* sessionId
|
|
9
|
-
*/
|
|
10
|
-
sessionId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* 步骤id
|
|
13
|
-
*/
|
|
14
|
-
stepId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 内容
|
|
17
|
-
*/
|
|
18
|
-
content?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 原内容类型
|
|
21
|
-
*/
|
|
22
|
-
oriContentType?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 角色
|
|
25
|
-
*/
|
|
26
|
-
role?: SessionRoleEnum;
|
|
27
|
-
/**
|
|
28
|
-
* 备注
|
|
29
|
-
*/
|
|
30
|
-
formatInfo?: string;
|
|
31
|
-
}
|
|
1
|
+
import { type SessionRoleEnum } from './ISessionRole';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 会话内容
|
|
5
|
+
*/
|
|
6
|
+
export interface ISessionContent {
|
|
7
|
+
/**
|
|
8
|
+
* sessionId
|
|
9
|
+
*/
|
|
10
|
+
sessionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 步骤id
|
|
13
|
+
*/
|
|
14
|
+
stepId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 内容
|
|
17
|
+
*/
|
|
18
|
+
content?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 原内容类型
|
|
21
|
+
*/
|
|
22
|
+
oriContentType?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 角色
|
|
25
|
+
*/
|
|
26
|
+
role?: SessionRoleEnum;
|
|
27
|
+
/**
|
|
28
|
+
* 备注
|
|
29
|
+
*/
|
|
30
|
+
formatInfo?: string;
|
|
31
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 会话角色枚举
|
|
3
|
-
*/
|
|
4
|
-
export const enum SessionRoleEnum {
|
|
5
|
-
/**
|
|
6
|
-
* 用户
|
|
7
|
-
*/
|
|
8
|
-
USER = 'user',
|
|
9
|
-
/**
|
|
10
|
-
* ai
|
|
11
|
-
*/
|
|
12
|
-
ASSISTANT = 'assistant',
|
|
13
|
-
/**
|
|
14
|
-
* 系统
|
|
15
|
-
*/
|
|
16
|
-
SYSTEM = 'system',
|
|
17
|
-
/**
|
|
18
|
-
* 工具
|
|
19
|
-
* */
|
|
20
|
-
TOOL = 'tool'
|
|
21
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 会话角色枚举
|
|
3
|
+
*/
|
|
4
|
+
export const enum SessionRoleEnum {
|
|
5
|
+
/**
|
|
6
|
+
* 用户
|
|
7
|
+
*/
|
|
8
|
+
USER = 'user',
|
|
9
|
+
/**
|
|
10
|
+
* ai
|
|
11
|
+
*/
|
|
12
|
+
ASSISTANT = 'assistant',
|
|
13
|
+
/**
|
|
14
|
+
* 系统
|
|
15
|
+
*/
|
|
16
|
+
SYSTEM = 'system',
|
|
17
|
+
/**
|
|
18
|
+
* 工具
|
|
19
|
+
* */
|
|
20
|
+
TOOL = 'tool'
|
|
21
|
+
}
|