You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.0 KiB
25 lines
1.0 KiB
package echomeet
|
|
|
|
import (
|
|
"yunyan/comm"
|
|
"yunyan/pb"
|
|
)
|
|
|
|
// @Summary 获取客户端可选的总结大模型服务列表
|
|
// @Description 由后台「会议记录服务」编排下发:client_choice 为后台开关(关闭时仅返回默认项、
|
|
// starttask/summary 传 summary_svc_id 会被忽略);识别与翻译由后台优先级选路,不下发、客户端不可指定。
|
|
// @Tags Echomeet
|
|
// @Accept json
|
|
// @Produce json
|
|
// @Security BearerAuth
|
|
// @Param user body pb.EchomeetGetSummaryServicesReq true "请求数据"
|
|
// @Success 200 {object} comm.HttpResult{data=pb.EchomeetGetSummaryServicesResp} "响应数据"
|
|
// @Router /api/home/echomeet_getsummaryservices [post]
|
|
func (this *apiComp) GetSummaryServices(session comm.IUserSession, req *pb.EchomeetGetSummaryServicesReq) (resp *pb.EchomeetGetSummaryServicesResp, errdata *pb.ErrorData) {
|
|
clientChoice, items := this.module.providers.SummaryServices()
|
|
resp = &pb.EchomeetGetSummaryServicesResp{
|
|
ClientChoice: clientChoice,
|
|
Services: items,
|
|
}
|
|
return
|
|
}
|
|
|