added imageinference api
Former-commit-id: 88cfe68d5d660c181f200719ea65c03eddce33b4
This commit is contained in:
parent
b4b93d2c09
commit
cfecebc3b8
|
@ -3,7 +3,6 @@ syntax = "v1"
|
|||
type (
|
||||
InferOption {
|
||||
TaskName string `json:"taskName"`
|
||||
Images []string `form:"images"`
|
||||
// AdapterId string `json:"adapterId"`
|
||||
// AiClusterIds []string `json:"aiClusterIds"`
|
||||
// ResourceType string `json:"resourceType"`
|
||||
|
@ -23,6 +22,7 @@ type (
|
|||
|
||||
ImageInferenceReq {
|
||||
InferOption *InferOption `json:"inferOption,optional"`
|
||||
Images []string `form:"images"`
|
||||
}
|
||||
|
||||
ImageInferenceResp {
|
||||
|
|
|
@ -5880,12 +5880,12 @@ type Category struct {
|
|||
}
|
||||
|
||||
type InferOption struct {
|
||||
TaskName string `json:"taskName"`
|
||||
Images []string `form:"images"`
|
||||
TaskName string `json:"taskName"`
|
||||
}
|
||||
|
||||
type ImageInferenceReq struct {
|
||||
InferOption *InferOption `json:"inferOption,optional"`
|
||||
Images []string `form:"images"`
|
||||
}
|
||||
|
||||
type ImageInferenceResp struct {
|
||||
|
|
Loading…
Reference in New Issue