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"` ModelName string `form:"modelName"`
ModelType string `form:"modelType"` ModelType string `form:"modelType"`
AdapterId string `form:"adapterId"` AdapterId string `form:"adapterId"`
ClusterId string `form:"clusterIds"` AiClusterIds []string `form:"aiClusterIds"`
} }
TextToTextInferenceResp{ TextToTextInferenceResp{

View File

@ -5948,7 +5948,7 @@ type TextToTextInferenceReq struct {
ModelName string `form:"modelName"` ModelName string `form:"modelName"`
ModelType string `form:"modelType"` ModelType string `form:"modelType"`
AdapterId string `form:"adapterId"` AdapterId string `form:"adapterId"`
ClusterId string `form:"clusterIds"` AiClusterIds []string `form:"aiClusterIds"`
} }
type TextToTextInferenceResp struct { type TextToTextInferenceResp struct {