forked from JointCloud/pcm-coordinator
added pcm-schedule api
This commit is contained in:
parent
7571b341e8
commit
9afda659a3
|
@ -259,5 +259,6 @@ type (
|
||||||
|
|
||||||
CreateInferenceTaskResp {
|
CreateInferenceTaskResp {
|
||||||
TaskId string `json:"taskId"`
|
TaskId string `json:"taskId"`
|
||||||
|
TaskName string `json:"taskName"`
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -411,7 +411,7 @@ service pcm {
|
||||||
@doc "文本识别"
|
@doc "文本识别"
|
||||||
@handler ChatHandler
|
@handler ChatHandler
|
||||||
post /ai/chat (ChatReq) returns (ChatResult)
|
post /ai/chat (ChatReq) returns (ChatResult)
|
||||||
/******chat end***********/
|
/******chat end***********/
|
||||||
}
|
}
|
||||||
|
|
||||||
//screen接口
|
//screen接口
|
||||||
|
@ -1100,5 +1100,4 @@ service pcm {
|
||||||
|
|
||||||
@handler scheduleSituationHandler
|
@handler scheduleSituationHandler
|
||||||
get /monitoring/schedule/situation returns (scheduleSituationResp)
|
get /monitoring/schedule/situation returns (scheduleSituationResp)
|
||||||
}
|
}
|
||||||
|
|
|
@ -227,6 +227,7 @@ type (
|
||||||
|
|
||||||
CreateTaskResp {
|
CreateTaskResp {
|
||||||
TaskID int64 `json:"taskID"`
|
TaskID int64 `json:"taskID"`
|
||||||
|
TaskName string `json:"taskName"`
|
||||||
ScheduleDatas []*ScheduleData `json:"scheduleDatas"`
|
ScheduleDatas []*ScheduleData `json:"scheduleDatas"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
11290
internal/types/types.go
11290
internal/types/types.go
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue