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"`
|
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{
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue