Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AddMTInterveneWordRequest
- type AddMTInterveneWordResponse
- type AddMtIntervenePackageRequest
- type AddMtIntervenePackageResponse
- type BindIntervenePackageAndModelRequest
- type BindIntervenePackageAndModelResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AddMTInterveneWord(request *AddMTInterveneWordRequest) (response *AddMTInterveneWordResponse, err error)
- func (client *Client) AddMTInterveneWordWithCallback(request *AddMTInterveneWordRequest, ...) <-chan int
- func (client *Client) AddMTInterveneWordWithChan(request *AddMTInterveneWordRequest) (<-chan *AddMTInterveneWordResponse, <-chan error)
- func (client *Client) AddMtIntervenePackage(request *AddMtIntervenePackageRequest) (response *AddMtIntervenePackageResponse, err error)
- func (client *Client) AddMtIntervenePackageWithCallback(request *AddMtIntervenePackageRequest, ...) <-chan int
- func (client *Client) AddMtIntervenePackageWithChan(request *AddMtIntervenePackageRequest) (<-chan *AddMtIntervenePackageResponse, <-chan error)
- func (client *Client) BindIntervenePackageAndModel(request *BindIntervenePackageAndModelRequest) (response *BindIntervenePackageAndModelResponse, err error)
- func (client *Client) BindIntervenePackageAndModelWithCallback(request *BindIntervenePackageAndModelRequest, ...) <-chan int
- func (client *Client) BindIntervenePackageAndModelWithChan(request *BindIntervenePackageAndModelRequest) (<-chan *BindIntervenePackageAndModelResponse, <-chan error)
- func (client *Client) CreateAsyncPredict(request *CreateAsyncPredictRequest) (response *CreateAsyncPredictResponse, err error)
- func (client *Client) CreateAsyncPredictWithCallback(request *CreateAsyncPredictRequest, ...) <-chan int
- func (client *Client) CreateAsyncPredictWithChan(request *CreateAsyncPredictRequest) (<-chan *CreateAsyncPredictResponse, <-chan error)
- func (client *Client) CreateDataset(request *CreateDatasetRequest) (response *CreateDatasetResponse, err error)
- func (client *Client) CreateDatasetRecord(request *CreateDatasetRecordRequest) (response *CreateDatasetRecordResponse, err error)
- func (client *Client) CreateDatasetRecordWithCallback(request *CreateDatasetRecordRequest, ...) <-chan int
- func (client *Client) CreateDatasetRecordWithChan(request *CreateDatasetRecordRequest) (<-chan *CreateDatasetRecordResponse, <-chan error)
- func (client *Client) CreateDatasetWithCallback(request *CreateDatasetRequest, ...) <-chan int
- func (client *Client) CreateDatasetWithChan(request *CreateDatasetRequest) (<-chan *CreateDatasetResponse, <-chan error)
- func (client *Client) CreateModel(request *CreateModelRequest) (response *CreateModelResponse, err error)
- func (client *Client) CreateModelWithCallback(request *CreateModelRequest, ...) <-chan int
- func (client *Client) CreateModelWithChan(request *CreateModelRequest) (<-chan *CreateModelResponse, <-chan error)
- func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, ...) <-chan int
- func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error)
- func (client *Client) DeleteModel(request *DeleteModelRequest) (response *DeleteModelResponse, err error)
- func (client *Client) DeleteModelWithCallback(request *DeleteModelRequest, ...) <-chan int
- func (client *Client) DeleteModelWithChan(request *DeleteModelRequest) (<-chan *DeleteModelResponse, <-chan error)
- func (client *Client) DeployModel(request *DeployModelRequest) (response *DeployModelResponse, err error)
- func (client *Client) DeployModelWithCallback(request *DeployModelRequest, ...) <-chan int
- func (client *Client) DeployModelWithChan(request *DeployModelRequest) (<-chan *DeployModelResponse, <-chan error)
- func (client *Client) GetAsyncPredict(request *GetAsyncPredictRequest) (response *GetAsyncPredictResponse, err error)
- func (client *Client) GetAsyncPredictWithCallback(request *GetAsyncPredictRequest, ...) <-chan int
- func (client *Client) GetAsyncPredictWithChan(request *GetAsyncPredictRequest) (<-chan *GetAsyncPredictResponse, <-chan error)
- func (client *Client) GetModel(request *GetModelRequest) (response *GetModelResponse, err error)
- func (client *Client) GetModelWithCallback(request *GetModelRequest, callback func(response *GetModelResponse, err error)) <-chan int
- func (client *Client) GetModelWithChan(request *GetModelRequest) (<-chan *GetModelResponse, <-chan error)
- func (client *Client) GetPredictDoc(request *GetPredictDocRequest) (response *GetPredictDocResponse, err error)
- func (client *Client) GetPredictDocWithCallback(request *GetPredictDocRequest, ...) <-chan int
- func (client *Client) GetPredictDocWithChan(request *GetPredictDocRequest) (<-chan *GetPredictDocResponse, <-chan error)
- func (client *Client) GetPredictResult(request *GetPredictResultRequest) (response *GetPredictResultResponse, err error)
- func (client *Client) GetPredictResultWithCallback(request *GetPredictResultRequest, ...) <-chan int
- func (client *Client) GetPredictResultWithChan(request *GetPredictResultRequest) (<-chan *GetPredictResultResponse, <-chan error)
- func (client *Client) InvokeAction(request *InvokeActionRequest) (response *InvokeActionResponse, err error)
- func (client *Client) InvokeActionWithCallback(request *InvokeActionRequest, ...) <-chan int
- func (client *Client) InvokeActionWithChan(request *InvokeActionRequest) (<-chan *InvokeActionResponse, <-chan error)
- func (client *Client) ListDataset(request *ListDatasetRequest) (response *ListDatasetResponse, err error)
- func (client *Client) ListDatasetWithCallback(request *ListDatasetRequest, ...) <-chan int
- func (client *Client) ListDatasetWithChan(request *ListDatasetRequest) (<-chan *ListDatasetResponse, <-chan error)
- func (client *Client) ListModels(request *ListModelsRequest) (response *ListModelsResponse, err error)
- func (client *Client) ListModelsWithCallback(request *ListModelsRequest, ...) <-chan int
- func (client *Client) ListModelsWithChan(request *ListModelsRequest) (<-chan *ListModelsResponse, <-chan error)
- func (client *Client) PredictMTModel(request *PredictMTModelRequest) (response *PredictMTModelResponse, err error)
- func (client *Client) PredictMTModelByDoc(request *PredictMTModelByDocRequest) (response *PredictMTModelByDocResponse, err error)
- func (client *Client) PredictMTModelByDocWithCallback(request *PredictMTModelByDocRequest, ...) <-chan int
- func (client *Client) PredictMTModelByDocWithChan(request *PredictMTModelByDocRequest) (<-chan *PredictMTModelByDocResponse, <-chan error)
- func (client *Client) PredictMTModelWithCallback(request *PredictMTModelRequest, ...) <-chan int
- func (client *Client) PredictMTModelWithChan(request *PredictMTModelRequest) (<-chan *PredictMTModelResponse, <-chan error)
- func (client *Client) RunContactReview(request *RunContactReviewRequest) (response *RunContactReviewResponse, err error)
- func (client *Client) RunContactReviewWithCallback(request *RunContactReviewRequest, ...) <-chan int
- func (client *Client) RunContactReviewWithChan(request *RunContactReviewRequest) (<-chan *RunContactReviewResponse, <-chan error)
- func (client *Client) RunPreTrainService(request *RunPreTrainServiceRequest) (response *RunPreTrainServiceResponse, err error)
- func (client *Client) RunPreTrainServiceWithCallback(request *RunPreTrainServiceRequest, ...) <-chan int
- func (client *Client) RunPreTrainServiceWithChan(request *RunPreTrainServiceRequest) (<-chan *RunPreTrainServiceResponse, <-chan error)
- func (client *Client) RunSmartCallService(request *RunSmartCallServiceRequest) (response *RunSmartCallServiceResponse, err error)
- func (client *Client) RunSmartCallServiceWithCallback(request *RunSmartCallServiceRequest, ...) <-chan int
- func (client *Client) RunSmartCallServiceWithChan(request *RunSmartCallServiceRequest) (<-chan *RunSmartCallServiceResponse, <-chan error)
- type ContactContent
- type CreateAsyncPredictRequest
- type CreateAsyncPredictResponse
- type CreateDatasetRecordRequest
- type CreateDatasetRecordResponse
- type CreateDatasetRequest
- type CreateDatasetResponse
- type CreateModelRequest
- type CreateModelResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type DeleteModelRequest
- type DeleteModelResponse
- type DeployModelRequest
- type DeployModelResponse
- type EndPositionInRunContactReview
- type GetAsyncPredictRequest
- type GetAsyncPredictResponse
- type GetModelRequest
- type GetModelResponse
- type GetPredictDocRequest
- type GetPredictDocResponse
- type GetPredictResultRequest
- type GetPredictResultResponse
- type InvokeActionRequest
- type InvokeActionResponse
- type ListDatasetRequest
- type ListDatasetResponse
- type ListModelsRequest
- type ListModelsResponse
- type PredictMTModelByDocRequest
- type PredictMTModelByDocResponse
- type PredictMTModelRequest
- type PredictMTModelResponse
- type ReviewResult
- type ReviewResults
- type RunContactReviewRequest
- type RunContactReviewResponse
- type RunPreTrainServiceRequest
- type RunPreTrainServiceResponse
- type RunSmartCallServiceRequest
- type RunSmartCallServiceResponse
- type StartPositionInRunContactReview
- type StructureResult
- type StructureResults
- type ValueInRunContactReview
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AddMTInterveneWordRequest ¶ added in v1.61.806
type AddMTInterveneWordRequest struct { *requests.RpcRequest Product string `position:"Query" name:"Product"` SourceText string `position:"Query" name:"SourceText"` PackageId string `position:"Query" name:"PackageId"` TargetText string `position:"Query" name:"TargetText"` TenantId requests.Integer `position:"Query" name:"TenantId"` ProjectId string `position:"Query" name:"ProjectId"` }
AddMTInterveneWordRequest is the request struct for api AddMTInterveneWord
func CreateAddMTInterveneWordRequest ¶ added in v1.61.806
func CreateAddMTInterveneWordRequest() (request *AddMTInterveneWordRequest)
CreateAddMTInterveneWordRequest creates a request to invoke AddMTInterveneWord API
type AddMTInterveneWordResponse ¶ added in v1.61.806
type AddMTInterveneWordResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message int `json:"Message" xml:"Message"` WordId string `json:"WordId" xml:"WordId"` RequestId string `json:"RequestId" xml:"RequestId"` }
AddMTInterveneWordResponse is the response struct for api AddMTInterveneWord
func CreateAddMTInterveneWordResponse ¶ added in v1.61.806
func CreateAddMTInterveneWordResponse() (response *AddMTInterveneWordResponse)
CreateAddMTInterveneWordResponse creates a response to parse from AddMTInterveneWord response
type AddMtIntervenePackageRequest ¶ added in v1.61.806
type AddMtIntervenePackageRequest struct { *requests.RpcRequest SourceLanguage string `position:"Query" name:"SourceLanguage"` Product string `position:"Query" name:"Product"` PackageName string `position:"Query" name:"PackageName"` TenantId requests.Integer `position:"Query" name:"TenantId"` ProjectType string `position:"Query" name:"ProjectType"` SourceType string `position:"Query" name:"SourceType"` TargetLanguage string `position:"Query" name:"TargetLanguage"` Category string `position:"Query" name:"Category"` ProjectId requests.Integer `position:"Query" name:"ProjectId"` }
AddMtIntervenePackageRequest is the request struct for api AddMtIntervenePackage
func CreateAddMtIntervenePackageRequest ¶ added in v1.61.806
func CreateAddMtIntervenePackageRequest() (request *AddMtIntervenePackageRequest)
CreateAddMtIntervenePackageRequest creates a request to invoke AddMtIntervenePackage API
type AddMtIntervenePackageResponse ¶ added in v1.61.806
type AddMtIntervenePackageResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message int `json:"Message" xml:"Message"` PackageId string `json:"PackageId" xml:"PackageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
AddMtIntervenePackageResponse is the response struct for api AddMtIntervenePackage
func CreateAddMtIntervenePackageResponse ¶ added in v1.61.806
func CreateAddMtIntervenePackageResponse() (response *AddMtIntervenePackageResponse)
CreateAddMtIntervenePackageResponse creates a response to parse from AddMtIntervenePackage response
type BindIntervenePackageAndModelRequest ¶ added in v1.61.806
type BindIntervenePackageAndModelRequest struct { *requests.RpcRequest Product string `position:"Query" name:"Product"` ModelId requests.Integer `position:"Query" name:"ModelId"` PackageId requests.Integer `position:"Query" name:"PackageId"` TenantId requests.Integer `position:"Query" name:"TenantId"` ProjectId requests.Integer `position:"Query" name:"ProjectId"` ModelVersion string `position:"Query" name:"ModelVersion"` }
BindIntervenePackageAndModelRequest is the request struct for api BindIntervenePackageAndModel
func CreateBindIntervenePackageAndModelRequest ¶ added in v1.61.806
func CreateBindIntervenePackageAndModelRequest() (request *BindIntervenePackageAndModelRequest)
CreateBindIntervenePackageAndModelRequest creates a request to invoke BindIntervenePackageAndModel API
type BindIntervenePackageAndModelResponse ¶ added in v1.61.806
type BindIntervenePackageAndModelResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message int `json:"Message" xml:"Message"` Success string `json:"Success" xml:"Success"` RequestId string `json:"RequestId" xml:"RequestId"` }
BindIntervenePackageAndModelResponse is the response struct for api BindIntervenePackageAndModel
func CreateBindIntervenePackageAndModelResponse ¶ added in v1.61.806
func CreateBindIntervenePackageAndModelResponse() (response *BindIntervenePackageAndModelResponse)
CreateBindIntervenePackageAndModelResponse creates a response to parse from BindIntervenePackageAndModel response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AddMTInterveneWord ¶ added in v1.61.806
func (client *Client) AddMTInterveneWord(request *AddMTInterveneWordRequest) (response *AddMTInterveneWordResponse, err error)
AddMTInterveneWord invokes the nlp_automl.AddMTInterveneWord API synchronously
func (*Client) AddMTInterveneWordWithCallback ¶ added in v1.61.806
func (client *Client) AddMTInterveneWordWithCallback(request *AddMTInterveneWordRequest, callback func(response *AddMTInterveneWordResponse, err error)) <-chan int
AddMTInterveneWordWithCallback invokes the nlp_automl.AddMTInterveneWord API asynchronously
func (*Client) AddMTInterveneWordWithChan ¶ added in v1.61.806
func (client *Client) AddMTInterveneWordWithChan(request *AddMTInterveneWordRequest) (<-chan *AddMTInterveneWordResponse, <-chan error)
AddMTInterveneWordWithChan invokes the nlp_automl.AddMTInterveneWord API asynchronously
func (*Client) AddMtIntervenePackage ¶ added in v1.61.806
func (client *Client) AddMtIntervenePackage(request *AddMtIntervenePackageRequest) (response *AddMtIntervenePackageResponse, err error)
AddMtIntervenePackage invokes the nlp_automl.AddMtIntervenePackage API synchronously
func (*Client) AddMtIntervenePackageWithCallback ¶ added in v1.61.806
func (client *Client) AddMtIntervenePackageWithCallback(request *AddMtIntervenePackageRequest, callback func(response *AddMtIntervenePackageResponse, err error)) <-chan int
AddMtIntervenePackageWithCallback invokes the nlp_automl.AddMtIntervenePackage API asynchronously
func (*Client) AddMtIntervenePackageWithChan ¶ added in v1.61.806
func (client *Client) AddMtIntervenePackageWithChan(request *AddMtIntervenePackageRequest) (<-chan *AddMtIntervenePackageResponse, <-chan error)
AddMtIntervenePackageWithChan invokes the nlp_automl.AddMtIntervenePackage API asynchronously
func (*Client) BindIntervenePackageAndModel ¶ added in v1.61.806
func (client *Client) BindIntervenePackageAndModel(request *BindIntervenePackageAndModelRequest) (response *BindIntervenePackageAndModelResponse, err error)
BindIntervenePackageAndModel invokes the nlp_automl.BindIntervenePackageAndModel API synchronously
func (*Client) BindIntervenePackageAndModelWithCallback ¶ added in v1.61.806
func (client *Client) BindIntervenePackageAndModelWithCallback(request *BindIntervenePackageAndModelRequest, callback func(response *BindIntervenePackageAndModelResponse, err error)) <-chan int
BindIntervenePackageAndModelWithCallback invokes the nlp_automl.BindIntervenePackageAndModel API asynchronously
func (*Client) BindIntervenePackageAndModelWithChan ¶ added in v1.61.806
func (client *Client) BindIntervenePackageAndModelWithChan(request *BindIntervenePackageAndModelRequest) (<-chan *BindIntervenePackageAndModelResponse, <-chan error)
BindIntervenePackageAndModelWithChan invokes the nlp_automl.BindIntervenePackageAndModel API asynchronously
func (*Client) CreateAsyncPredict ¶
func (client *Client) CreateAsyncPredict(request *CreateAsyncPredictRequest) (response *CreateAsyncPredictResponse, err error)
CreateAsyncPredict invokes the nlp_automl.CreateAsyncPredict API synchronously
func (*Client) CreateAsyncPredictWithCallback ¶
func (client *Client) CreateAsyncPredictWithCallback(request *CreateAsyncPredictRequest, callback func(response *CreateAsyncPredictResponse, err error)) <-chan int
CreateAsyncPredictWithCallback invokes the nlp_automl.CreateAsyncPredict API asynchronously
func (*Client) CreateAsyncPredictWithChan ¶
func (client *Client) CreateAsyncPredictWithChan(request *CreateAsyncPredictRequest) (<-chan *CreateAsyncPredictResponse, <-chan error)
CreateAsyncPredictWithChan invokes the nlp_automl.CreateAsyncPredict API asynchronously
func (*Client) CreateDataset ¶ added in v1.61.806
func (client *Client) CreateDataset(request *CreateDatasetRequest) (response *CreateDatasetResponse, err error)
CreateDataset invokes the nlp_automl.CreateDataset API synchronously
func (*Client) CreateDatasetRecord ¶ added in v1.61.806
func (client *Client) CreateDatasetRecord(request *CreateDatasetRecordRequest) (response *CreateDatasetRecordResponse, err error)
CreateDatasetRecord invokes the nlp_automl.CreateDatasetRecord API synchronously
func (*Client) CreateDatasetRecordWithCallback ¶ added in v1.61.806
func (client *Client) CreateDatasetRecordWithCallback(request *CreateDatasetRecordRequest, callback func(response *CreateDatasetRecordResponse, err error)) <-chan int
CreateDatasetRecordWithCallback invokes the nlp_automl.CreateDatasetRecord API asynchronously
func (*Client) CreateDatasetRecordWithChan ¶ added in v1.61.806
func (client *Client) CreateDatasetRecordWithChan(request *CreateDatasetRecordRequest) (<-chan *CreateDatasetRecordResponse, <-chan error)
CreateDatasetRecordWithChan invokes the nlp_automl.CreateDatasetRecord API asynchronously
func (*Client) CreateDatasetWithCallback ¶ added in v1.61.806
func (client *Client) CreateDatasetWithCallback(request *CreateDatasetRequest, callback func(response *CreateDatasetResponse, err error)) <-chan int
CreateDatasetWithCallback invokes the nlp_automl.CreateDataset API asynchronously
func (*Client) CreateDatasetWithChan ¶ added in v1.61.806
func (client *Client) CreateDatasetWithChan(request *CreateDatasetRequest) (<-chan *CreateDatasetResponse, <-chan error)
CreateDatasetWithChan invokes the nlp_automl.CreateDataset API asynchronously
func (*Client) CreateModel ¶ added in v1.61.806
func (client *Client) CreateModel(request *CreateModelRequest) (response *CreateModelResponse, err error)
CreateModel invokes the nlp_automl.CreateModel API synchronously
func (*Client) CreateModelWithCallback ¶ added in v1.61.806
func (client *Client) CreateModelWithCallback(request *CreateModelRequest, callback func(response *CreateModelResponse, err error)) <-chan int
CreateModelWithCallback invokes the nlp_automl.CreateModel API asynchronously
func (*Client) CreateModelWithChan ¶ added in v1.61.806
func (client *Client) CreateModelWithChan(request *CreateModelRequest) (<-chan *CreateModelResponse, <-chan error)
CreateModelWithChan invokes the nlp_automl.CreateModel API asynchronously
func (*Client) CreateProject ¶ added in v1.61.806
func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject invokes the nlp_automl.CreateProject API synchronously
func (*Client) CreateProjectWithCallback ¶ added in v1.61.806
func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, callback func(response *CreateProjectResponse, err error)) <-chan int
CreateProjectWithCallback invokes the nlp_automl.CreateProject API asynchronously
func (*Client) CreateProjectWithChan ¶ added in v1.61.806
func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error)
CreateProjectWithChan invokes the nlp_automl.CreateProject API asynchronously
func (*Client) DeleteModel ¶ added in v1.61.806
func (client *Client) DeleteModel(request *DeleteModelRequest) (response *DeleteModelResponse, err error)
DeleteModel invokes the nlp_automl.DeleteModel API synchronously
func (*Client) DeleteModelWithCallback ¶ added in v1.61.806
func (client *Client) DeleteModelWithCallback(request *DeleteModelRequest, callback func(response *DeleteModelResponse, err error)) <-chan int
DeleteModelWithCallback invokes the nlp_automl.DeleteModel API asynchronously
func (*Client) DeleteModelWithChan ¶ added in v1.61.806
func (client *Client) DeleteModelWithChan(request *DeleteModelRequest) (<-chan *DeleteModelResponse, <-chan error)
DeleteModelWithChan invokes the nlp_automl.DeleteModel API asynchronously
func (*Client) DeployModel ¶ added in v1.61.806
func (client *Client) DeployModel(request *DeployModelRequest) (response *DeployModelResponse, err error)
DeployModel invokes the nlp_automl.DeployModel API synchronously
func (*Client) DeployModelWithCallback ¶ added in v1.61.806
func (client *Client) DeployModelWithCallback(request *DeployModelRequest, callback func(response *DeployModelResponse, err error)) <-chan int
DeployModelWithCallback invokes the nlp_automl.DeployModel API asynchronously
func (*Client) DeployModelWithChan ¶ added in v1.61.806
func (client *Client) DeployModelWithChan(request *DeployModelRequest) (<-chan *DeployModelResponse, <-chan error)
DeployModelWithChan invokes the nlp_automl.DeployModel API asynchronously
func (*Client) GetAsyncPredict ¶
func (client *Client) GetAsyncPredict(request *GetAsyncPredictRequest) (response *GetAsyncPredictResponse, err error)
GetAsyncPredict invokes the nlp_automl.GetAsyncPredict API synchronously
func (*Client) GetAsyncPredictWithCallback ¶
func (client *Client) GetAsyncPredictWithCallback(request *GetAsyncPredictRequest, callback func(response *GetAsyncPredictResponse, err error)) <-chan int
GetAsyncPredictWithCallback invokes the nlp_automl.GetAsyncPredict API asynchronously
func (*Client) GetAsyncPredictWithChan ¶
func (client *Client) GetAsyncPredictWithChan(request *GetAsyncPredictRequest) (<-chan *GetAsyncPredictResponse, <-chan error)
GetAsyncPredictWithChan invokes the nlp_automl.GetAsyncPredict API asynchronously
func (*Client) GetModel ¶ added in v1.61.806
func (client *Client) GetModel(request *GetModelRequest) (response *GetModelResponse, err error)
GetModel invokes the nlp_automl.GetModel API synchronously
func (*Client) GetModelWithCallback ¶ added in v1.61.806
func (client *Client) GetModelWithCallback(request *GetModelRequest, callback func(response *GetModelResponse, err error)) <-chan int
GetModelWithCallback invokes the nlp_automl.GetModel API asynchronously
func (*Client) GetModelWithChan ¶ added in v1.61.806
func (client *Client) GetModelWithChan(request *GetModelRequest) (<-chan *GetModelResponse, <-chan error)
GetModelWithChan invokes the nlp_automl.GetModel API asynchronously
func (*Client) GetPredictDoc ¶ added in v1.61.806
func (client *Client) GetPredictDoc(request *GetPredictDocRequest) (response *GetPredictDocResponse, err error)
GetPredictDoc invokes the nlp_automl.GetPredictDoc API synchronously
func (*Client) GetPredictDocWithCallback ¶ added in v1.61.806
func (client *Client) GetPredictDocWithCallback(request *GetPredictDocRequest, callback func(response *GetPredictDocResponse, err error)) <-chan int
GetPredictDocWithCallback invokes the nlp_automl.GetPredictDoc API asynchronously
func (*Client) GetPredictDocWithChan ¶ added in v1.61.806
func (client *Client) GetPredictDocWithChan(request *GetPredictDocRequest) (<-chan *GetPredictDocResponse, <-chan error)
GetPredictDocWithChan invokes the nlp_automl.GetPredictDoc API asynchronously
func (*Client) GetPredictResult ¶
func (client *Client) GetPredictResult(request *GetPredictResultRequest) (response *GetPredictResultResponse, err error)
GetPredictResult invokes the nlp_automl.GetPredictResult API synchronously
func (*Client) GetPredictResultWithCallback ¶
func (client *Client) GetPredictResultWithCallback(request *GetPredictResultRequest, callback func(response *GetPredictResultResponse, err error)) <-chan int
GetPredictResultWithCallback invokes the nlp_automl.GetPredictResult API asynchronously
func (*Client) GetPredictResultWithChan ¶
func (client *Client) GetPredictResultWithChan(request *GetPredictResultRequest) (<-chan *GetPredictResultResponse, <-chan error)
GetPredictResultWithChan invokes the nlp_automl.GetPredictResult API asynchronously
func (*Client) InvokeAction ¶ added in v1.61.806
func (client *Client) InvokeAction(request *InvokeActionRequest) (response *InvokeActionResponse, err error)
InvokeAction invokes the nlp_automl.InvokeAction API synchronously
func (*Client) InvokeActionWithCallback ¶ added in v1.61.806
func (client *Client) InvokeActionWithCallback(request *InvokeActionRequest, callback func(response *InvokeActionResponse, err error)) <-chan int
InvokeActionWithCallback invokes the nlp_automl.InvokeAction API asynchronously
func (*Client) InvokeActionWithChan ¶ added in v1.61.806
func (client *Client) InvokeActionWithChan(request *InvokeActionRequest) (<-chan *InvokeActionResponse, <-chan error)
InvokeActionWithChan invokes the nlp_automl.InvokeAction API asynchronously
func (*Client) ListDataset ¶ added in v1.61.806
func (client *Client) ListDataset(request *ListDatasetRequest) (response *ListDatasetResponse, err error)
ListDataset invokes the nlp_automl.ListDataset API synchronously
func (*Client) ListDatasetWithCallback ¶ added in v1.61.806
func (client *Client) ListDatasetWithCallback(request *ListDatasetRequest, callback func(response *ListDatasetResponse, err error)) <-chan int
ListDatasetWithCallback invokes the nlp_automl.ListDataset API asynchronously
func (*Client) ListDatasetWithChan ¶ added in v1.61.806
func (client *Client) ListDatasetWithChan(request *ListDatasetRequest) (<-chan *ListDatasetResponse, <-chan error)
ListDatasetWithChan invokes the nlp_automl.ListDataset API asynchronously
func (*Client) ListModels ¶ added in v1.61.806
func (client *Client) ListModels(request *ListModelsRequest) (response *ListModelsResponse, err error)
ListModels invokes the nlp_automl.ListModels API synchronously
func (*Client) ListModelsWithCallback ¶ added in v1.61.806
func (client *Client) ListModelsWithCallback(request *ListModelsRequest, callback func(response *ListModelsResponse, err error)) <-chan int
ListModelsWithCallback invokes the nlp_automl.ListModels API asynchronously
func (*Client) ListModelsWithChan ¶ added in v1.61.806
func (client *Client) ListModelsWithChan(request *ListModelsRequest) (<-chan *ListModelsResponse, <-chan error)
ListModelsWithChan invokes the nlp_automl.ListModels API asynchronously
func (*Client) PredictMTModel ¶ added in v1.61.806
func (client *Client) PredictMTModel(request *PredictMTModelRequest) (response *PredictMTModelResponse, err error)
PredictMTModel invokes the nlp_automl.PredictMTModel API synchronously
func (*Client) PredictMTModelByDoc ¶ added in v1.61.806
func (client *Client) PredictMTModelByDoc(request *PredictMTModelByDocRequest) (response *PredictMTModelByDocResponse, err error)
PredictMTModelByDoc invokes the nlp_automl.PredictMTModelByDoc API synchronously
func (*Client) PredictMTModelByDocWithCallback ¶ added in v1.61.806
func (client *Client) PredictMTModelByDocWithCallback(request *PredictMTModelByDocRequest, callback func(response *PredictMTModelByDocResponse, err error)) <-chan int
PredictMTModelByDocWithCallback invokes the nlp_automl.PredictMTModelByDoc API asynchronously
func (*Client) PredictMTModelByDocWithChan ¶ added in v1.61.806
func (client *Client) PredictMTModelByDocWithChan(request *PredictMTModelByDocRequest) (<-chan *PredictMTModelByDocResponse, <-chan error)
PredictMTModelByDocWithChan invokes the nlp_automl.PredictMTModelByDoc API asynchronously
func (*Client) PredictMTModelWithCallback ¶ added in v1.61.806
func (client *Client) PredictMTModelWithCallback(request *PredictMTModelRequest, callback func(response *PredictMTModelResponse, err error)) <-chan int
PredictMTModelWithCallback invokes the nlp_automl.PredictMTModel API asynchronously
func (*Client) PredictMTModelWithChan ¶ added in v1.61.806
func (client *Client) PredictMTModelWithChan(request *PredictMTModelRequest) (<-chan *PredictMTModelResponse, <-chan error)
PredictMTModelWithChan invokes the nlp_automl.PredictMTModel API asynchronously
func (*Client) RunContactReview ¶
func (client *Client) RunContactReview(request *RunContactReviewRequest) (response *RunContactReviewResponse, err error)
RunContactReview invokes the nlp_automl.RunContactReview API synchronously
func (*Client) RunContactReviewWithCallback ¶
func (client *Client) RunContactReviewWithCallback(request *RunContactReviewRequest, callback func(response *RunContactReviewResponse, err error)) <-chan int
RunContactReviewWithCallback invokes the nlp_automl.RunContactReview API asynchronously
func (*Client) RunContactReviewWithChan ¶
func (client *Client) RunContactReviewWithChan(request *RunContactReviewRequest) (<-chan *RunContactReviewResponse, <-chan error)
RunContactReviewWithChan invokes the nlp_automl.RunContactReview API asynchronously
func (*Client) RunPreTrainService ¶ added in v1.61.116
func (client *Client) RunPreTrainService(request *RunPreTrainServiceRequest) (response *RunPreTrainServiceResponse, err error)
RunPreTrainService invokes the nlp_automl.RunPreTrainService API synchronously
func (*Client) RunPreTrainServiceWithCallback ¶ added in v1.61.116
func (client *Client) RunPreTrainServiceWithCallback(request *RunPreTrainServiceRequest, callback func(response *RunPreTrainServiceResponse, err error)) <-chan int
RunPreTrainServiceWithCallback invokes the nlp_automl.RunPreTrainService API asynchronously
func (*Client) RunPreTrainServiceWithChan ¶ added in v1.61.116
func (client *Client) RunPreTrainServiceWithChan(request *RunPreTrainServiceRequest) (<-chan *RunPreTrainServiceResponse, <-chan error)
RunPreTrainServiceWithChan invokes the nlp_automl.RunPreTrainService API asynchronously
func (*Client) RunSmartCallService ¶ added in v1.61.220
func (client *Client) RunSmartCallService(request *RunSmartCallServiceRequest) (response *RunSmartCallServiceResponse, err error)
RunSmartCallService invokes the nlp_automl.RunSmartCallService API synchronously
func (*Client) RunSmartCallServiceWithCallback ¶ added in v1.61.220
func (client *Client) RunSmartCallServiceWithCallback(request *RunSmartCallServiceRequest, callback func(response *RunSmartCallServiceResponse, err error)) <-chan int
RunSmartCallServiceWithCallback invokes the nlp_automl.RunSmartCallService API asynchronously
func (*Client) RunSmartCallServiceWithChan ¶ added in v1.61.220
func (client *Client) RunSmartCallServiceWithChan(request *RunSmartCallServiceRequest) (<-chan *RunSmartCallServiceResponse, <-chan error)
RunSmartCallServiceWithChan invokes the nlp_automl.RunSmartCallService API asynchronously
type ContactContent ¶
type ContactContent struct { ReviewResults []ReviewResult `json:"ReviewResults" xml:"ReviewResults"` StructureResults []StructureResult `json:"StructureResults" xml:"StructureResults"` }
ContactContent is a nested struct in nlp_automl response
type CreateAsyncPredictRequest ¶
type CreateAsyncPredictRequest struct { *requests.RpcRequest TopK requests.Integer `position:"Body" name:"TopK"` FileType string `position:"Body" name:"FileType"` DetailTag string `position:"Body" name:"DetailTag"` FetchContent string `position:"Body" name:"FetchContent"` Content string `position:"Body" name:"Content"` FileContent string `position:"Body" name:"FileContent"` Product string `position:"Body" name:"Product"` ModelId requests.Integer `position:"Body" name:"ModelId"` FileUrl string `position:"Body" name:"FileUrl"` ModelVersion string `position:"Body" name:"ModelVersion"` }
CreateAsyncPredictRequest is the request struct for api CreateAsyncPredict
func CreateCreateAsyncPredictRequest ¶
func CreateCreateAsyncPredictRequest() (request *CreateAsyncPredictRequest)
CreateCreateAsyncPredictRequest creates a request to invoke CreateAsyncPredict API
type CreateAsyncPredictResponse ¶
type CreateAsyncPredictResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AsyncPredictId int64 `json:"AsyncPredictId" xml:"AsyncPredictId"` }
CreateAsyncPredictResponse is the response struct for api CreateAsyncPredict
func CreateCreateAsyncPredictResponse ¶
func CreateCreateAsyncPredictResponse() (response *CreateAsyncPredictResponse)
CreateCreateAsyncPredictResponse creates a response to parse from CreateAsyncPredict response
type CreateDatasetRecordRequest ¶ added in v1.61.806
type CreateDatasetRecordRequest struct { *requests.RpcRequest DatasetRecord string `position:"Body" name:"DatasetRecord"` DatasetId requests.Integer `position:"Body" name:"DatasetId"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` }
CreateDatasetRecordRequest is the request struct for api CreateDatasetRecord
func CreateCreateDatasetRecordRequest ¶ added in v1.61.806
func CreateCreateDatasetRecordRequest() (request *CreateDatasetRecordRequest)
CreateCreateDatasetRecordRequest creates a request to invoke CreateDatasetRecord API
type CreateDatasetRecordResponse ¶ added in v1.61.806
type CreateDatasetRecordResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DatasetRecordId map[string]interface{} `json:"DatasetRecordId" xml:"DatasetRecordId"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
CreateDatasetRecordResponse is the response struct for api CreateDatasetRecord
func CreateCreateDatasetRecordResponse ¶ added in v1.61.806
func CreateCreateDatasetRecordResponse() (response *CreateDatasetRecordResponse)
CreateCreateDatasetRecordResponse creates a response to parse from CreateDatasetRecord response
type CreateDatasetRequest ¶ added in v1.61.806
type CreateDatasetRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` DatasetName string `position:"Body" name:"DatasetName"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` }
CreateDatasetRequest is the request struct for api CreateDataset
func CreateCreateDatasetRequest ¶ added in v1.61.806
func CreateCreateDatasetRequest() (request *CreateDatasetRequest)
CreateCreateDatasetRequest creates a request to invoke CreateDataset API
type CreateDatasetResponse ¶ added in v1.61.806
type CreateDatasetResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DatasetId map[string]interface{} `json:"DatasetId" xml:"DatasetId"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
CreateDatasetResponse is the response struct for api CreateDataset
func CreateCreateDatasetResponse ¶ added in v1.61.806
func CreateCreateDatasetResponse() (response *CreateDatasetResponse)
CreateCreateDatasetResponse creates a response to parse from CreateDataset response
type CreateModelRequest ¶ added in v1.61.806
type CreateModelRequest struct { *requests.RpcRequest IsIncrementalTrain string `position:"Body" name:"IsIncrementalTrain"` ModelName string `position:"Body" name:"ModelName"` DatasetIdList map[string]interface{} `position:"Body" name:"DatasetIdList"` TestDatasetIdList map[string]interface{} `position:"Body" name:"TestDatasetIdList"` ModelType string `position:"Body" name:"ModelType"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` Product string `position:"Body" name:"Product"` ModelId requests.Integer `position:"Body" name:"ModelId"` }
CreateModelRequest is the request struct for api CreateModel
func CreateCreateModelRequest ¶ added in v1.61.806
func CreateCreateModelRequest() (request *CreateModelRequest)
CreateCreateModelRequest creates a request to invoke CreateModel API
type CreateModelResponse ¶ added in v1.61.806
type CreateModelResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data map[string]interface{} `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
CreateModelResponse is the response struct for api CreateModel
func CreateCreateModelResponse ¶ added in v1.61.806
func CreateCreateModelResponse() (response *CreateModelResponse)
CreateCreateModelResponse creates a response to parse from CreateModel response
type CreateProjectRequest ¶ added in v1.61.806
type CreateProjectRequest struct { *requests.RpcRequest ProjectName string `position:"Body" name:"ProjectName"` Product string `position:"Body" name:"Product"` ProjectDescription string `position:"Body" name:"ProjectDescription"` ProjectType string `position:"Body" name:"ProjectType"` }
CreateProjectRequest is the request struct for api CreateProject
func CreateCreateProjectRequest ¶ added in v1.61.806
func CreateCreateProjectRequest() (request *CreateProjectRequest)
CreateCreateProjectRequest creates a request to invoke CreateProject API
type CreateProjectResponse ¶ added in v1.61.806
type CreateProjectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ProjectId map[string]interface{} `json:"ProjectId" xml:"ProjectId"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
CreateProjectResponse is the response struct for api CreateProject
func CreateCreateProjectResponse ¶ added in v1.61.806
func CreateCreateProjectResponse() (response *CreateProjectResponse)
CreateCreateProjectResponse creates a response to parse from CreateProject response
type DeleteModelRequest ¶ added in v1.61.806
type DeleteModelRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` ModelId requests.Integer `position:"Body" name:"ModelId"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` }
DeleteModelRequest is the request struct for api DeleteModel
func CreateDeleteModelRequest ¶ added in v1.61.806
func CreateDeleteModelRequest() (request *DeleteModelRequest)
CreateDeleteModelRequest creates a request to invoke DeleteModel API
type DeleteModelResponse ¶ added in v1.61.806
type DeleteModelResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data map[string]interface{} `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
DeleteModelResponse is the response struct for api DeleteModel
func CreateDeleteModelResponse ¶ added in v1.61.806
func CreateDeleteModelResponse() (response *DeleteModelResponse)
CreateDeleteModelResponse creates a response to parse from DeleteModel response
type DeployModelRequest ¶ added in v1.61.806
type DeployModelRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` ModelId requests.Integer `position:"Body" name:"ModelId"` OptType string `position:"Body" name:"OptType"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` ModelVersion string `position:"Body" name:"ModelVersion"` }
DeployModelRequest is the request struct for api DeployModel
func CreateDeployModelRequest ¶ added in v1.61.806
func CreateDeployModelRequest() (request *DeployModelRequest)
CreateDeployModelRequest creates a request to invoke DeployModel API
type DeployModelResponse ¶ added in v1.61.806
type DeployModelResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data map[string]interface{} `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
DeployModelResponse is the response struct for api DeployModel
func CreateDeployModelResponse ¶ added in v1.61.806
func CreateDeployModelResponse() (response *DeployModelResponse)
CreateDeployModelResponse creates a response to parse from DeployModel response
type EndPositionInRunContactReview ¶
type EndPositionInRunContactReview struct {
EndPosition []string `json:"EndPosition" xml:"EndPosition"`
}
EndPositionInRunContactReview is a nested struct in nlp_automl response
type GetAsyncPredictRequest ¶
type GetAsyncPredictRequest struct { *requests.RpcRequest Product string `position:"Query" name:"Product"` AsyncPredictId requests.Integer `position:"Query" name:"AsyncPredictId"` }
GetAsyncPredictRequest is the request struct for api GetAsyncPredict
func CreateGetAsyncPredictRequest ¶
func CreateGetAsyncPredictRequest() (request *GetAsyncPredictRequest)
CreateGetAsyncPredictRequest creates a request to invoke GetAsyncPredict API
type GetAsyncPredictResponse ¶
type GetAsyncPredictResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AsyncPredictId int `json:"AsyncPredictId" xml:"AsyncPredictId"` Status int `json:"Status" xml:"Status"` Content string `json:"Content" xml:"Content"` }
GetAsyncPredictResponse is the response struct for api GetAsyncPredict
func CreateGetAsyncPredictResponse ¶
func CreateGetAsyncPredictResponse() (response *GetAsyncPredictResponse)
CreateGetAsyncPredictResponse creates a response to parse from GetAsyncPredict response
type GetModelRequest ¶ added in v1.61.806
type GetModelRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` ModelId requests.Integer `position:"Body" name:"ModelId"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` ModelVersion string `position:"Body" name:"ModelVersion"` }
GetModelRequest is the request struct for api GetModel
func CreateGetModelRequest ¶ added in v1.61.806
func CreateGetModelRequest() (request *GetModelRequest)
CreateGetModelRequest creates a request to invoke GetModel API
type GetModelResponse ¶ added in v1.61.806
type GetModelResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data map[string]interface{} `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
GetModelResponse is the response struct for api GetModel
func CreateGetModelResponse ¶ added in v1.61.806
func CreateGetModelResponse() (response *GetModelResponse)
CreateGetModelResponse creates a response to parse from GetModel response
type GetPredictDocRequest ¶ added in v1.61.806
type GetPredictDocRequest struct { *requests.RpcRequest Product string `position:"Query" name:"Product"` DocId requests.Integer `position:"Query" name:"DocId"` }
GetPredictDocRequest is the request struct for api GetPredictDoc
func CreateGetPredictDocRequest ¶ added in v1.61.806
func CreateGetPredictDocRequest() (request *GetPredictDocRequest)
CreateGetPredictDocRequest creates a request to invoke GetPredictDoc API
type GetPredictDocResponse ¶ added in v1.61.806
type GetPredictDocResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ResultContent string `json:"ResultContent" xml:"ResultContent"` Status int `json:"Status" xml:"Status"` XLIFFInfo string `json:"XLIFFInfo" xml:"XLIFFInfo"` }
GetPredictDocResponse is the response struct for api GetPredictDoc
func CreateGetPredictDocResponse ¶ added in v1.61.806
func CreateGetPredictDocResponse() (response *GetPredictDocResponse)
CreateGetPredictDocResponse creates a response to parse from GetPredictDoc response
type GetPredictResultRequest ¶
type GetPredictResultRequest struct { *requests.RpcRequest TopK requests.Integer `position:"Body" name:"TopK"` Product string `position:"Body" name:"Product"` ModelId requests.Integer `position:"Body" name:"ModelId"` DetailTag string `position:"Body" name:"DetailTag"` Content string `position:"Body" name:"Content"` ModelVersion string `position:"Body" name:"ModelVersion"` }
GetPredictResultRequest is the request struct for api GetPredictResult
func CreateGetPredictResultRequest ¶
func CreateGetPredictResultRequest() (request *GetPredictResultRequest)
CreateGetPredictResultRequest creates a request to invoke GetPredictResult API
type GetPredictResultResponse ¶
type GetPredictResultResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Content string `json:"Content" xml:"Content"` }
GetPredictResultResponse is the response struct for api GetPredictResult
func CreateGetPredictResultResponse ¶
func CreateGetPredictResultResponse() (response *GetPredictResultResponse)
CreateGetPredictResultResponse creates a response to parse from GetPredictResult response
type InvokeActionRequest ¶ added in v1.61.806
type InvokeActionRequest struct { *requests.RpcRequest InvokeProduct string `position:"Query" name:"InvokeProduct"` InvokeAction string `position:"Body" name:"InvokeAction"` InvokeParams string `position:"Body" name:"InvokeParams"` InvokeRegion string `position:"Query" name:"InvokeRegion"` }
InvokeActionRequest is the request struct for api InvokeAction
func CreateInvokeActionRequest ¶ added in v1.61.806
func CreateInvokeActionRequest() (request *InvokeActionRequest)
CreateInvokeActionRequest creates a request to invoke InvokeAction API
type InvokeActionResponse ¶ added in v1.61.806
type InvokeActionResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message int `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` }
InvokeActionResponse is the response struct for api InvokeAction
func CreateInvokeActionResponse ¶ added in v1.61.806
func CreateInvokeActionResponse() (response *InvokeActionResponse)
CreateInvokeActionResponse creates a response to parse from InvokeAction response
type ListDatasetRequest ¶ added in v1.61.806
type ListDatasetRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` PageNumber requests.Integer `position:"Body" name:"PageNumber"` PageSize requests.Integer `position:"Body" name:"PageSize"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` }
ListDatasetRequest is the request struct for api ListDataset
func CreateListDatasetRequest ¶ added in v1.61.806
func CreateListDatasetRequest() (request *ListDatasetRequest)
CreateListDatasetRequest creates a request to invoke ListDataset API
type ListDatasetResponse ¶ added in v1.61.806
type ListDatasetResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data map[string]interface{} `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
ListDatasetResponse is the response struct for api ListDataset
func CreateListDatasetResponse ¶ added in v1.61.806
func CreateListDatasetResponse() (response *ListDatasetResponse)
CreateListDatasetResponse creates a response to parse from ListDataset response
type ListModelsRequest ¶ added in v1.61.806
type ListModelsRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` PageNumber requests.Integer `position:"Body" name:"PageNumber"` PageSize requests.Integer `position:"Body" name:"PageSize"` ProjectId requests.Integer `position:"Body" name:"ProjectId"` }
ListModelsRequest is the request struct for api ListModels
func CreateListModelsRequest ¶ added in v1.61.806
func CreateListModelsRequest() (request *ListModelsRequest)
CreateListModelsRequest creates a request to invoke ListModels API
type ListModelsResponse ¶ added in v1.61.806
type ListModelsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data map[string]interface{} `json:"Data" xml:"Data"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` }
ListModelsResponse is the response struct for api ListModels
func CreateListModelsResponse ¶ added in v1.61.806
func CreateListModelsResponse() (response *ListModelsResponse)
CreateListModelsResponse creates a response to parse from ListModels response
type PredictMTModelByDocRequest ¶ added in v1.61.806
type PredictMTModelByDocRequest struct { *requests.RpcRequest FileType string `position:"Query" name:"FileType"` Product string `position:"Query" name:"Product"` ModelId requests.Integer `position:"Query" name:"ModelId"` FileContent string `position:"Body" name:"FileContent"` NeedXLIFF requests.Boolean `position:"Query" name:"NeedXLIFF"` ModelVersion string `position:"Query" name:"ModelVersion"` }
PredictMTModelByDocRequest is the request struct for api PredictMTModelByDoc
func CreatePredictMTModelByDocRequest ¶ added in v1.61.806
func CreatePredictMTModelByDocRequest() (request *PredictMTModelByDocRequest)
CreatePredictMTModelByDocRequest creates a request to invoke PredictMTModelByDoc API
type PredictMTModelByDocResponse ¶ added in v1.61.806
type PredictMTModelByDocResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DocId string `json:"DocId" xml:"DocId"` }
PredictMTModelByDocResponse is the response struct for api PredictMTModelByDoc
func CreatePredictMTModelByDocResponse ¶ added in v1.61.806
func CreatePredictMTModelByDocResponse() (response *PredictMTModelByDocResponse)
CreatePredictMTModelByDocResponse creates a response to parse from PredictMTModelByDoc response
type PredictMTModelRequest ¶ added in v1.61.806
type PredictMTModelRequest struct { *requests.RpcRequest Product string `position:"Query" name:"Product"` ModelId string `position:"Query" name:"ModelId"` Content string `position:"Body" name:"Content"` ModelVersion string `position:"Query" name:"ModelVersion"` }
PredictMTModelRequest is the request struct for api PredictMTModel
func CreatePredictMTModelRequest ¶ added in v1.61.806
func CreatePredictMTModelRequest() (request *PredictMTModelRequest)
CreatePredictMTModelRequest creates a request to invoke PredictMTModel API
type PredictMTModelResponse ¶ added in v1.61.806
type PredictMTModelResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message int `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` }
PredictMTModelResponse is the response struct for api PredictMTModel
func CreatePredictMTModelResponse ¶ added in v1.61.806
func CreatePredictMTModelResponse() (response *PredictMTModelResponse)
CreatePredictMTModelResponse creates a response to parse from PredictMTModel response
type ReviewResult ¶
type ReviewResult struct { RiskLevel string `json:"RiskLevel" xml:"RiskLevel"` Reason string `json:"Reason" xml:"Reason"` Type string `json:"Type" xml:"Type"` ModificationSuggestion string `json:"ModificationSuggestion" xml:"ModificationSuggestion"` Value []string `json:"Value" xml:"Value"` EndPosition []string `json:"EndPosition" xml:"EndPosition"` StartPosition []string `json:"StartPosition" xml:"StartPosition"` }
ReviewResult is a nested struct in nlp_automl response
type ReviewResults ¶
type ReviewResults struct {
ReviewResult []ReviewResult `json:"ReviewResult" xml:"ReviewResult"`
}
ReviewResults is a nested struct in nlp_automl response
type RunContactReviewRequest ¶
type RunContactReviewRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` ContactScene string `position:"Body" name:"ContactScene"` ContactPath string `position:"Body" name:"ContactPath"` }
RunContactReviewRequest is the request struct for api RunContactReview
func CreateRunContactReviewRequest ¶
func CreateRunContactReviewRequest() (request *RunContactReviewRequest)
CreateRunContactReviewRequest creates a request to invoke RunContactReview API
type RunContactReviewResponse ¶
type RunContactReviewResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` RawContractContent string `json:"RawContractContent" xml:"RawContractContent"` ContactContent ContactContent `json:"ContactContent" xml:"ContactContent"` }
RunContactReviewResponse is the response struct for api RunContactReview
func CreateRunContactReviewResponse ¶
func CreateRunContactReviewResponse() (response *RunContactReviewResponse)
CreateRunContactReviewResponse creates a response to parse from RunContactReview response
type RunPreTrainServiceRequest ¶ added in v1.61.116
type RunPreTrainServiceRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` PredictContent string `position:"Body" name:"PredictContent"` ServiceVersion string `position:"Body" name:"ServiceVersion"` ServiceName string `position:"Body" name:"ServiceName"` }
RunPreTrainServiceRequest is the request struct for api RunPreTrainService
func CreateRunPreTrainServiceRequest ¶ added in v1.61.116
func CreateRunPreTrainServiceRequest() (request *RunPreTrainServiceRequest)
CreateRunPreTrainServiceRequest creates a request to invoke RunPreTrainService API
type RunPreTrainServiceResponse ¶ added in v1.61.116
type RunPreTrainServiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PredictResult string `json:"PredictResult" xml:"PredictResult"` }
RunPreTrainServiceResponse is the response struct for api RunPreTrainService
func CreateRunPreTrainServiceResponse ¶ added in v1.61.116
func CreateRunPreTrainServiceResponse() (response *RunPreTrainServiceResponse)
CreateRunPreTrainServiceResponse creates a response to parse from RunPreTrainService response
type RunSmartCallServiceRequest ¶ added in v1.61.220
type RunSmartCallServiceRequest struct { *requests.RpcRequest Product string `position:"Body" name:"Product"` SessionId string `position:"Body" name:"SessionId"` RobotId requests.Integer `position:"Body" name:"RobotId"` ParamContent string `position:"Body" name:"ParamContent"` ServiceName string `position:"Body" name:"ServiceName"` }
RunSmartCallServiceRequest is the request struct for api RunSmartCallService
func CreateRunSmartCallServiceRequest ¶ added in v1.61.220
func CreateRunSmartCallServiceRequest() (request *RunSmartCallServiceRequest)
CreateRunSmartCallServiceRequest creates a request to invoke RunSmartCallService API
type RunSmartCallServiceResponse ¶ added in v1.61.220
type RunSmartCallServiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data string `json:"Data" xml:"Data"` }
RunSmartCallServiceResponse is the response struct for api RunSmartCallService
func CreateRunSmartCallServiceResponse ¶ added in v1.61.220
func CreateRunSmartCallServiceResponse() (response *RunSmartCallServiceResponse)
CreateRunSmartCallServiceResponse creates a response to parse from RunSmartCallService response
type StartPositionInRunContactReview ¶
type StartPositionInRunContactReview struct {
StartPosition []string `json:"StartPosition" xml:"StartPosition"`
}
StartPositionInRunContactReview is a nested struct in nlp_automl response
type StructureResult ¶
type StructureResult struct { Name string `json:"Name" xml:"Name"` Type string `json:"Type" xml:"Type"` Value []string `json:"Value" xml:"Value"` EndPosition []string `json:"EndPosition" xml:"EndPosition"` StartPosition []string `json:"StartPosition" xml:"StartPosition"` }
StructureResult is a nested struct in nlp_automl response
type StructureResults ¶
type StructureResults struct {
StructureResult []StructureResult `json:"StructureResult" xml:"StructureResult"`
}
StructureResults is a nested struct in nlp_automl response
type ValueInRunContactReview ¶
type ValueInRunContactReview struct {
Value []string `json:"Value" xml:"Value"`
}
ValueInRunContactReview is a nested struct in nlp_automl response
Source Files ¶
- add_mt_intervene_package.go
- add_mt_intervene_word.go
- bind_intervene_package_and_model.go
- client.go
- create_async_predict.go
- create_dataset.go
- create_dataset_record.go
- create_model.go
- create_project.go
- delete_model.go
- deploy_model.go
- endpoint.go
- get_async_predict.go
- get_model.go
- get_predict_doc.go
- get_predict_result.go
- invoke_action.go
- list_dataset.go
- list_models.go
- predict_mt_model.go
- predict_mt_model_by_doc.go
- run_contact_review.go
- run_pre_train_service.go
- run_smart_call_service.go
- struct_contact_content.go
- struct_end_position_in_run_contact_review.go
- struct_review_result.go
- struct_review_results.go
- struct_start_position_in_run_contact_review.go
- struct_structure_result.go
- struct_structure_results.go
- struct_value_in_run_contact_review.go