updated texttotextinference api
Former-commit-id: 1c9205ceaebf909eadfb52724189258c6326782d
This commit is contained in:
parent
73bd1a7f08
commit
f7e3e91887
|
@ -79,10 +79,8 @@ type (
|
||||||
TextToTextInferenceReq{
|
TextToTextInferenceReq{
|
||||||
TaskName string `form:"taskName"`
|
TaskName string `form:"taskName"`
|
||||||
TaskDesc string `form:"taskDesc"`
|
TaskDesc string `form:"taskDesc"`
|
||||||
ModelName string `form:"modelName"`
|
|
||||||
ModelType string `form:"modelType"`
|
ModelType string `form:"modelType"`
|
||||||
AdapterId string `form:"adapterId"`
|
InstanceId int64 `form:"instanceId"`
|
||||||
AiClusterIds []string `form:"aiClusterIds"`
|
|
||||||
}
|
}
|
||||||
TextToTextInferenceResp{
|
TextToTextInferenceResp{
|
||||||
|
|
||||||
|
|
|
@ -5976,12 +5976,10 @@ type InferenceResult struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type TextToTextInferenceReq struct {
|
type TextToTextInferenceReq struct {
|
||||||
TaskName string `form:"taskName"`
|
TaskName string `form:"taskName"`
|
||||||
TaskDesc string `form:"taskDesc"`
|
TaskDesc string `form:"taskDesc"`
|
||||||
ModelName string `form:"modelName"`
|
ModelType string `form:"modelType"`
|
||||||
ModelType string `form:"modelType"`
|
InstanceId int64 `form:"instanceId"`
|
||||||
AdapterId string `form:"adapterId"`
|
|
||||||
AiClusterIds []string `form:"aiClusterIds"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type TextToTextInferenceResp struct {
|
type TextToTextInferenceResp struct {
|
||||||
|
|
Loading…
Reference in New Issue