added textinference api
Former-commit-id: ac9509e26c6a33b5caf86b8a2e6ff19b1e8ae0f7
This commit is contained in:
parent
1ee960f52a
commit
c9084ff093
|
@ -70,7 +70,7 @@ type (
|
|||
ModelName string `form:"modelName"`
|
||||
ModelType string `form:"modelType"`
|
||||
AdapterId string `form:"adapterId"`
|
||||
ClusterId string `form:"clusterIds"`
|
||||
AiClusterIds []string `form:"aiClusterIds"`
|
||||
}
|
||||
TextToTextInferenceResp{
|
||||
|
||||
|
|
|
@ -5943,12 +5943,12 @@ type InferenceResult struct {
|
|||
}
|
||||
|
||||
type TextToTextInferenceReq struct {
|
||||
TaskName string `form:"taskName"`
|
||||
TaskDesc string `form:"taskDesc"`
|
||||
ModelName string `form:"modelName"`
|
||||
ModelType string `form:"modelType"`
|
||||
AdapterId string `form:"adapterId"`
|
||||
ClusterId string `form:"clusterIds"`
|
||||
TaskName string `form:"taskName"`
|
||||
TaskDesc string `form:"taskDesc"`
|
||||
ModelName string `form:"modelName"`
|
||||
ModelType string `form:"modelType"`
|
||||
AdapterId string `form:"adapterId"`
|
||||
AiClusterIds []string `form:"aiClusterIds"`
|
||||
}
|
||||
|
||||
type TextToTextInferenceResp struct {
|
||||
|
|
Loading…
Reference in New Issue