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