added textinference api

Former-commit-id: ac9509e26c6a33b5caf86b8a2e6ff19b1e8ae0f7
This commit is contained in:
tzwang 2024-06-25 17:12:37 +08:00
parent 1ee960f52a
commit c9084ff093
2 changed files with 7 additions and 7 deletions

View File

@ -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{

View File

@ -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 {