@@ -14,120 +14,120 @@ import {
1414} from './api' ;
1515
1616export const ChatFeedbackPath : OpenAPIPath = {
17- '/core/chat/feedback/updateFeedbackReadStatus ' : {
17+ '/core/chat/feedback/updateUserFeedback ' : {
1818 post : {
19- summary : '更新反馈阅读状态 ' ,
20- description : '标记指定消息的反馈为已读或未读状态 ' ,
19+ summary : '添加/更新用户反馈 ' ,
20+ description : '用户对消息添加或更新好评/差评反馈 ' ,
2121 tags : [ TagsMap . chatFeedback ] ,
2222 requestBody : {
2323 content : {
2424 'application/json' : {
25- schema : UpdateFeedbackReadStatusBodySchema
25+ schema : UpdateUserFeedbackBodySchema
2626 }
2727 }
2828 } ,
2929 responses : {
3030 200 : {
31- description : '成功更新反馈阅读状态 ' ,
31+ description : '成功更新用户反馈 ' ,
3232 content : {
3333 'application/json' : {
34- schema : UpdateFeedbackReadStatusResponseSchema
34+ schema : UpdateUserFeedbackResponseSchema
3535 }
3636 }
3737 }
3838 }
3939 }
4040 } ,
41- '/core/chat/feedback/adminUpdate ' : {
41+ '/core/chat/feedback/getFeedbackRecordIds ' : {
4242 post : {
43- summary : '管理员标注反馈 ' ,
44- description : '管理员为指定消息添加或更新标注反馈,包含数据集关联信息 ' ,
43+ summary : '获取反馈记录ID列表 ' ,
44+ description : '根据反馈类型和已读状态,获取符合条件的消息ID列表 ' ,
4545 tags : [ TagsMap . chatFeedback ] ,
4646 requestBody : {
4747 content : {
4848 'application/json' : {
49- schema : AdminUpdateFeedbackBodySchema
49+ schema : GetFeedbackRecordIdsBodySchema
5050 }
5151 }
5252 } ,
5353 responses : {
5454 200 : {
55- description : '成功更新管理员反馈标注 ' ,
55+ description : '成功获取反馈记录ID列表 ' ,
5656 content : {
5757 'application/json' : {
58- schema : AdminUpdateFeedbackResponseSchema
58+ schema : GetFeedbackRecordIdsResponseSchema
5959 }
6060 }
6161 }
6262 }
6363 }
6464 } ,
65- '/core/chat/feedback/closeCustom ' : {
65+ '/core/chat/feedback/updateFeedbackReadStatus ' : {
6666 post : {
67- summary : '关闭自定义反馈 ' ,
68- description : '删除或关闭指定索引位置的自定义反馈条目 ' ,
67+ summary : '应用管理员-更新反馈阅读状态 ' ,
68+ description : '标记指定消息的反馈为已读或未读状态 ' ,
6969 tags : [ TagsMap . chatFeedback ] ,
7070 requestBody : {
7171 content : {
7272 'application/json' : {
73- schema : CloseCustomFeedbackBodySchema
73+ schema : UpdateFeedbackReadStatusBodySchema
7474 }
7575 }
7676 } ,
7777 responses : {
7878 200 : {
79- description : '成功关闭自定义反馈 ' ,
79+ description : '成功更新反馈阅读状态 ' ,
8080 content : {
8181 'application/json' : {
82- schema : CloseCustomFeedbackResponseSchema
82+ schema : UpdateFeedbackReadStatusResponseSchema
8383 }
8484 }
8585 }
8686 }
8787 }
8888 } ,
89- '/core/chat/feedback/updateUserFeedback ' : {
89+ '/core/chat/feedback/adminUpdate ' : {
9090 post : {
91- summary : '更新用户反馈 ' ,
92- description : '用户对消息添加或更新好评/差评反馈 ' ,
91+ summary : '应用管理员-标注反馈 ' ,
92+ description : '管理员为指定消息添加或更新标注反馈,包含数据集关联信息 ' ,
9393 tags : [ TagsMap . chatFeedback ] ,
9494 requestBody : {
9595 content : {
9696 'application/json' : {
97- schema : UpdateUserFeedbackBodySchema
97+ schema : AdminUpdateFeedbackBodySchema
9898 }
9999 }
100100 } ,
101101 responses : {
102102 200 : {
103- description : '成功更新用户反馈 ' ,
103+ description : '成功更新管理员反馈标注 ' ,
104104 content : {
105105 'application/json' : {
106- schema : UpdateUserFeedbackResponseSchema
106+ schema : AdminUpdateFeedbackResponseSchema
107107 }
108108 }
109109 }
110110 }
111111 }
112112 } ,
113- '/core/chat/feedback/getFeedbackRecordIds ' : {
113+ '/core/chat/feedback/closeCustom ' : {
114114 post : {
115- summary : '获取反馈记录ID列表 ' ,
116- description : '根据反馈类型和已读状态,获取符合条件的消息ID列表 ' ,
115+ summary : '应用管理员-关闭自定义反馈 ' ,
116+ description : '删除或关闭指定索引位置的自定义反馈条目 ' ,
117117 tags : [ TagsMap . chatFeedback ] ,
118118 requestBody : {
119119 content : {
120120 'application/json' : {
121- schema : GetFeedbackRecordIdsBodySchema
121+ schema : CloseCustomFeedbackBodySchema
122122 }
123123 }
124124 } ,
125125 responses : {
126126 200 : {
127- description : '成功获取反馈记录ID列表 ' ,
127+ description : '成功关闭自定义反馈 ' ,
128128 content : {
129129 'application/json' : {
130- schema : GetFeedbackRecordIdsResponseSchema
130+ schema : CloseCustomFeedbackResponseSchema
131131 }
132132 }
133133 }
0 commit comments