import "github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v3.0/luis/authoring"
Package authoring implements the Azure ARM Authoring service API version 3.0-preview.
apps.go azureaccounts.go client.go enums.go examples.go features.go model.go models.go pattern.go settings.go train.go version.go versions.go
UserAgent returns the UserAgent string to use when sending http.Requests.
Version returns the semantic version (see http://semver.org) of the client.
type AppVersionSettingObject struct { // Name - The application version setting name. Name *string `json:"name,omitempty"` // Value - The application version setting value. Value *string `json:"value,omitempty"` }
AppVersionSettingObject object model of an application version setting.
type ApplicationCreateObject struct { // Culture - The culture for the new application. It is the language that your app understands and speaks. E.g.: "en-us". Note: the culture cannot be changed after the app is created. Culture *string `json:"culture,omitempty"` // Domain - The domain for the new application. Optional. E.g.: Comics. Domain *string `json:"domain,omitempty"` // Description - Description of the new application. Optional. Description *string `json:"description,omitempty"` // InitialVersionID - The initial version ID. Optional. Default value is: "0.1" InitialVersionID *string `json:"initialVersionId,omitempty"` // UsageScenario - Defines the scenario for the new application. Optional. E.g.: IoT. UsageScenario *string `json:"usageScenario,omitempty"` // Name - The name for the new application. Name *string `json:"name,omitempty"` }
ApplicationCreateObject properties for creating a new LUIS Application
type ApplicationInfoResponse struct { autorest.Response `json:"-"` // ID - The ID (GUID) of the application. ID *uuid.UUID `json:"id,omitempty"` // Name - The name of the application. Name *string `json:"name,omitempty"` // Description - The description of the application. Description *string `json:"description,omitempty"` // Culture - The culture of the application. For example, "en-us". Culture *string `json:"culture,omitempty"` // UsageScenario - Defines the scenario for the new application. Optional. For example, IoT. UsageScenario *string `json:"usageScenario,omitempty"` // Domain - The domain for the new application. Optional. For example, Comics. Domain *string `json:"domain,omitempty"` // VersionsCount - Amount of model versions within the application. VersionsCount *int32 `json:"versionsCount,omitempty"` // CreatedDateTime - The version's creation timestamp. CreatedDateTime *string `json:"createdDateTime,omitempty"` // Endpoints - The Runtime endpoint URL for this model version. Endpoints interface{} `json:"endpoints,omitempty"` // EndpointHitsCount - Number of calls made to this endpoint. EndpointHitsCount *int32 `json:"endpointHitsCount,omitempty"` // ActiveVersion - The version ID currently marked as active. ActiveVersion *string `json:"activeVersion,omitempty"` }
ApplicationInfoResponse response containing the Application Info.
type ApplicationPublishObject struct { // VersionID - The version ID to publish. VersionID *string `json:"versionId,omitempty"` // IsStaging - Indicates if the staging slot should be used, instead of the Production one. IsStaging *bool `json:"isStaging,omitempty"` }
ApplicationPublishObject object model for publishing a specific application version.
type ApplicationSettingUpdateObject struct { // IsPublic - Setting your application as public allows other people to use your application's endpoint using their own keys. IsPublic *bool `json:"public,omitempty"` }
ApplicationSettingUpdateObject object model for updating an application's settings.
type ApplicationSettings struct { autorest.Response `json:"-"` // ID - The application ID. ID *uuid.UUID `json:"id,omitempty"` // IsPublic - Setting your application as public allows other people to use your application's endpoint using their own keys for billing purposes. IsPublic *bool `json:"public,omitempty"` }
ApplicationSettings the application settings.
type ApplicationUpdateObject struct { // Name - The application's new name. Name *string `json:"name,omitempty"` // Description - The application's new description. Description *string `json:"description,omitempty"` }
ApplicationUpdateObject object model for updating the name or description of an application.
type AppsClient struct { BaseClient }
AppsClient is the client for the Apps methods of the Authoring service.
func NewAppsClient(endpoint string) AppsClient
NewAppsClient creates an instance of the AppsClient client.
func (client AppsClient) Add(ctx context.Context, applicationCreateObject ApplicationCreateObject) (result UUID, err error)
Add creates a new LUIS app. Parameters: applicationCreateObject - an application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
func (client AppsClient) AddCustomPrebuiltDomain(ctx context.Context, prebuiltDomainCreateObject PrebuiltDomainCreateObject) (result UUID, err error)
AddCustomPrebuiltDomain adds a prebuilt domain along with its intent and entity models as a new application. Parameters: prebuiltDomainCreateObject - a prebuilt domain create object containing the name and culture of the domain.
func (client AppsClient) AddCustomPrebuiltDomainPreparer(ctx context.Context, prebuiltDomainCreateObject PrebuiltDomainCreateObject) (*http.Request, error)
AddCustomPrebuiltDomainPreparer prepares the AddCustomPrebuiltDomain request.
func (client AppsClient) AddCustomPrebuiltDomainResponder(resp *http.Response) (result UUID, err error)
AddCustomPrebuiltDomainResponder handles the response to the AddCustomPrebuiltDomain request. The method always closes the http.Response Body.
AddCustomPrebuiltDomainSender sends the AddCustomPrebuiltDomain request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) AddPreparer(ctx context.Context, applicationCreateObject ApplicationCreateObject) (*http.Request, error)
AddPreparer prepares the Add request.
AddResponder handles the response to the Add request. The method always closes the http.Response Body.
AddSender sends the Add request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Delete(ctx context.Context, appID uuid.UUID, force *bool) (result OperationStatus, err error)
Delete deletes an application. Parameters: appID - the application ID. force - a flag to indicate whether to force an operation.
func (client AppsClient) DeletePreparer(ctx context.Context, appID uuid.UUID, force *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AppsClient) DeleteResponder(resp *http.Response) (result OperationStatus, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) DownloadQueryLogs(ctx context.Context, appID uuid.UUID) (result ReadCloser, err error)
DownloadQueryLogs gets the logs of the past month's endpoint queries for the application. Parameters: appID - the application ID.
func (client AppsClient) DownloadQueryLogsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)
DownloadQueryLogsPreparer prepares the DownloadQueryLogs request.
func (client AppsClient) DownloadQueryLogsResponder(resp *http.Response) (result ReadCloser, err error)
DownloadQueryLogsResponder handles the response to the DownloadQueryLogs request. The method always closes the http.Response Body.
DownloadQueryLogsSender sends the DownloadQueryLogs request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Get(ctx context.Context, appID uuid.UUID) (result ApplicationInfoResponse, err error)
Get gets the application info. Parameters: appID - the application ID.
GetPreparer prepares the Get request.
func (client AppsClient) GetPublishSettings(ctx context.Context, appID uuid.UUID) (result PublishSettings, err error)
GetPublishSettings get the application publish settings including 'UseAllTrainingData'. Parameters: appID - the application ID.
func (client AppsClient) GetPublishSettingsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)
GetPublishSettingsPreparer prepares the GetPublishSettings request.
func (client AppsClient) GetPublishSettingsResponder(resp *http.Response) (result PublishSettings, err error)
GetPublishSettingsResponder handles the response to the GetPublishSettings request. The method always closes the http.Response Body.
GetPublishSettingsSender sends the GetPublishSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetResponder(resp *http.Response) (result ApplicationInfoResponse, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) GetSettings(ctx context.Context, appID uuid.UUID) (result ApplicationSettings, err error)
GetSettings get the application settings including 'UseAllTrainingData'. Parameters: appID - the application ID.
func (client AppsClient) GetSettingsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)
GetSettingsPreparer prepares the GetSettings request.
func (client AppsClient) GetSettingsResponder(resp *http.Response) (result ApplicationSettings, err error)
GetSettingsResponder handles the response to the GetSettings request. The method always closes the http.Response Body.
GetSettingsSender sends the GetSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Import(ctx context.Context, luisApp LuisApp, appName string) (result UUID, err error)
Import imports an application to LUIS, the application's structure is included in the request body. Parameters: luisApp - a LUIS application structure. appName - the application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
func (client AppsClient) ImportLuFormat(ctx context.Context, luisAppLu string, appName string) (result UUID, err error)
ImportLuFormat imports an application to LUIS, the application's structure is included in the request body. Parameters: luisAppLu - a LUIS application structure. appName - the application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
func (client AppsClient) ImportLuFormatPreparer(ctx context.Context, luisAppLu string, appName string) (*http.Request, error)
ImportLuFormatPreparer prepares the ImportLuFormat request.
ImportLuFormatResponder handles the response to the ImportLuFormat request. The method always closes the http.Response Body.
ImportLuFormatSender sends the ImportLuFormat request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ImportPreparer(ctx context.Context, luisApp LuisApp, appName string) (*http.Request, error)
ImportPreparer prepares the Import request.
ImportResponder handles the response to the Import request. The method always closes the http.Response Body.
ImportSender sends the Import request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ImportV2App(ctx context.Context, luisAppV2 LuisAppV2, appName string) (result UUID, err error)
ImportV2App imports an application to LUIS, the application's structure is included in the request body. Parameters: luisAppV2 - a LUIS application structure. appName - the application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
func (client AppsClient) ImportV2AppPreparer(ctx context.Context, luisAppV2 LuisAppV2, appName string) (*http.Request, error)
ImportV2AppPreparer prepares the ImportV2App request.
ImportV2AppResponder handles the response to the ImportV2App request. The method always closes the http.Response Body.
ImportV2AppSender sends the ImportV2App request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) List(ctx context.Context, skip *int32, take *int32) (result ListApplicationInfoResponse, err error)
List lists all of the user's applications. Parameters: skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client AppsClient) ListAvailableCustomPrebuiltDomains(ctx context.Context) (result ListPrebuiltDomain, err error)
ListAvailableCustomPrebuiltDomains gets all the available custom prebuilt domains for all cultures.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCulture(ctx context.Context, culture string) (result ListPrebuiltDomain, err error)
ListAvailableCustomPrebuiltDomainsForCulture gets all the available prebuilt domains for a specific culture. Parameters: culture - culture.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCulturePreparer(ctx context.Context, culture string) (*http.Request, error)
ListAvailableCustomPrebuiltDomainsForCulturePreparer prepares the ListAvailableCustomPrebuiltDomainsForCulture request.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCultureResponder(resp *http.Response) (result ListPrebuiltDomain, err error)
ListAvailableCustomPrebuiltDomainsForCultureResponder handles the response to the ListAvailableCustomPrebuiltDomainsForCulture request. The method always closes the http.Response Body.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCultureSender(req *http.Request) (*http.Response, error)
ListAvailableCustomPrebuiltDomainsForCultureSender sends the ListAvailableCustomPrebuiltDomainsForCulture request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsPreparer(ctx context.Context) (*http.Request, error)
ListAvailableCustomPrebuiltDomainsPreparer prepares the ListAvailableCustomPrebuiltDomains request.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsResponder(resp *http.Response) (result ListPrebuiltDomain, err error)
ListAvailableCustomPrebuiltDomainsResponder handles the response to the ListAvailableCustomPrebuiltDomains request. The method always closes the http.Response Body.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsSender(req *http.Request) (*http.Response, error)
ListAvailableCustomPrebuiltDomainsSender sends the ListAvailableCustomPrebuiltDomains request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListCortanaEndpoints(ctx context.Context) (result PersonalAssistantsResponse, err error)
ListCortanaEndpoints gets the endpoint URLs for the prebuilt Cortana applications.
ListCortanaEndpointsPreparer prepares the ListCortanaEndpoints request.
func (client AppsClient) ListCortanaEndpointsResponder(resp *http.Response) (result PersonalAssistantsResponse, err error)
ListCortanaEndpointsResponder handles the response to the ListCortanaEndpoints request. The method always closes the http.Response Body.
ListCortanaEndpointsSender sends the ListCortanaEndpoints request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListDomains(ctx context.Context) (result ListString, err error)
ListDomains gets the available application domains.
ListDomainsPreparer prepares the ListDomains request.
func (client AppsClient) ListDomainsResponder(resp *http.Response) (result ListString, err error)
ListDomainsResponder handles the response to the ListDomains request. The method always closes the http.Response Body.
ListDomainsSender sends the ListDomains request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListEndpoints(ctx context.Context, appID uuid.UUID) (result SetString, err error)
ListEndpoints returns the available endpoint deployment regions and URLs. Parameters: appID - the application ID.
func (client AppsClient) ListEndpointsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)
ListEndpointsPreparer prepares the ListEndpoints request.
ListEndpointsResponder handles the response to the ListEndpoints request. The method always closes the http.Response Body.
ListEndpointsSender sends the ListEndpoints request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListPreparer(ctx context.Context, skip *int32, take *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (client AppsClient) ListResponder(resp *http.Response) (result ListApplicationInfoResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListSupportedCultures(ctx context.Context) (result ListAvailableCulture, err error)
ListSupportedCultures gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
ListSupportedCulturesPreparer prepares the ListSupportedCultures request.
func (client AppsClient) ListSupportedCulturesResponder(resp *http.Response) (result ListAvailableCulture, err error)
ListSupportedCulturesResponder handles the response to the ListSupportedCultures request. The method always closes the http.Response Body.
ListSupportedCulturesSender sends the ListSupportedCultures request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) ListUsageScenarios(ctx context.Context) (result ListString, err error)
ListUsageScenarios gets the application available usage scenarios.
ListUsageScenariosPreparer prepares the ListUsageScenarios request.
func (client AppsClient) ListUsageScenariosResponder(resp *http.Response) (result ListString, err error)
ListUsageScenariosResponder handles the response to the ListUsageScenarios request. The method always closes the http.Response Body.
ListUsageScenariosSender sends the ListUsageScenarios request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) PackagePublishedApplicationAsGzip(ctx context.Context, appID uuid.UUID, slotName string) (result ReadCloser, err error)
PackagePublishedApplicationAsGzip packages a published LUIS application as a GZip file to be used in the LUIS container. Parameters: appID - the application ID. slotName - the publishing slot name.
func (client AppsClient) PackagePublishedApplicationAsGzipPreparer(ctx context.Context, appID uuid.UUID, slotName string) (*http.Request, error)
PackagePublishedApplicationAsGzipPreparer prepares the PackagePublishedApplicationAsGzip request.
func (client AppsClient) PackagePublishedApplicationAsGzipResponder(resp *http.Response) (result ReadCloser, err error)
PackagePublishedApplicationAsGzipResponder handles the response to the PackagePublishedApplicationAsGzip request. The method always closes the http.Response Body.
func (client AppsClient) PackagePublishedApplicationAsGzipSender(req *http.Request) (*http.Response, error)
PackagePublishedApplicationAsGzipSender sends the PackagePublishedApplicationAsGzip request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) PackageTrainedApplicationAsGzip(ctx context.Context, appID uuid.UUID, versionID string) (result ReadCloser, err error)
PackageTrainedApplicationAsGzip packages trained LUIS application as GZip file to be used in the LUIS container. Parameters: appID - the application ID. versionID - the version ID.
func (client AppsClient) PackageTrainedApplicationAsGzipPreparer(ctx context.Context, appID uuid.UUID, versionID string) (*http.Request, error)
PackageTrainedApplicationAsGzipPreparer prepares the PackageTrainedApplicationAsGzip request.
func (client AppsClient) PackageTrainedApplicationAsGzipResponder(resp *http.Response) (result ReadCloser, err error)
PackageTrainedApplicationAsGzipResponder handles the response to the PackageTrainedApplicationAsGzip request. The method always closes the http.Response Body.
func (client AppsClient) PackageTrainedApplicationAsGzipSender(req *http.Request) (*http.Response, error)
PackageTrainedApplicationAsGzipSender sends the PackageTrainedApplicationAsGzip request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Publish(ctx context.Context, appID uuid.UUID, applicationPublishObject ApplicationPublishObject) (result ProductionOrStagingEndpointInfo, err error)
Publish publishes a specific version of the application. Parameters: appID - the application ID. applicationPublishObject - the application publish object. The region is the target region that the application is published to.
func (client AppsClient) PublishPreparer(ctx context.Context, appID uuid.UUID, applicationPublishObject ApplicationPublishObject) (*http.Request, error)
PublishPreparer prepares the Publish request.
func (client AppsClient) PublishResponder(resp *http.Response) (result ProductionOrStagingEndpointInfo, err error)
PublishResponder handles the response to the Publish request. The method always closes the http.Response Body.
PublishSender sends the Publish request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) Update(ctx context.Context, appID uuid.UUID, applicationUpdateObject ApplicationUpdateObject) (result OperationStatus, err error)
Update updates the name or description of the application. Parameters: appID - the application ID. applicationUpdateObject - a model containing Name and Description of the application.
func (client AppsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID, applicationUpdateObject ApplicationUpdateObject) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (client AppsClient) UpdatePublishSettings(ctx context.Context, appID uuid.UUID, publishSettingUpdateObject PublishSettingUpdateObject) (result OperationStatus, err error)
UpdatePublishSettings updates the application publish settings including 'UseAllTrainingData'. Parameters: appID - the application ID. publishSettingUpdateObject - an object containing the new publish application settings.
func (client AppsClient) UpdatePublishSettingsPreparer(ctx context.Context, appID uuid.UUID, publishSettingUpdateObject PublishSettingUpdateObject) (*http.Request, error)
UpdatePublishSettingsPreparer prepares the UpdatePublishSettings request.
func (client AppsClient) UpdatePublishSettingsResponder(resp *http.Response) (result OperationStatus, err error)
UpdatePublishSettingsResponder handles the response to the UpdatePublishSettings request. The method always closes the http.Response Body.
UpdatePublishSettingsSender sends the UpdatePublishSettings request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateResponder(resp *http.Response) (result OperationStatus, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
func (client AppsClient) UpdateSettings(ctx context.Context, appID uuid.UUID, applicationSettingUpdateObject ApplicationSettingUpdateObject) (result OperationStatus, err error)
UpdateSettings updates the application settings including 'UseAllTrainingData'. Parameters: appID - the application ID. applicationSettingUpdateObject - an object containing the new application settings.
func (client AppsClient) UpdateSettingsPreparer(ctx context.Context, appID uuid.UUID, applicationSettingUpdateObject ApplicationSettingUpdateObject) (*http.Request, error)
UpdateSettingsPreparer prepares the UpdateSettings request.
func (client AppsClient) UpdateSettingsResponder(resp *http.Response) (result OperationStatus, err error)
UpdateSettingsResponder handles the response to the UpdateSettings request. The method always closes the http.Response Body.
UpdateSettingsSender sends the UpdateSettings request. The method will close the http.Response Body if it receives an error.
type AvailableCulture struct { // Name - The language name. Name *string `json:"name,omitempty"` // Code - The ISO value for the language. Code *string `json:"code,omitempty"` }
AvailableCulture available culture for using in a new application.
type AvailablePrebuiltEntityModel struct { // Name - The entity name. Name *string `json:"name,omitempty"` // Description - The entity description and usage information. Description *string `json:"description,omitempty"` // Examples - Usage examples. Examples *string `json:"examples,omitempty"` }
AvailablePrebuiltEntityModel available Prebuilt entity model for using in an application.
type AzureAccountInfoObject struct { // AzureSubscriptionID - The id for the Azure subscription. AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"` // ResourceGroup - The Azure resource group name. ResourceGroup *string `json:"resourceGroup,omitempty"` // AccountName - The Azure account name. AccountName *string `json:"accountName,omitempty"` }
AzureAccountInfoObject defines the Azure account information object.
type AzureAccountsClient struct { BaseClient }
AzureAccountsClient is the client for the AzureAccounts methods of the Authoring service.
func NewAzureAccountsClient(endpoint string) AzureAccountsClient
NewAzureAccountsClient creates an instance of the AzureAccountsClient client.
func (client AzureAccountsClient) AssignToApp(ctx context.Context, appID uuid.UUID, armToken string, azureAccountInfoObject *AzureAccountInfoObject) (result OperationStatus, err error)
AssignToApp assigns an Azure account to the application. Parameters: appID - the application ID. armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information. azureAccountInfoObject - the Azure account information object.
func (client AzureAccountsClient) AssignToAppPreparer(ctx context.Context, appID uuid.UUID, armToken string, azureAccountInfoObject *AzureAccountInfoObject) (*http.Request, error)
AssignToAppPreparer prepares the AssignToApp request.
func (client AzureAccountsClient) AssignToAppResponder(resp *http.Response) (result OperationStatus, err error)
AssignToAppResponder handles the response to the AssignToApp request. The method always closes the http.Response Body.
AssignToAppSender sends the AssignToApp request. The method will close the http.Response Body if it receives an error.
func (client AzureAccountsClient) GetAssigned(ctx context.Context, appID uuid.UUID, armToken string) (result ListAzureAccountInfoObject, err error)
GetAssigned gets the LUIS Azure accounts assigned to the application for the user using his ARM token. Parameters: appID - the application ID. armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information.
func (client AzureAccountsClient) GetAssignedPreparer(ctx context.Context, appID uuid.UUID, armToken string) (*http.Request, error)
GetAssignedPreparer prepares the GetAssigned request.
func (client AzureAccountsClient) GetAssignedResponder(resp *http.Response) (result ListAzureAccountInfoObject, err error)
GetAssignedResponder handles the response to the GetAssigned request. The method always closes the http.Response Body.
GetAssignedSender sends the GetAssigned request. The method will close the http.Response Body if it receives an error.
func (client AzureAccountsClient) ListUserLUISAccounts(ctx context.Context, armToken string) (result ListAzureAccountInfoObject, err error)
ListUserLUISAccounts gets the LUIS Azure accounts for the user using his ARM token. Parameters: armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information.
func (client AzureAccountsClient) ListUserLUISAccountsPreparer(ctx context.Context, armToken string) (*http.Request, error)
ListUserLUISAccountsPreparer prepares the ListUserLUISAccounts request.
func (client AzureAccountsClient) ListUserLUISAccountsResponder(resp *http.Response) (result ListAzureAccountInfoObject, err error)
ListUserLUISAccountsResponder handles the response to the ListUserLUISAccounts request. The method always closes the http.Response Body.
func (client AzureAccountsClient) ListUserLUISAccountsSender(req *http.Request) (*http.Response, error)
ListUserLUISAccountsSender sends the ListUserLUISAccounts request. The method will close the http.Response Body if it receives an error.
func (client AzureAccountsClient) RemoveFromApp(ctx context.Context, appID uuid.UUID, armToken string, azureAccountInfoObject *AzureAccountInfoObject) (result OperationStatus, err error)
RemoveFromApp removes assigned Azure account from the application. Parameters: appID - the application ID. armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information. azureAccountInfoObject - the Azure account information object.
func (client AzureAccountsClient) RemoveFromAppPreparer(ctx context.Context, appID uuid.UUID, armToken string, azureAccountInfoObject *AzureAccountInfoObject) (*http.Request, error)
RemoveFromAppPreparer prepares the RemoveFromApp request.
func (client AzureAccountsClient) RemoveFromAppResponder(resp *http.Response) (result OperationStatus, err error)
RemoveFromAppResponder handles the response to the RemoveFromApp request. The method always closes the http.Response Body.
RemoveFromAppSender sends the RemoveFromApp request. The method will close the http.Response Body if it receives an error.
BaseClient is the base client for Authoring.
func New(endpoint string) BaseClient
New creates an instance of the BaseClient client.
func NewWithoutDefaults(endpoint string) BaseClient
NewWithoutDefaults creates an instance of the BaseClient client.
type BatchLabelExample struct { Value *LabelExampleResponse `json:"value,omitempty"` HasError *bool `json:"hasError,omitempty"` Error *OperationStatus `json:"error,omitempty"` }
BatchLabelExample response when adding a batch of labeled example utterances.
type ChildEntity struct { // ID - The ID (GUID) belonging to a child entity. ID *uuid.UUID `json:"id,omitempty"` // Name - The name of a child entity. Name *string `json:"name,omitempty"` // InstanceOf - Instance of Model. InstanceOf *string `json:"instanceOf,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType1EntityExtractor', 'ReadableType1ChildEntityExtractor', 'ReadableType1HierarchicalEntityExtractor', 'ReadableType1HierarchicalChildEntityExtractor', 'ReadableType1CompositeEntityExtractor', 'ReadableType1ListEntityExtractor', 'ReadableType1PrebuiltEntityExtractor', 'ReadableType1IntentClassifier', 'ReadableType1PatternAnyEntityExtractor', 'ReadableType1ClosedListEntityExtractor', 'ReadableType1RegexEntityExtractor' ReadableType ReadableType1 `json:"readableType,omitempty"` // Children - List of children Children *[]ChildEntity `json:"children,omitempty"` }
ChildEntity the base child entity type.
type ChildEntityModelCreateObject struct { // Children - Child entities. Children *[]ChildEntityModelCreateObject `json:"children,omitempty"` // Name - Entity name. Name *string `json:"name,omitempty"` // InstanceOf - The instance of model name InstanceOf *string `json:"instanceOf,omitempty"` }
ChildEntityModelCreateObject a child entity extractor create object.
type ClosedList struct { // Name - Name of the list entity. Name *string `json:"name,omitempty"` // SubLists - Sublists for the list entity. SubLists *[]SubClosedList `json:"subLists,omitempty"` Roles *[]string `json:"roles,omitempty"` }
ClosedList exported Model - A list entity.
type ClosedListEntityExtractor struct { autorest.Response `json:"-"` // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType5EntityExtractor', 'ReadableType5ChildEntityExtractor', 'ReadableType5HierarchicalEntityExtractor', 'ReadableType5HierarchicalChildEntityExtractor', 'ReadableType5CompositeEntityExtractor', 'ReadableType5ListEntityExtractor', 'ReadableType5PrebuiltEntityExtractor', 'ReadableType5IntentClassifier', 'ReadableType5PatternAnyEntityExtractor', 'ReadableType5ClosedListEntityExtractor', 'ReadableType5RegexEntityExtractor' ReadableType ReadableType5 `json:"readableType,omitempty"` Roles *[]EntityRole `json:"roles,omitempty"` // SubLists - List of sublists. SubLists *[]SubClosedListResponse `json:"subLists,omitempty"` }
ClosedListEntityExtractor list Entity Extractor.
type ClosedListModelCreateObject struct { // SubLists - Sublists for the feature. SubLists *[]WordListObject `json:"subLists,omitempty"` // Name - Name of the list entity. Name *string `json:"name,omitempty"` }
ClosedListModelCreateObject object model for creating a list entity.
type ClosedListModelPatchObject struct { // SubLists - Sublists to add. SubLists *[]WordListObject `json:"subLists,omitempty"` }
ClosedListModelPatchObject object model for adding a batch of sublists to an existing list entity.
type ClosedListModelUpdateObject struct { // SubLists - The new sublists for the feature. SubLists *[]WordListObject `json:"subLists,omitempty"` // Name - The new name of the list entity. Name *string `json:"name,omitempty"` }
ClosedListModelUpdateObject object model for updating a list entity.
type CollaboratorsArray struct { // Emails - The email address of the users. Emails *[]string `json:"emails,omitempty"` }
CollaboratorsArray ...
CompositeChildModelCreateObject ...
type CompositeEntityExtractor struct { autorest.Response `json:"-"` // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType4EntityExtractor', 'ReadableType4ChildEntityExtractor', 'ReadableType4HierarchicalEntityExtractor', 'ReadableType4HierarchicalChildEntityExtractor', 'ReadableType4CompositeEntityExtractor', 'ReadableType4ListEntityExtractor', 'ReadableType4PrebuiltEntityExtractor', 'ReadableType4IntentClassifier', 'ReadableType4PatternAnyEntityExtractor', 'ReadableType4ClosedListEntityExtractor', 'ReadableType4RegexEntityExtractor' ReadableType ReadableType4 `json:"readableType,omitempty"` Roles *[]EntityRole `json:"roles,omitempty"` // Children - List of child entities. Children *[]ChildEntity `json:"children,omitempty"` }
CompositeEntityExtractor a Composite Entity Extractor.
type CompositeEntityModel struct { // Children - Child entities. Children *[]string `json:"children,omitempty"` // Name - Entity name. Name *string `json:"name,omitempty"` }
CompositeEntityModel a composite entity extractor.
type CustomPrebuiltModel struct { // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType7EntityExtractor', 'ReadableType7ChildEntityExtractor', 'ReadableType7HierarchicalEntityExtractor', 'ReadableType7HierarchicalChildEntityExtractor', 'ReadableType7CompositeEntityExtractor', 'ReadableType7ListEntityExtractor', 'ReadableType7PrebuiltEntityExtractor', 'ReadableType7IntentClassifier', 'ReadableType7PatternAnyEntityExtractor', 'ReadableType7ClosedListEntityExtractor', 'ReadableType7RegexEntityExtractor' ReadableType ReadableType7 `json:"readableType,omitempty"` // CustomPrebuiltDomainName - The domain name. CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"` // CustomPrebuiltModelName - The intent name or entity name. CustomPrebuiltModelName *string `json:"customPrebuiltModelName,omitempty"` Roles *[]EntityRole `json:"roles,omitempty"` }
CustomPrebuiltModel a Custom Prebuilt model.
type EndpointInfo struct { // VersionID - The version ID to publish. VersionID *string `json:"versionId,omitempty"` // IsStaging - Indicates if the staging slot should be used, instead of the Production one. IsStaging *bool `json:"isStaging,omitempty"` // EndpointURL - The Runtime endpoint URL for this model version. EndpointURL *string `json:"endpointUrl,omitempty"` // Region - The target region that the application is published to. Region *string `json:"region,omitempty"` // AssignedEndpointKey - The endpoint key. AssignedEndpointKey *string `json:"assignedEndpointKey,omitempty"` // EndpointRegion - The endpoint's region. EndpointRegion *string `json:"endpointRegion,omitempty"` // FailedRegions - Regions where publishing failed. FailedRegions *string `json:"failedRegions,omitempty"` // PublishedDateTime - Timestamp when was last published. PublishedDateTime *string `json:"publishedDateTime,omitempty"` }
EndpointInfo the base class "ProductionOrStagingEndpointInfo" inherits from.
type EnqueueTrainingResponse struct { autorest.Response `json:"-"` // StatusID - The train request status ID. StatusID *int32 `json:"statusId,omitempty"` // Status - Possible values include: 'StatusQueued', 'StatusInProgress', 'StatusUpToDate', 'StatusFail', 'StatusSuccess' Status Status `json:"status,omitempty"` }
EnqueueTrainingResponse response model when requesting to train the model.
type EntitiesSuggestionExample struct { // Text - The utterance. For example, "What's the weather like in seattle?" Text *string `json:"text,omitempty"` // TokenizedText - The utterance tokenized. TokenizedText *[]string `json:"tokenizedText,omitempty"` // IntentPredictions - Predicted/suggested intents. IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"` // EntityPredictions - Predicted/suggested entities. EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"` }
EntitiesSuggestionExample predicted/suggested entity.
type EntityExtractor struct { // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType8EntityExtractor', 'ReadableType8ChildEntityExtractor', 'ReadableType8HierarchicalEntityExtractor', 'ReadableType8HierarchicalChildEntityExtractor', 'ReadableType8CompositeEntityExtractor', 'ReadableType8ListEntityExtractor', 'ReadableType8PrebuiltEntityExtractor', 'ReadableType8IntentClassifier', 'ReadableType8PatternAnyEntityExtractor', 'ReadableType8ClosedListEntityExtractor', 'ReadableType8RegexEntityExtractor' ReadableType ReadableType8 `json:"readableType,omitempty"` Roles *[]EntityRole `json:"roles,omitempty"` // CustomPrebuiltDomainName - The domain name. CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"` // CustomPrebuiltModelName - The intent name or entity name. CustomPrebuiltModelName *string `json:"customPrebuiltModelName,omitempty"` }
EntityExtractor entity Extractor.
type EntityLabel struct { // EntityName - The entity type. EntityName *string `json:"entityName,omitempty"` // StartTokenIndex - The index within the utterance where the extracted entity starts. StartTokenIndex *int32 `json:"startTokenIndex,omitempty"` // EndTokenIndex - The index within the utterance where the extracted entity ends. EndTokenIndex *int32 `json:"endTokenIndex,omitempty"` // Role - The role of the predicted entity. Role *string `json:"role,omitempty"` // RoleID - The role id for the predicted entity. RoleID *uuid.UUID `json:"roleId,omitempty"` Children *[]EntityLabel `json:"children,omitempty"` }
EntityLabel defines the entity type and position of the extracted entity within the example.
type EntityLabelObject struct { // EntityName - The entity type. EntityName *string `json:"entityName,omitempty"` // StartCharIndex - The index within the utterance where the extracted entity starts. StartCharIndex *int32 `json:"startCharIndex,omitempty"` // EndCharIndex - The index within the utterance where the extracted entity ends. EndCharIndex *int32 `json:"endCharIndex,omitempty"` // Role - The role the entity plays in the utterance. Role *string `json:"role,omitempty"` // Children - The identified entities within the example utterance. Children *[]EntityLabelObject `json:"children,omitempty"` }
EntityLabelObject defines the entity type and position of the extracted entity within the example.
type EntityModelCreateObject struct { // Children - Child entities. Children *[]ChildEntityModelCreateObject `json:"children,omitempty"` // Name - Entity name. Name *string `json:"name,omitempty"` }
EntityModelCreateObject an entity extractor create object.
type EntityModelInfo struct { Roles *[]EntityRole `json:"roles,omitempty"` // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableTypeEntityExtractor', 'ReadableTypeChildEntityExtractor', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypeRegexEntityExtractor' ReadableType ReadableType `json:"readableType,omitempty"` }
EntityModelInfo an Entity Extractor model info.
type EntityModelUpdateObject struct { // Name - Entity name. Name *string `json:"name,omitempty"` // InstanceOf - The instance of model name InstanceOf *string `json:"instanceOf,omitempty"` }
EntityModelUpdateObject an entity extractor update object.
type EntityPrediction struct { // EntityName - The entity's name EntityName *string `json:"entityName,omitempty"` // StartTokenIndex - The index within the utterance where the extracted entity starts. StartTokenIndex *int32 `json:"startTokenIndex,omitempty"` // EndTokenIndex - The index within the utterance where the extracted entity ends. EndTokenIndex *int32 `json:"endTokenIndex,omitempty"` // Phrase - The actual token(s) that comprise the entity. Phrase *string `json:"phrase,omitempty"` Children *[]EntityPrediction `json:"children,omitempty"` }
EntityPrediction a suggested entity.
type EntityRole struct { autorest.Response `json:"-"` // ID - The entity role ID. ID *uuid.UUID `json:"id,omitempty"` // Name - The entity role name. Name *string `json:"name,omitempty"` }
EntityRole entity extractor role
type EntityRoleCreateObject struct { // Name - The entity role name. Name *string `json:"name,omitempty"` }
EntityRoleCreateObject object model for creating an entity role.
type EntityRoleUpdateObject struct { // Name - The entity role name. Name *string `json:"name,omitempty"` }
EntityRoleUpdateObject object model for updating an entity role.
type ErrorResponse struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` ErrorType *string `json:"errorType,omitempty"` }
ErrorResponse error response when invoking an operation on the API.
func (er ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorResponse.
func (er *ErrorResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ErrorResponse struct.
type ExampleLabelObject struct { // Text - The example utterance. Text *string `json:"text,omitempty"` // EntityLabels - The identified entities within the example utterance. EntityLabels *[]EntityLabelObject `json:"entityLabels,omitempty"` // IntentName - The identified intent representing the example utterance. IntentName *string `json:"intentName,omitempty"` }
ExampleLabelObject a labeled example utterance.
type ExamplesClient struct { BaseClient }
ExamplesClient is the client for the Examples methods of the Authoring service.
func NewExamplesClient(endpoint string) ExamplesClient
NewExamplesClient creates an instance of the ExamplesClient client.
func (client ExamplesClient) Add(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObject ExampleLabelObject, enableNestedChildren *bool) (result LabelExampleResponse, err error)
Add adds a labeled example utterance in a version of the application. Parameters: appID - the application ID. versionID - the version ID. exampleLabelObject - a labeled example utterance with the expected intent and entities. enableNestedChildren - toggles nested/flat format
func (client ExamplesClient) AddPreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObject ExampleLabelObject, enableNestedChildren *bool) (*http.Request, error)
AddPreparer prepares the Add request.
func (client ExamplesClient) AddResponder(resp *http.Response) (result LabelExampleResponse, err error)
AddResponder handles the response to the Add request. The method always closes the http.Response Body.
AddSender sends the Add request. The method will close the http.Response Body if it receives an error.
func (client ExamplesClient) Batch(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObjectArray []ExampleLabelObject, enableNestedChildren *bool) (result ListBatchLabelExample, err error)
Batch adds a batch of labeled example utterances to a version of the application. Parameters: appID - the application ID. versionID - the version ID. exampleLabelObjectArray - array of example utterances. enableNestedChildren - toggles nested/flat format
func (client ExamplesClient) BatchPreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObjectArray []ExampleLabelObject, enableNestedChildren *bool) (*http.Request, error)
BatchPreparer prepares the Batch request.
func (client ExamplesClient) BatchResponder(resp *http.Response) (result ListBatchLabelExample, err error)
BatchResponder handles the response to the Batch request. The method always closes the http.Response Body.
BatchSender sends the Batch request. The method will close the http.Response Body if it receives an error.
func (client ExamplesClient) Delete(ctx context.Context, appID uuid.UUID, versionID string, exampleID int32) (result OperationStatus, err error)
Delete deletes the labeled example utterances with the specified ID from a version of the application. Parameters: appID - the application ID. versionID - the version ID. exampleID - the example ID.
func (client ExamplesClient) DeletePreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleID int32) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client ExamplesClient) DeleteResponder(resp *http.Response) (result OperationStatus, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ExamplesClient) List(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32, enableNestedChildren *bool) (result ListLabeledUtterance, err error)
List returns example utterances to be reviewed from a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100. enableNestedChildren - toggles nested/flat format
func (client ExamplesClient) ListPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32, enableNestedChildren *bool) (*http.Request, error)
ListPreparer prepares the List request.
func (client ExamplesClient) ListResponder(resp *http.Response) (result ListLabeledUtterance, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ExplicitListItem struct { autorest.Response `json:"-"` // ID - The explicit list item ID. ID *int64 `json:"id,omitempty"` // ExplicitListItem - The explicit list item value. ExplicitListItem *string `json:"explicitListItem,omitempty"` }
ExplicitListItem explicit (exception) list item
type ExplicitListItemCreateObject struct { // ExplicitListItem - The explicit list item. ExplicitListItem *string `json:"explicitListItem,omitempty"` }
ExplicitListItemCreateObject object model for creating an explicit (exception) list item.
type ExplicitListItemUpdateObject struct { // ExplicitListItem - The explicit list item. ExplicitListItem *string `json:"explicitListItem,omitempty"` }
ExplicitListItemUpdateObject model object for updating an explicit (exception) list item.
type FeatureInfoObject struct { // ID - A six-digit ID used for Features. ID *int32 `json:"id,omitempty"` // Name - The name of the Feature. Name *string `json:"name,omitempty"` // IsActive - Indicates if the feature is enabled. IsActive *bool `json:"isActive,omitempty"` // EnabledForAllModels - Indicates if the feature is enabled for all models in the application. EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"` }
FeatureInfoObject the base class Features-related response objects inherit from.
type FeaturesClient struct { BaseClient }
FeaturesClient is the client for the Features methods of the Authoring service.
func NewFeaturesClient(endpoint string) FeaturesClient
NewFeaturesClient creates an instance of the FeaturesClient client.
func (client FeaturesClient) AddEntityFeature(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (result OperationStatus, err error)
AddEntityFeature adds a new feature relation to be used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. featureRelationCreateObject - a Feature relation information object.
func (client FeaturesClient) AddEntityFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (*http.Request, error)
AddEntityFeaturePreparer prepares the AddEntityFeature request.
func (client FeaturesClient) AddEntityFeatureResponder(resp *http.Response) (result OperationStatus, err error)
AddEntityFeatureResponder handles the response to the AddEntityFeature request. The method always closes the http.Response Body.
AddEntityFeatureSender sends the AddEntityFeature request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) AddIntentFeature(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (result OperationStatus, err error)
AddIntentFeature adds a new feature relation to be used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. featureRelationCreateObject - a Feature relation information object.
func (client FeaturesClient) AddIntentFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (*http.Request, error)
AddIntentFeaturePreparer prepares the AddIntentFeature request.
func (client FeaturesClient) AddIntentFeatureResponder(resp *http.Response) (result OperationStatus, err error)
AddIntentFeatureResponder handles the response to the AddIntentFeature request. The method always closes the http.Response Body.
AddIntentFeatureSender sends the AddIntentFeature request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) AddPhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistCreateObject PhraselistCreateObject) (result Int32, err error)
AddPhraseList creates a new phraselist feature in a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistCreateObject - a Phraselist object containing Name, comma-separated Phrases and the isExchangeable boolean. Default value for isExchangeable is true.
func (client FeaturesClient) AddPhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistCreateObject PhraselistCreateObject) (*http.Request, error)
AddPhraseListPreparer prepares the AddPhraseList request.
AddPhraseListResponder handles the response to the AddPhraseList request. The method always closes the http.Response Body.
AddPhraseListSender sends the AddPhraseList request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) DeletePhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (result OperationStatus, err error)
DeletePhraseList deletes a phraselist feature from a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be deleted.
func (client FeaturesClient) DeletePhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (*http.Request, error)
DeletePhraseListPreparer prepares the DeletePhraseList request.
func (client FeaturesClient) DeletePhraseListResponder(resp *http.Response) (result OperationStatus, err error)
DeletePhraseListResponder handles the response to the DeletePhraseList request. The method always closes the http.Response Body.
DeletePhraseListSender sends the DeletePhraseList request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) GetPhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (result PhraseListFeatureInfo, err error)
GetPhraseList gets phraselist feature info in a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be retrieved.
func (client FeaturesClient) GetPhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (*http.Request, error)
GetPhraseListPreparer prepares the GetPhraseList request.
func (client FeaturesClient) GetPhraseListResponder(resp *http.Response) (result PhraseListFeatureInfo, err error)
GetPhraseListResponder handles the response to the GetPhraseList request. The method always closes the http.Response Body.
GetPhraseListSender sends the GetPhraseList request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) List(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result FeaturesResponseObject, err error)
List gets all the extraction phraselist and pattern features in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client FeaturesClient) ListPhraseLists(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListPhraseListFeatureInfo, err error)
ListPhraseLists gets all the phraselist features in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client FeaturesClient) ListPhraseListsPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListPhraseListsPreparer prepares the ListPhraseLists request.
func (client FeaturesClient) ListPhraseListsResponder(resp *http.Response) (result ListPhraseListFeatureInfo, err error)
ListPhraseListsResponder handles the response to the ListPhraseLists request. The method always closes the http.Response Body.
ListPhraseListsSender sends the ListPhraseLists request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) ListPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (client FeaturesClient) ListResponder(resp *http.Response) (result FeaturesResponseObject, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (client FeaturesClient) UpdatePhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32, phraselistUpdateObject *PhraselistUpdateObject) (result OperationStatus, err error)
UpdatePhraseList updates the phrases, the state and the name of the phraselist feature in a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be updated. phraselistUpdateObject - the new values for: - Just a boolean called IsActive, in which case the status of the feature will be changed. - Name, Pattern, Mode, and a boolean called IsActive to update the feature.
func (client FeaturesClient) UpdatePhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32, phraselistUpdateObject *PhraselistUpdateObject) (*http.Request, error)
UpdatePhraseListPreparer prepares the UpdatePhraseList request.
func (client FeaturesClient) UpdatePhraseListResponder(resp *http.Response) (result OperationStatus, err error)
UpdatePhraseListResponder handles the response to the UpdatePhraseList request. The method always closes the http.Response Body.
UpdatePhraseListSender sends the UpdatePhraseList request. The method will close the http.Response Body if it receives an error.
type FeaturesResponseObject struct { autorest.Response `json:"-"` PhraselistFeatures *[]PhraseListFeatureInfo `json:"phraselistFeatures,omitempty"` PatternFeatures *[]PatternFeatureInfo `json:"patternFeatures,omitempty"` }
FeaturesResponseObject model Features, including Patterns and Phraselists.
type HierarchicalChildEntity struct { autorest.Response `json:"-"` // ID - The ID (GUID) belonging to a child entity. ID *uuid.UUID `json:"id,omitempty"` // Name - The name of a child entity. Name *string `json:"name,omitempty"` // InstanceOf - Instance of Model. InstanceOf *string `json:"instanceOf,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType1EntityExtractor', 'ReadableType1ChildEntityExtractor', 'ReadableType1HierarchicalEntityExtractor', 'ReadableType1HierarchicalChildEntityExtractor', 'ReadableType1CompositeEntityExtractor', 'ReadableType1ListEntityExtractor', 'ReadableType1PrebuiltEntityExtractor', 'ReadableType1IntentClassifier', 'ReadableType1PatternAnyEntityExtractor', 'ReadableType1ClosedListEntityExtractor', 'ReadableType1RegexEntityExtractor' ReadableType ReadableType1 `json:"readableType,omitempty"` // Children - List of children Children *[]ChildEntity `json:"children,omitempty"` }
HierarchicalChildEntity a Hierarchical Child Entity.
HierarchicalChildModelUpdateObject ...
type HierarchicalEntityExtractor struct { autorest.Response `json:"-"` // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableType3EntityExtractor', 'ReadableType3ChildEntityExtractor', 'ReadableType3HierarchicalEntityExtractor', 'ReadableType3HierarchicalChildEntityExtractor', 'ReadableType3CompositeEntityExtractor', 'ReadableType3ListEntityExtractor', 'ReadableType3PrebuiltEntityExtractor', 'ReadableType3IntentClassifier', 'ReadableType3PatternAnyEntityExtractor', 'ReadableType3ClosedListEntityExtractor', 'ReadableType3RegexEntityExtractor' ReadableType ReadableType3 `json:"readableType,omitempty"` Roles *[]EntityRole `json:"roles,omitempty"` // Children - List of child entities. Children *[]ChildEntity `json:"children,omitempty"` }
HierarchicalEntityExtractor hierarchical Entity Extractor.
type HierarchicalModel struct { Name *string `json:"name,omitempty"` Children *[]JSONChild `json:"children,omitempty"` Features *[]JSONModelFeatureInformation `json:"features,omitempty"` Roles *[]string `json:"roles,omitempty"` Inherits *PrebuiltDomainObject `json:"inherits,omitempty"` }
HierarchicalModel ...
type HierarchicalModelV2 struct { Name *string `json:"name,omitempty"` Children *[]string `json:"children,omitempty"` Inherits *PrebuiltDomainObject `json:"inherits,omitempty"` Roles *[]string `json:"roles,omitempty"` }
HierarchicalModelV2 ...
Int32 ...
Int64 ...
type IntentClassifier struct { autorest.Response `json:"-"` // CustomPrebuiltDomainName - The domain name. CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"` // CustomPrebuiltModelName - The intent name or entity name. CustomPrebuiltModelName *string `json:"customPrebuiltModelName,omitempty"` // ID - The ID of the Entity Model. ID *uuid.UUID `json:"id,omitempty"` // Name - Name of the Entity Model. Name *string `json:"name,omitempty"` // TypeID - The type ID of the Entity Model. TypeID *int32 `json:"typeId,omitempty"` // ReadableType - Possible values include: 'ReadableTypeEntityExtractor', 'ReadableTypeChildEntityExtractor', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypeRegexEntityExtractor' ReadableType ReadableType `json:"readableType,omitempty"` }
IntentClassifier intent Classifier.
type IntentPrediction struct { // Name - The intent's name Name *string `json:"name,omitempty"` // Score - The intent's score, based on the prediction model. Score *float64 `json:"score,omitempty"` }
IntentPrediction a suggested intent.
type IntentsSuggestionExample struct { // Text - The utterance. For example, "What's the weather like in seattle?" Text *string `json:"text,omitempty"` // TokenizedText - The tokenized utterance. TokenizedText *[]string `json:"tokenizedText,omitempty"` // IntentPredictions - Predicted/suggested intents. IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"` // EntityPredictions - Predicted/suggested entities. EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"` }
IntentsSuggestionExample predicted/suggested intent.
type JSONChild struct { Name *string `json:"name,omitempty"` InstanceOf *string `json:"instanceOf,omitempty"` Children *[]JSONChild `json:"children,omitempty"` Features *[]JSONModelFeatureInformation `json:"features,omitempty"` }
JSONChild ...
type JSONEntity struct { // StartPos - The index within the utterance where the extracted entity starts. StartPos *int32 `json:"startPos,omitempty"` // EndPos - The index within the utterance where the extracted entity ends. EndPos *int32 `json:"endPos,omitempty"` // Entity - The entity name. Entity *string `json:"entity,omitempty"` // Role - The role the entity plays in the utterance. Role *string `json:"role,omitempty"` Children *[]JSONEntity `json:"children,omitempty"` }
JSONEntity exported Model - Extracted Entity from utterance.
type JSONModelFeature struct { // Activated - Indicates if the feature is enabled. Activated *bool `json:"activated,omitempty"` // Name - The Phraselist name. Name *string `json:"name,omitempty"` // Words - List of comma-separated phrases that represent the Phraselist. Words *string `json:"words,omitempty"` // Mode - An interchangeable phrase list feature serves as a list of synonyms for training. A non-exchangeable phrase list serves as separate features for training. So, if your non-interchangeable phrase list contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-interchangeable phrase list as an additional bag of words to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Default value is true. Mode *bool `json:"mode,omitempty"` // EnabledForAllModels - Indicates if the Phraselist is enabled for all models in the application. EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"` }
JSONModelFeature exported Model - Phraselist Model Feature.
type JSONModelFeatureInformation struct { // ModelName - The name of the model used. ModelName *string `json:"modelName,omitempty"` // FeatureName - The name of the feature used. FeatureName *string `json:"featureName,omitempty"` }
JSONModelFeatureInformation an object containing the model feature information either the model name or feature name.
type JSONRegexFeature struct { // Pattern - The Regular Expression to match. Pattern *string `json:"pattern,omitempty"` // Activated - Indicates if the Pattern feature is enabled. Activated *bool `json:"activated,omitempty"` // Name - Name of the feature. Name *string `json:"name,omitempty"` }
JSONRegexFeature exported Model - A Pattern feature.
type JSONUtterance struct { // Text - The utterance. Text *string `json:"text,omitempty"` // Intent - The matched intent. Intent *string `json:"intent,omitempty"` // Entities - The matched entities. Entities *[]JSONEntity `json:"entities,omitempty"` }
JSONUtterance exported Model - Utterance that was used to train the model.
type LabelExampleResponse struct { autorest.Response `json:"-"` // UtteranceText - The example utterance. UtteranceText *string `json:"UtteranceText,omitempty"` // ExampleID - The newly created sample ID. ExampleID *int32 `json:"ExampleId,omitempty"` }
LabelExampleResponse response when adding a labeled example utterance.
type LabelTextObject struct { // ID - The ID of the Label. ID *int32 `json:"id,omitempty"` // Text - The text of the label. Text *string `json:"text,omitempty"` }
LabelTextObject an object containing the example utterance's text.
type LabeledUtterance struct { // ID - ID of Labeled Utterance. ID *int32 `json:"id,omitempty"` // Text - The utterance. For example, "What's the weather like in seattle?" Text *string `json:"text,omitempty"` // TokenizedText - The utterance tokenized. TokenizedText *[]string `json:"tokenizedText,omitempty"` // IntentLabel - The intent matching the example. IntentLabel *string `json:"intentLabel,omitempty"` // EntityLabels - The entities matching the example. EntityLabels *[]EntityLabel `json:"entityLabels,omitempty"` // IntentPredictions - List of suggested intents. IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"` // EntityPredictions - List of suggested entities. EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"` }
LabeledUtterance a prediction and label pair of an example.
type ListAppVersionSettingObject struct { autorest.Response `json:"-"` Value *[]AppVersionSettingObject `json:"value,omitempty"` }
ListAppVersionSettingObject ...
type ListApplicationInfoResponse struct { autorest.Response `json:"-"` Value *[]ApplicationInfoResponse `json:"value,omitempty"` }
ListApplicationInfoResponse ...
type ListAvailableCulture struct { autorest.Response `json:"-"` Value *[]AvailableCulture `json:"value,omitempty"` }
ListAvailableCulture ...
type ListAvailablePrebuiltEntityModel struct { autorest.Response `json:"-"` Value *[]AvailablePrebuiltEntityModel `json:"value,omitempty"` }
ListAvailablePrebuiltEntityModel ...
type ListAzureAccountInfoObject struct { autorest.Response `json:"-"` Value *[]AzureAccountInfoObject `json:"value,omitempty"` }
ListAzureAccountInfoObject ...
type ListBatchLabelExample struct { autorest.Response `json:"-"` Value *[]BatchLabelExample `json:"value,omitempty"` }
ListBatchLabelExample ...
type ListClosedListEntityExtractor struct { autorest.Response `json:"-"` Value *[]ClosedListEntityExtractor `json:"value,omitempty"` }
ListClosedListEntityExtractor ...
type ListCompositeEntityExtractor struct { autorest.Response `json:"-"` Value *[]CompositeEntityExtractor `json:"value,omitempty"` }
ListCompositeEntityExtractor ...
type ListCustomPrebuiltModel struct { autorest.Response `json:"-"` Value *[]CustomPrebuiltModel `json:"value,omitempty"` }
ListCustomPrebuiltModel ...
type ListEntitiesSuggestionExample struct { autorest.Response `json:"-"` Value *[]EntitiesSuggestionExample `json:"value,omitempty"` }
ListEntitiesSuggestionExample ...
type ListEntityExtractor struct { autorest.Response `json:"-"` Value *[]EntityExtractor `json:"value,omitempty"` }
ListEntityExtractor ...
type ListEntityRole struct { autorest.Response `json:"-"` Value *[]EntityRole `json:"value,omitempty"` }
ListEntityRole ...
type ListExplicitListItem struct { autorest.Response `json:"-"` Value *[]ExplicitListItem `json:"value,omitempty"` }
ListExplicitListItem ...
type ListHierarchicalEntityExtractor struct { autorest.Response `json:"-"` Value *[]HierarchicalEntityExtractor `json:"value,omitempty"` }
ListHierarchicalEntityExtractor ...
type ListIntentClassifier struct { autorest.Response `json:"-"` Value *[]IntentClassifier `json:"value,omitempty"` }
ListIntentClassifier ...
type ListIntentsSuggestionExample struct { autorest.Response `json:"-"` Value *[]IntentsSuggestionExample `json:"value,omitempty"` }
ListIntentsSuggestionExample ...
type ListLabelTextObject struct { autorest.Response `json:"-"` Value *[]LabelTextObject `json:"value,omitempty"` }
ListLabelTextObject ...
type ListLabeledUtterance struct { autorest.Response `json:"-"` Value *[]LabeledUtterance `json:"value,omitempty"` }
ListLabeledUtterance ...
type ListModelFeatureInformation struct { autorest.Response `json:"-"` Value *[]ModelFeatureInformation `json:"value,omitempty"` }
ListModelFeatureInformation ...
type ListModelInfoResponse struct { autorest.Response `json:"-"` Value *[]ModelInfoResponse `json:"value,omitempty"` }
ListModelInfoResponse ...
type ListModelTrainingInfo struct { autorest.Response `json:"-"` Value *[]ModelTrainingInfo `json:"value,omitempty"` }
ListModelTrainingInfo ...
type ListNDepthEntityExtractor struct { autorest.Response `json:"-"` Value *[]NDepthEntityExtractor `json:"value,omitempty"` }
ListNDepthEntityExtractor ...
type ListPatternAnyEntityExtractor struct { autorest.Response `json:"-"` Value *[]PatternAnyEntityExtractor `json:"value,omitempty"` }
ListPatternAnyEntityExtractor ...
type ListPatternRuleInfo struct { autorest.Response `json:"-"` Value *[]PatternRuleInfo `json:"value,omitempty"` }
ListPatternRuleInfo ...
type ListPhraseListFeatureInfo struct { autorest.Response `json:"-"` Value *[]PhraseListFeatureInfo `json:"value,omitempty"` }
ListPhraseListFeatureInfo ...
type ListPrebuiltDomain struct { autorest.Response `json:"-"` Value *[]PrebuiltDomain `json:"value,omitempty"` }
ListPrebuiltDomain ...
type ListPrebuiltEntityExtractor struct { autorest.Response `json:"-"` Value *[]PrebuiltEntityExtractor `json:"value,omitempty"` }
ListPrebuiltEntityExtractor ...
type ListRegexEntityExtractor struct { autorest.Response `json:"-"` Value *[]RegexEntityExtractor `json:"value,omitempty"` }
ListRegexEntityExtractor ...
ListString ...
ListUUID ...
type ListVersionInfo struct { autorest.Response `json:"-"` Value *[]VersionInfo `json:"value,omitempty"` }
ListVersionInfo ...
type LuisApp struct { autorest.Response `json:"-"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Name - The name of the application. Name *string `json:"name,omitempty"` // VersionID - The version ID of the application that was exported. VersionID *string `json:"versionId,omitempty"` // Desc - The description of the application. Desc *string `json:"desc,omitempty"` // Culture - The culture of the application. E.g.: en-us. Culture *string `json:"culture,omitempty"` // Intents - List of intents. Intents *[]HierarchicalModel `json:"intents,omitempty"` // Entities - List of entities. Entities *[]HierarchicalModel `json:"entities,omitempty"` // ClosedLists - List of list entities. ClosedLists *[]ClosedList `json:"closedLists,omitempty"` // Composites - List of composite entities. Composites *[]HierarchicalModel `json:"composites,omitempty"` // Hierarchicals - List of hierarchical entities. Hierarchicals *[]HierarchicalModel `json:"hierarchicals,omitempty"` // PatternAnyEntities - List of Pattern.Any entities. PatternAnyEntities *[]PatternAny `json:"patternAnyEntities,omitempty"` // RegexEntities - List of regular expression entities. RegexEntities *[]RegexEntity `json:"regex_entities,omitempty"` // PrebuiltEntities - List of prebuilt entities. PrebuiltEntities *[]PrebuiltEntity `json:"prebuiltEntities,omitempty"` // RegexFeatures - List of pattern features. RegexFeatures *[]JSONRegexFeature `json:"regex_features,omitempty"` // Phraselists - List of model features. Phraselists *[]JSONModelFeature `json:"phraselists,omitempty"` // Patterns - List of patterns. Patterns *[]PatternRule `json:"patterns,omitempty"` // Utterances - List of example utterances. Utterances *[]JSONUtterance `json:"utterances,omitempty"` }
LuisApp exported Model - An exported LUIS Application.
MarshalJSON is the custom marshaler for LuisApp.
UnmarshalJSON is the custom unmarshaler for LuisApp struct.
type LuisAppV2 struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // LuisSchemaVersion - Luis schema deserialization version. LuisSchemaVersion *string `json:"luis_schema_version,omitempty"` // Name - The name of the application. Name *string `json:"name,omitempty"` // VersionID - The version ID of the application that was exported. VersionID *string `json:"versionId,omitempty"` // Desc - The description of the application. Desc *string `json:"desc,omitempty"` // Culture - The culture of the application. E.g.: en-us. Culture *string `json:"culture,omitempty"` // Intents - List of intents. Intents *[]HierarchicalModelV2 `json:"intents,omitempty"` // Entities - List of entities. Entities *[]HierarchicalModelV2 `json:"entities,omitempty"` // ClosedLists - List of list entities. ClosedLists *[]ClosedList `json:"closedLists,omitempty"` // Composites - List of composite entities. Composites *[]HierarchicalModelV2 `json:"composites,omitempty"` // PatternAnyEntities - List of Pattern.Any entities. PatternAnyEntities *[]PatternAny `json:"patternAnyEntities,omitempty"` // RegexEntities - List of regular expression entities. RegexEntities *[]RegexEntity `json:"regex_entities,omitempty"` // PrebuiltEntities - List of prebuilt entities. PrebuiltEntities *[]PrebuiltEntity `json:"prebuiltEntities,omitempty"` // RegexFeatures - List of pattern features. RegexFeatures *[]JSONRegexFeature `json:"regex_features,omitempty"` // ModelFeatures - List of model features. ModelFeatures *[]JSONModelFeature `json:"model_features,omitempty"` // Patterns - List of patterns. Patterns *[]PatternRule `json:"patterns,omitempty"` // Utterances - List of example utterances. Utterances *[]JSONUtterance `json:"utterances,omitempty"` }
LuisAppV2 exported Model - An exported LUIS Application.
MarshalJSON is the custom marshaler for LuisAppV2.
UnmarshalJSON is the custom unmarshaler for LuisAppV2 struct.
type ModelClient struct { BaseClient }
ModelClient is the client for the Model methods of the Authoring service.
func NewModelClient(endpoint string) ModelClient
NewModelClient creates an instance of the ModelClient client.
func (client ModelClient) AddClosedList(ctx context.Context, appID uuid.UUID, versionID string, closedListModelCreateObject ClosedListModelCreateObject) (result UUID, err error)
AddClosedList adds a list entity model to a version of the application. Parameters: appID - the application ID. versionID - the version ID. closedListModelCreateObject - a model containing the name and words for the new list entity extractor.
func (client ModelClient) AddClosedListPreparer(ctx context.Context, appID uuid.UUID, versionID string, closedListModelCreateObject ClosedListModelCreateObject) (*http.Request, error)
AddClosedListPreparer prepares the AddClosedList request.
AddClosedListResponder handles the response to the AddClosedList request. The method always closes the http.Response Body.
AddClosedListSender sends the AddClosedList request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddCompositeEntityChild(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, compositeChildModelCreateObject CompositeChildModelCreateObject) (result UUID, err error)
AddCompositeEntityChild creates a single child in an existing composite entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. compositeChildModelCreateObject - a model object containing the name of the new composite child model.
func (client ModelClient) AddCompositeEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, compositeChildModelCreateObject CompositeChildModelCreateObject) (*http.Request, error)
AddCompositeEntityChildPreparer prepares the AddCompositeEntityChild request.
func (client ModelClient) AddCompositeEntityChildResponder(resp *http.Response) (result UUID, err error)
AddCompositeEntityChildResponder handles the response to the AddCompositeEntityChild request. The method always closes the http.Response Body.
AddCompositeEntityChildSender sends the AddCompositeEntityChild request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddCustomPrebuiltDomain(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainObject PrebuiltDomainCreateBaseObject) (result ListUUID, err error)
AddCustomPrebuiltDomain adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainObject - a prebuilt domain create object containing the name of the domain.
func (client ModelClient) AddCustomPrebuiltDomainPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainObject PrebuiltDomainCreateBaseObject) (*http.Request, error)
AddCustomPrebuiltDomainPreparer prepares the AddCustomPrebuiltDomain request.
func (client ModelClient) AddCustomPrebuiltDomainResponder(resp *http.Response) (result ListUUID, err error)
AddCustomPrebuiltDomainResponder handles the response to the AddCustomPrebuiltDomain request. The method always closes the http.Response Body.
AddCustomPrebuiltDomainSender sends the AddCustomPrebuiltDomain request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddCustomPrebuiltEntity(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (result UUID, err error)
AddCustomPrebuiltEntity adds a prebuilt entity model to a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainModelCreateObject - a model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.
func (client ModelClient) AddCustomPrebuiltEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (*http.Request, error)
AddCustomPrebuiltEntityPreparer prepares the AddCustomPrebuiltEntity request.
func (client ModelClient) AddCustomPrebuiltEntityResponder(resp *http.Response) (result UUID, err error)
AddCustomPrebuiltEntityResponder handles the response to the AddCustomPrebuiltEntity request. The method always closes the http.Response Body.
AddCustomPrebuiltEntitySender sends the AddCustomPrebuiltEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddCustomPrebuiltIntent(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (result UUID, err error)
AddCustomPrebuiltIntent adds a customizable prebuilt intent model to a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainModelCreateObject - a model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.
func (client ModelClient) AddCustomPrebuiltIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (*http.Request, error)
AddCustomPrebuiltIntentPreparer prepares the AddCustomPrebuiltIntent request.
func (client ModelClient) AddCustomPrebuiltIntentResponder(resp *http.Response) (result UUID, err error)
AddCustomPrebuiltIntentResponder handles the response to the AddCustomPrebuiltIntent request. The method always closes the http.Response Body.
AddCustomPrebuiltIntentSender sends the AddCustomPrebuiltIntent request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddEntity(ctx context.Context, appID uuid.UUID, versionID string, entityModelCreateObject EntityModelCreateObject) (result UUID, err error)
AddEntity adds an entity extractor to a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityModelCreateObject - a model object containing the name of the new entity extractor and its children.
func (client ModelClient) AddEntityChild(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, childEntityModelCreateObject ChildEntityModelCreateObject) (result UUID, err error)
AddEntityChild creates a single child in an existing entity model hierarchy in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. childEntityModelCreateObject - a model object containing the name of the new child model and its children.
func (client ModelClient) AddEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, childEntityModelCreateObject ChildEntityModelCreateObject) (*http.Request, error)
AddEntityChildPreparer prepares the AddEntityChild request.
AddEntityChildResponder handles the response to the AddEntityChild request. The method always closes the http.Response Body.
AddEntityChildSender sends the AddEntityChild request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityModelCreateObject EntityModelCreateObject) (*http.Request, error)
AddEntityPreparer prepares the AddEntity request.
AddEntityResponder handles the response to the AddEntity request. The method always closes the http.Response Body.
AddEntitySender sends the AddEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddExplicitListItem(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, item ExplicitListItemCreateObject) (result Int32, err error)
AddExplicitListItem sends the add explicit list item request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity extractor ID. item - the new explicit list item.
func (client ModelClient) AddExplicitListItemPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, item ExplicitListItemCreateObject) (*http.Request, error)
AddExplicitListItemPreparer prepares the AddExplicitListItem request.
func (client ModelClient) AddExplicitListItemResponder(resp *http.Response) (result Int32, err error)
AddExplicitListItemResponder handles the response to the AddExplicitListItem request. The method always closes the http.Response Body.
AddExplicitListItemSender sends the AddExplicitListItem request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddIntent(ctx context.Context, appID uuid.UUID, versionID string, intentCreateObject ModelCreateObject) (result UUID, err error)
AddIntent adds an intent to a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentCreateObject - a model object containing the name of the new intent.
func (client ModelClient) AddIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentCreateObject ModelCreateObject) (*http.Request, error)
AddIntentPreparer prepares the AddIntent request.
AddIntentResponder handles the response to the AddIntent request. The method always closes the http.Response Body.
AddIntentSender sends the AddIntent request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddPrebuilt(ctx context.Context, appID uuid.UUID, versionID string, prebuiltExtractorNames []string) (result ListPrebuiltEntityExtractor, err error)
AddPrebuilt adds a list of prebuilt entities to a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltExtractorNames - an array of prebuilt entity extractor names.
func (client ModelClient) AddPrebuiltPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltExtractorNames []string) (*http.Request, error)
AddPrebuiltPreparer prepares the AddPrebuilt request.
func (client ModelClient) AddPrebuiltResponder(resp *http.Response) (result ListPrebuiltEntityExtractor, err error)
AddPrebuiltResponder handles the response to the AddPrebuilt request. The method always closes the http.Response Body.
AddPrebuiltSender sends the AddPrebuilt request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) AddSubList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, wordListCreateObject WordListObject) (result Int64, err error)
AddSubList adds a sublist to an existing list entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity extractor ID. wordListCreateObject - words list.
func (client ModelClient) AddSubListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, wordListCreateObject WordListObject) (*http.Request, error)
AddSubListPreparer prepares the AddSubList request.
AddSubListResponder handles the response to the AddSubList request. The method always closes the http.Response Body.
AddSubListSender sends the AddSubList request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateClosedListEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreateClosedListEntityRole sends the create closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreateClosedListEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreateClosedListEntityRolePreparer prepares the CreateClosedListEntityRole request.
func (client ModelClient) CreateClosedListEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreateClosedListEntityRoleResponder handles the response to the CreateClosedListEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) CreateClosedListEntityRoleSender(req *http.Request) (*http.Response, error)
CreateClosedListEntityRoleSender sends the CreateClosedListEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateCompositeEntityRole(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreateCompositeEntityRole sends the create composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreateCompositeEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreateCompositeEntityRolePreparer prepares the CreateCompositeEntityRole request.
func (client ModelClient) CreateCompositeEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreateCompositeEntityRoleResponder handles the response to the CreateCompositeEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) CreateCompositeEntityRoleSender(req *http.Request) (*http.Response, error)
CreateCompositeEntityRoleSender sends the CreateCompositeEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateCustomPrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreateCustomPrebuiltEntityRole sends the create custom prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreateCustomPrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreateCustomPrebuiltEntityRolePreparer prepares the CreateCustomPrebuiltEntityRole request.
func (client ModelClient) CreateCustomPrebuiltEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreateCustomPrebuiltEntityRoleResponder handles the response to the CreateCustomPrebuiltEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) CreateCustomPrebuiltEntityRoleSender(req *http.Request) (*http.Response, error)
CreateCustomPrebuiltEntityRoleSender sends the CreateCustomPrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreateEntityRole sends the create entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreateEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreateEntityRolePreparer prepares the CreateEntityRole request.
CreateEntityRoleResponder handles the response to the CreateEntityRole request. The method always closes the http.Response Body.
CreateEntityRoleSender sends the CreateEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateHierarchicalEntityRole(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreateHierarchicalEntityRole sends the create hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreateHierarchicalEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreateHierarchicalEntityRolePreparer prepares the CreateHierarchicalEntityRole request.
func (client ModelClient) CreateHierarchicalEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreateHierarchicalEntityRoleResponder handles the response to the CreateHierarchicalEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) CreateHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error)
CreateHierarchicalEntityRoleSender sends the CreateHierarchicalEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreatePatternAnyEntityModel(ctx context.Context, appID uuid.UUID, versionID string, extractorCreateObject PatternAnyModelCreateObject) (result UUID, err error)
CreatePatternAnyEntityModel sends the create pattern any entity model request. Parameters: appID - the application ID. versionID - the version ID. extractorCreateObject - a model object containing the name and explicit list for the new Pattern.Any entity extractor.
func (client ModelClient) CreatePatternAnyEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, extractorCreateObject PatternAnyModelCreateObject) (*http.Request, error)
CreatePatternAnyEntityModelPreparer prepares the CreatePatternAnyEntityModel request.
func (client ModelClient) CreatePatternAnyEntityModelResponder(resp *http.Response) (result UUID, err error)
CreatePatternAnyEntityModelResponder handles the response to the CreatePatternAnyEntityModel request. The method always closes the http.Response Body.
func (client ModelClient) CreatePatternAnyEntityModelSender(req *http.Request) (*http.Response, error)
CreatePatternAnyEntityModelSender sends the CreatePatternAnyEntityModel request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreatePatternAnyEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreatePatternAnyEntityRole sends the create pattern any entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreatePatternAnyEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreatePatternAnyEntityRolePreparer prepares the CreatePatternAnyEntityRole request.
func (client ModelClient) CreatePatternAnyEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreatePatternAnyEntityRoleResponder handles the response to the CreatePatternAnyEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) CreatePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error)
CreatePatternAnyEntityRoleSender sends the CreatePatternAnyEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreatePrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreatePrebuiltEntityRole sends the create prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreatePrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreatePrebuiltEntityRolePreparer prepares the CreatePrebuiltEntityRole request.
func (client ModelClient) CreatePrebuiltEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreatePrebuiltEntityRoleResponder handles the response to the CreatePrebuiltEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) CreatePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error)
CreatePrebuiltEntityRoleSender sends the CreatePrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateRegexEntityModel(ctx context.Context, appID uuid.UUID, versionID string, regexEntityExtractorCreateObj RegexModelCreateObject) (result UUID, err error)
CreateRegexEntityModel sends the create regex entity model request. Parameters: appID - the application ID. versionID - the version ID. regexEntityExtractorCreateObj - a model object containing the name and regex pattern for the new regular expression entity extractor.
func (client ModelClient) CreateRegexEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, regexEntityExtractorCreateObj RegexModelCreateObject) (*http.Request, error)
CreateRegexEntityModelPreparer prepares the CreateRegexEntityModel request.
func (client ModelClient) CreateRegexEntityModelResponder(resp *http.Response) (result UUID, err error)
CreateRegexEntityModelResponder handles the response to the CreateRegexEntityModel request. The method always closes the http.Response Body.
CreateRegexEntityModelSender sends the CreateRegexEntityModel request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) CreateRegexEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)
CreateRegexEntityRole sends the create regex entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.
func (client ModelClient) CreateRegexEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)
CreateRegexEntityRolePreparer prepares the CreateRegexEntityRole request.
func (client ModelClient) CreateRegexEntityRoleResponder(resp *http.Response) (result UUID, err error)
CreateRegexEntityRoleResponder handles the response to the CreateRegexEntityRole request. The method always closes the http.Response Body.
CreateRegexEntityRoleSender sends the CreateRegexEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteClosedList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (result OperationStatus, err error)
DeleteClosedList deletes a list entity model from a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity model ID.
func (client ModelClient) DeleteClosedListEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeleteClosedListEntityRole sends the delete closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.
func (client ModelClient) DeleteClosedListEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeleteClosedListEntityRolePreparer prepares the DeleteClosedListEntityRole request.
func (client ModelClient) DeleteClosedListEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeleteClosedListEntityRoleResponder handles the response to the DeleteClosedListEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) DeleteClosedListEntityRoleSender(req *http.Request) (*http.Response, error)
DeleteClosedListEntityRoleSender sends the DeleteClosedListEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteClosedListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (*http.Request, error)
DeleteClosedListPreparer prepares the DeleteClosedList request.
func (client ModelClient) DeleteClosedListResponder(resp *http.Response) (result OperationStatus, err error)
DeleteClosedListResponder handles the response to the DeleteClosedList request. The method always closes the http.Response Body.
DeleteClosedListSender sends the DeleteClosedList request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteCompositeEntity(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (result OperationStatus, err error)
DeleteCompositeEntity deletes a composite entity from a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID.
func (client ModelClient) DeleteCompositeEntityChild(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, cChildID uuid.UUID) (result OperationStatus, err error)
DeleteCompositeEntityChild deletes a composite entity extractor child from a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. cChildID - the hierarchical entity extractor child ID.
func (client ModelClient) DeleteCompositeEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, cChildID uuid.UUID) (*http.Request, error)
DeleteCompositeEntityChildPreparer prepares the DeleteCompositeEntityChild request.
func (client ModelClient) DeleteCompositeEntityChildResponder(resp *http.Response) (result OperationStatus, err error)
DeleteCompositeEntityChildResponder handles the response to the DeleteCompositeEntityChild request. The method always closes the http.Response Body.
func (client ModelClient) DeleteCompositeEntityChildSender(req *http.Request) (*http.Response, error)
DeleteCompositeEntityChildSender sends the DeleteCompositeEntityChild request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteCompositeEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (*http.Request, error)
DeleteCompositeEntityPreparer prepares the DeleteCompositeEntity request.
func (client ModelClient) DeleteCompositeEntityResponder(resp *http.Response) (result OperationStatus, err error)
DeleteCompositeEntityResponder handles the response to the DeleteCompositeEntity request. The method always closes the http.Response Body.
func (client ModelClient) DeleteCompositeEntityRole(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeleteCompositeEntityRole sends the delete composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. roleID - the entity role Id.
func (client ModelClient) DeleteCompositeEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeleteCompositeEntityRolePreparer prepares the DeleteCompositeEntityRole request.
func (client ModelClient) DeleteCompositeEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeleteCompositeEntityRoleResponder handles the response to the DeleteCompositeEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) DeleteCompositeEntityRoleSender(req *http.Request) (*http.Response, error)
DeleteCompositeEntityRoleSender sends the DeleteCompositeEntityRole request. The method will close the http.Response Body if it receives an error.
DeleteCompositeEntitySender sends the DeleteCompositeEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteCustomEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeleteCustomEntityRole sends the delete custom entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.
func (client ModelClient) DeleteCustomEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeleteCustomEntityRolePreparer prepares the DeleteCustomEntityRole request.
func (client ModelClient) DeleteCustomEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeleteCustomEntityRoleResponder handles the response to the DeleteCustomEntityRole request. The method always closes the http.Response Body.
DeleteCustomEntityRoleSender sends the DeleteCustomEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteCustomPrebuiltDomain(ctx context.Context, appID uuid.UUID, versionID string, domainName string) (result OperationStatus, err error)
DeleteCustomPrebuiltDomain deletes a prebuilt domain's models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. domainName - domain name.
func (client ModelClient) DeleteCustomPrebuiltDomainPreparer(ctx context.Context, appID uuid.UUID, versionID string, domainName string) (*http.Request, error)
DeleteCustomPrebuiltDomainPreparer prepares the DeleteCustomPrebuiltDomain request.
func (client ModelClient) DeleteCustomPrebuiltDomainResponder(resp *http.Response) (result OperationStatus, err error)
DeleteCustomPrebuiltDomainResponder handles the response to the DeleteCustomPrebuiltDomain request. The method always closes the http.Response Body.
func (client ModelClient) DeleteCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error)
DeleteCustomPrebuiltDomainSender sends the DeleteCustomPrebuiltDomain request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteEntity(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result OperationStatus, err error)
DeleteEntity deletes an entity or a child from a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor or the child entity extractor ID.
func (client ModelClient) DeleteEntityFeature(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationDeleteObject ModelFeatureInformation) (result OperationStatus, err error)
DeleteEntityFeature deletes a relation from the feature relations used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. featureRelationDeleteObject - a feature information object containing the feature relation to delete.
func (client ModelClient) DeleteEntityFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationDeleteObject ModelFeatureInformation) (*http.Request, error)
DeleteEntityFeaturePreparer prepares the DeleteEntityFeature request.
func (client ModelClient) DeleteEntityFeatureResponder(resp *http.Response) (result OperationStatus, err error)
DeleteEntityFeatureResponder handles the response to the DeleteEntityFeature request. The method always closes the http.Response Body.
DeleteEntityFeatureSender sends the DeleteEntityFeature request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
DeleteEntityPreparer prepares the DeleteEntity request.
func (client ModelClient) DeleteEntityResponder(resp *http.Response) (result OperationStatus, err error)
DeleteEntityResponder handles the response to the DeleteEntity request. The method always closes the http.Response Body.
func (client ModelClient) DeleteEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeleteEntityRole sends the delete entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.
func (client ModelClient) DeleteEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeleteEntityRolePreparer prepares the DeleteEntityRole request.
func (client ModelClient) DeleteEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeleteEntityRoleResponder handles the response to the DeleteEntityRole request. The method always closes the http.Response Body.
DeleteEntityRoleSender sends the DeleteEntityRole request. The method will close the http.Response Body if it receives an error.
DeleteEntitySender sends the DeleteEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteExplicitListItem(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (result OperationStatus, err error)
DeleteExplicitListItem sends the delete explicit list item request. Parameters: appID - the application ID. versionID - the version ID. entityID - the pattern.any entity id. itemID - the explicit list item which will be deleted.
func (client ModelClient) DeleteExplicitListItemPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (*http.Request, error)
DeleteExplicitListItemPreparer prepares the DeleteExplicitListItem request.
func (client ModelClient) DeleteExplicitListItemResponder(resp *http.Response) (result OperationStatus, err error)
DeleteExplicitListItemResponder handles the response to the DeleteExplicitListItem request. The method always closes the http.Response Body.
DeleteExplicitListItemSender sends the DeleteExplicitListItem request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteHierarchicalEntity(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (result OperationStatus, err error)
DeleteHierarchicalEntity deletes a hierarchical entity from a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID.
func (client ModelClient) DeleteHierarchicalEntityChild(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (result OperationStatus, err error)
DeleteHierarchicalEntityChild deletes a hierarchical entity extractor child in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. hChildID - the hierarchical entity extractor child ID.
func (client ModelClient) DeleteHierarchicalEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (*http.Request, error)
DeleteHierarchicalEntityChildPreparer prepares the DeleteHierarchicalEntityChild request.
func (client ModelClient) DeleteHierarchicalEntityChildResponder(resp *http.Response) (result OperationStatus, err error)
DeleteHierarchicalEntityChildResponder handles the response to the DeleteHierarchicalEntityChild request. The method always closes the http.Response Body.
func (client ModelClient) DeleteHierarchicalEntityChildSender(req *http.Request) (*http.Response, error)
DeleteHierarchicalEntityChildSender sends the DeleteHierarchicalEntityChild request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteHierarchicalEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (*http.Request, error)
DeleteHierarchicalEntityPreparer prepares the DeleteHierarchicalEntity request.
func (client ModelClient) DeleteHierarchicalEntityResponder(resp *http.Response) (result OperationStatus, err error)
DeleteHierarchicalEntityResponder handles the response to the DeleteHierarchicalEntity request. The method always closes the http.Response Body.
func (client ModelClient) DeleteHierarchicalEntityRole(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeleteHierarchicalEntityRole sends the delete hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. roleID - the entity role Id.
func (client ModelClient) DeleteHierarchicalEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeleteHierarchicalEntityRolePreparer prepares the DeleteHierarchicalEntityRole request.
func (client ModelClient) DeleteHierarchicalEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeleteHierarchicalEntityRoleResponder handles the response to the DeleteHierarchicalEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) DeleteHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error)
DeleteHierarchicalEntityRoleSender sends the DeleteHierarchicalEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteHierarchicalEntitySender(req *http.Request) (*http.Response, error)
DeleteHierarchicalEntitySender sends the DeleteHierarchicalEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteIntent(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, deleteUtterances *bool) (result OperationStatus, err error)
DeleteIntent deletes an intent from a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. deleteUtterances - if true, deletes the intent's example utterances. If false, moves the example utterances to the None intent. The default value is false.
func (client ModelClient) DeleteIntentFeature(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationDeleteObject ModelFeatureInformation) (result OperationStatus, err error)
DeleteIntentFeature deletes a relation from the feature relations used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. featureRelationDeleteObject - a feature information object containing the feature relation to delete.
func (client ModelClient) DeleteIntentFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationDeleteObject ModelFeatureInformation) (*http.Request, error)
DeleteIntentFeaturePreparer prepares the DeleteIntentFeature request.
func (client ModelClient) DeleteIntentFeatureResponder(resp *http.Response) (result OperationStatus, err error)
DeleteIntentFeatureResponder handles the response to the DeleteIntentFeature request. The method always closes the http.Response Body.
DeleteIntentFeatureSender sends the DeleteIntentFeature request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, deleteUtterances *bool) (*http.Request, error)
DeleteIntentPreparer prepares the DeleteIntent request.
func (client ModelClient) DeleteIntentResponder(resp *http.Response) (result OperationStatus, err error)
DeleteIntentResponder handles the response to the DeleteIntent request. The method always closes the http.Response Body.
DeleteIntentSender sends the DeleteIntent request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeletePatternAnyEntityModel(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result OperationStatus, err error)
DeletePatternAnyEntityModel sends the delete pattern any entity model request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity extractor ID.
func (client ModelClient) DeletePatternAnyEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
DeletePatternAnyEntityModelPreparer prepares the DeletePatternAnyEntityModel request.
func (client ModelClient) DeletePatternAnyEntityModelResponder(resp *http.Response) (result OperationStatus, err error)
DeletePatternAnyEntityModelResponder handles the response to the DeletePatternAnyEntityModel request. The method always closes the http.Response Body.
func (client ModelClient) DeletePatternAnyEntityModelSender(req *http.Request) (*http.Response, error)
DeletePatternAnyEntityModelSender sends the DeletePatternAnyEntityModel request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeletePatternAnyEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeletePatternAnyEntityRole sends the delete pattern any entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.
func (client ModelClient) DeletePatternAnyEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeletePatternAnyEntityRolePreparer prepares the DeletePatternAnyEntityRole request.
func (client ModelClient) DeletePatternAnyEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeletePatternAnyEntityRoleResponder handles the response to the DeletePatternAnyEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) DeletePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error)
DeletePatternAnyEntityRoleSender sends the DeletePatternAnyEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeletePrebuilt(ctx context.Context, appID uuid.UUID, versionID string, prebuiltID uuid.UUID) (result OperationStatus, err error)
DeletePrebuilt deletes a prebuilt entity extractor from a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltID - the prebuilt entity extractor ID.
func (client ModelClient) DeletePrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeletePrebuiltEntityRole sends the delete prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.
func (client ModelClient) DeletePrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeletePrebuiltEntityRolePreparer prepares the DeletePrebuiltEntityRole request.
func (client ModelClient) DeletePrebuiltEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeletePrebuiltEntityRoleResponder handles the response to the DeletePrebuiltEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) DeletePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error)
DeletePrebuiltEntityRoleSender sends the DeletePrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeletePrebuiltPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltID uuid.UUID) (*http.Request, error)
DeletePrebuiltPreparer prepares the DeletePrebuilt request.
func (client ModelClient) DeletePrebuiltResponder(resp *http.Response) (result OperationStatus, err error)
DeletePrebuiltResponder handles the response to the DeletePrebuilt request. The method always closes the http.Response Body.
DeletePrebuiltSender sends the DeletePrebuilt request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteRegexEntityModel(ctx context.Context, appID uuid.UUID, versionID string, regexEntityID uuid.UUID) (result OperationStatus, err error)
DeleteRegexEntityModel sends the delete regex entity model request. Parameters: appID - the application ID. versionID - the version ID. regexEntityID - the regular expression entity extractor ID.
func (client ModelClient) DeleteRegexEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, regexEntityID uuid.UUID) (*http.Request, error)
DeleteRegexEntityModelPreparer prepares the DeleteRegexEntityModel request.
func (client ModelClient) DeleteRegexEntityModelResponder(resp *http.Response) (result OperationStatus, err error)
DeleteRegexEntityModelResponder handles the response to the DeleteRegexEntityModel request. The method always closes the http.Response Body.
DeleteRegexEntityModelSender sends the DeleteRegexEntityModel request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteRegexEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)
DeleteRegexEntityRole sends the delete regex entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.
func (client ModelClient) DeleteRegexEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
DeleteRegexEntityRolePreparer prepares the DeleteRegexEntityRole request.
func (client ModelClient) DeleteRegexEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)
DeleteRegexEntityRoleResponder handles the response to the DeleteRegexEntityRole request. The method always closes the http.Response Body.
DeleteRegexEntityRoleSender sends the DeleteRegexEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) DeleteSubList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, subListID int64) (result OperationStatus, err error)
DeleteSubList deletes a sublist of a specific list entity model from a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity extractor ID. subListID - the sublist ID.
func (client ModelClient) DeleteSubListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, subListID int64) (*http.Request, error)
DeleteSubListPreparer prepares the DeleteSubList request.
func (client ModelClient) DeleteSubListResponder(resp *http.Response) (result OperationStatus, err error)
DeleteSubListResponder handles the response to the DeleteSubList request. The method always closes the http.Response Body.
DeleteSubListSender sends the DeleteSubList request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ExamplesMethod(ctx context.Context, appID uuid.UUID, versionID string, modelID string, skip *int32, take *int32) (result ListLabelTextObject, err error)
ExamplesMethod gets the example utterances for the given intent or entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. modelID - the ID (GUID) of the model. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client ModelClient) ExamplesMethodPreparer(ctx context.Context, appID uuid.UUID, versionID string, modelID string, skip *int32, take *int32) (*http.Request, error)
ExamplesMethodPreparer prepares the ExamplesMethod request.
func (client ModelClient) ExamplesMethodResponder(resp *http.Response) (result ListLabelTextObject, err error)
ExamplesMethodResponder handles the response to the ExamplesMethod request. The method always closes the http.Response Body.
ExamplesMethodSender sends the ExamplesMethod request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetClosedList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (result ClosedListEntityExtractor, err error)
GetClosedList gets information about a list entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list model ID.
func (client ModelClient) GetClosedListEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetClosedListEntityRole sends the get closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.
func (client ModelClient) GetClosedListEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetClosedListEntityRolePreparer prepares the GetClosedListEntityRole request.
func (client ModelClient) GetClosedListEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetClosedListEntityRoleResponder handles the response to the GetClosedListEntityRole request. The method always closes the http.Response Body.
GetClosedListEntityRoleSender sends the GetClosedListEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetClosedListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (*http.Request, error)
GetClosedListPreparer prepares the GetClosedList request.
func (client ModelClient) GetClosedListResponder(resp *http.Response) (result ClosedListEntityExtractor, err error)
GetClosedListResponder handles the response to the GetClosedList request. The method always closes the http.Response Body.
GetClosedListSender sends the GetClosedList request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetCompositeEntity(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (result CompositeEntityExtractor, err error)
GetCompositeEntity gets information about a composite entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID.
func (client ModelClient) GetCompositeEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (*http.Request, error)
GetCompositeEntityPreparer prepares the GetCompositeEntity request.
func (client ModelClient) GetCompositeEntityResponder(resp *http.Response) (result CompositeEntityExtractor, err error)
GetCompositeEntityResponder handles the response to the GetCompositeEntity request. The method always closes the http.Response Body.
func (client ModelClient) GetCompositeEntityRole(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetCompositeEntityRole sends the get composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. roleID - entity role ID.
func (client ModelClient) GetCompositeEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetCompositeEntityRolePreparer prepares the GetCompositeEntityRole request.
func (client ModelClient) GetCompositeEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetCompositeEntityRoleResponder handles the response to the GetCompositeEntityRole request. The method always closes the http.Response Body.
GetCompositeEntityRoleSender sends the GetCompositeEntityRole request. The method will close the http.Response Body if it receives an error.
GetCompositeEntitySender sends the GetCompositeEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetCustomEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetCustomEntityRole sends the get custom entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.
func (client ModelClient) GetCustomEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetCustomEntityRolePreparer prepares the GetCustomEntityRole request.
func (client ModelClient) GetCustomEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetCustomEntityRoleResponder handles the response to the GetCustomEntityRole request. The method always closes the http.Response Body.
GetCustomEntityRoleSender sends the GetCustomEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetEntity(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result NDepthEntityExtractor, err error)
GetEntity gets information about an entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.
func (client ModelClient) GetEntityFeatures(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result ListModelFeatureInformation, err error)
GetEntityFeatures gets the information of the features used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.
func (client ModelClient) GetEntityFeaturesPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
GetEntityFeaturesPreparer prepares the GetEntityFeatures request.
func (client ModelClient) GetEntityFeaturesResponder(resp *http.Response) (result ListModelFeatureInformation, err error)
GetEntityFeaturesResponder handles the response to the GetEntityFeatures request. The method always closes the http.Response Body.
GetEntityFeaturesSender sends the GetEntityFeatures request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
GetEntityPreparer prepares the GetEntity request.
func (client ModelClient) GetEntityResponder(resp *http.Response) (result NDepthEntityExtractor, err error)
GetEntityResponder handles the response to the GetEntity request. The method always closes the http.Response Body.
func (client ModelClient) GetEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetEntityRole sends the get entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.
func (client ModelClient) GetEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetEntityRolePreparer prepares the GetEntityRole request.
func (client ModelClient) GetEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetEntityRoleResponder handles the response to the GetEntityRole request. The method always closes the http.Response Body.
GetEntityRoleSender sends the GetEntityRole request. The method will close the http.Response Body if it receives an error.
GetEntitySender sends the GetEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetExplicitList(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result ListExplicitListItem, err error)
GetExplicitList sends the get explicit list request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity id.
func (client ModelClient) GetExplicitListItem(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (result ExplicitListItem, err error)
GetExplicitListItem sends the get explicit list item request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity Id. itemID - the explicit list item Id.
func (client ModelClient) GetExplicitListItemPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (*http.Request, error)
GetExplicitListItemPreparer prepares the GetExplicitListItem request.
func (client ModelClient) GetExplicitListItemResponder(resp *http.Response) (result ExplicitListItem, err error)
GetExplicitListItemResponder handles the response to the GetExplicitListItem request. The method always closes the http.Response Body.
GetExplicitListItemSender sends the GetExplicitListItem request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetExplicitListPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
GetExplicitListPreparer prepares the GetExplicitList request.
func (client ModelClient) GetExplicitListResponder(resp *http.Response) (result ListExplicitListItem, err error)
GetExplicitListResponder handles the response to the GetExplicitList request. The method always closes the http.Response Body.
GetExplicitListSender sends the GetExplicitList request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetHierarchicalEntity(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (result HierarchicalEntityExtractor, err error)
GetHierarchicalEntity gets information about a hierarchical entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID.
func (client ModelClient) GetHierarchicalEntityChild(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (result HierarchicalChildEntity, err error)
GetHierarchicalEntityChild gets information about the child's model contained in an hierarchical entity child model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. hChildID - the hierarchical entity extractor child ID.
func (client ModelClient) GetHierarchicalEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (*http.Request, error)
GetHierarchicalEntityChildPreparer prepares the GetHierarchicalEntityChild request.
func (client ModelClient) GetHierarchicalEntityChildResponder(resp *http.Response) (result HierarchicalChildEntity, err error)
GetHierarchicalEntityChildResponder handles the response to the GetHierarchicalEntityChild request. The method always closes the http.Response Body.
func (client ModelClient) GetHierarchicalEntityChildSender(req *http.Request) (*http.Response, error)
GetHierarchicalEntityChildSender sends the GetHierarchicalEntityChild request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetHierarchicalEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (*http.Request, error)
GetHierarchicalEntityPreparer prepares the GetHierarchicalEntity request.
func (client ModelClient) GetHierarchicalEntityResponder(resp *http.Response) (result HierarchicalEntityExtractor, err error)
GetHierarchicalEntityResponder handles the response to the GetHierarchicalEntity request. The method always closes the http.Response Body.
func (client ModelClient) GetHierarchicalEntityRole(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetHierarchicalEntityRole sends the get hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. roleID - entity role ID.
func (client ModelClient) GetHierarchicalEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetHierarchicalEntityRolePreparer prepares the GetHierarchicalEntityRole request.
func (client ModelClient) GetHierarchicalEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetHierarchicalEntityRoleResponder handles the response to the GetHierarchicalEntityRole request. The method always closes the http.Response Body.
func (client ModelClient) GetHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error)
GetHierarchicalEntityRoleSender sends the GetHierarchicalEntityRole request. The method will close the http.Response Body if it receives an error.
GetHierarchicalEntitySender sends the GetHierarchicalEntity request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetIntent(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID) (result IntentClassifier, err error)
GetIntent gets information about the intent model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID.
func (client ModelClient) GetIntentFeatures(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID) (result ListModelFeatureInformation, err error)
GetIntentFeatures gets the information of the features used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID.
func (client ModelClient) GetIntentFeaturesPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID) (*http.Request, error)
GetIntentFeaturesPreparer prepares the GetIntentFeatures request.
func (client ModelClient) GetIntentFeaturesResponder(resp *http.Response) (result ListModelFeatureInformation, err error)
GetIntentFeaturesResponder handles the response to the GetIntentFeatures request. The method always closes the http.Response Body.
GetIntentFeaturesSender sends the GetIntentFeatures request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID) (*http.Request, error)
GetIntentPreparer prepares the GetIntent request.
func (client ModelClient) GetIntentResponder(resp *http.Response) (result IntentClassifier, err error)
GetIntentResponder handles the response to the GetIntent request. The method always closes the http.Response Body.
GetIntentSender sends the GetIntent request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetPatternAnyEntityInfo(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result PatternAnyEntityExtractor, err error)
GetPatternAnyEntityInfo sends the get pattern any entity info request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.
func (client ModelClient) GetPatternAnyEntityInfoPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
GetPatternAnyEntityInfoPreparer prepares the GetPatternAnyEntityInfo request.
func (client ModelClient) GetPatternAnyEntityInfoResponder(resp *http.Response) (result PatternAnyEntityExtractor, err error)
GetPatternAnyEntityInfoResponder handles the response to the GetPatternAnyEntityInfo request. The method always closes the http.Response Body.
GetPatternAnyEntityInfoSender sends the GetPatternAnyEntityInfo request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetPatternAnyEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetPatternAnyEntityRole sends the get pattern any entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.
func (client ModelClient) GetPatternAnyEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetPatternAnyEntityRolePreparer prepares the GetPatternAnyEntityRole request.
func (client ModelClient) GetPatternAnyEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetPatternAnyEntityRoleResponder handles the response to the GetPatternAnyEntityRole request. The method always closes the http.Response Body.
GetPatternAnyEntityRoleSender sends the GetPatternAnyEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetPrebuilt(ctx context.Context, appID uuid.UUID, versionID string, prebuiltID uuid.UUID) (result PrebuiltEntityExtractor, err error)
GetPrebuilt gets information about a prebuilt entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltID - the prebuilt entity extractor ID.
func (client ModelClient) GetPrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetPrebuiltEntityRole sends the get prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.
func (client ModelClient) GetPrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetPrebuiltEntityRolePreparer prepares the GetPrebuiltEntityRole request.
func (client ModelClient) GetPrebuiltEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetPrebuiltEntityRoleResponder handles the response to the GetPrebuiltEntityRole request. The method always closes the http.Response Body.
GetPrebuiltEntityRoleSender sends the GetPrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetPrebuiltPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltID uuid.UUID) (*http.Request, error)
GetPrebuiltPreparer prepares the GetPrebuilt request.
func (client ModelClient) GetPrebuiltResponder(resp *http.Response) (result PrebuiltEntityExtractor, err error)
GetPrebuiltResponder handles the response to the GetPrebuilt request. The method always closes the http.Response Body.
GetPrebuiltSender sends the GetPrebuilt request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetRegexEntityEntityInfo(ctx context.Context, appID uuid.UUID, versionID string, regexEntityID uuid.UUID) (result RegexEntityExtractor, err error)
GetRegexEntityEntityInfo sends the get regex entity entity info request. Parameters: appID - the application ID. versionID - the version ID. regexEntityID - the regular expression entity model ID.
func (client ModelClient) GetRegexEntityEntityInfoPreparer(ctx context.Context, appID uuid.UUID, versionID string, regexEntityID uuid.UUID) (*http.Request, error)
GetRegexEntityEntityInfoPreparer prepares the GetRegexEntityEntityInfo request.
func (client ModelClient) GetRegexEntityEntityInfoResponder(resp *http.Response) (result RegexEntityExtractor, err error)
GetRegexEntityEntityInfoResponder handles the response to the GetRegexEntityEntityInfo request. The method always closes the http.Response Body.
func (client ModelClient) GetRegexEntityEntityInfoSender(req *http.Request) (*http.Response, error)
GetRegexEntityEntityInfoSender sends the GetRegexEntityEntityInfo request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) GetRegexEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)
GetRegexEntityRole sends the get regex entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.
func (client ModelClient) GetRegexEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)
GetRegexEntityRolePreparer prepares the GetRegexEntityRole request.
func (client ModelClient) GetRegexEntityRoleResponder(resp *http.Response) (result EntityRole, err error)
GetRegexEntityRoleResponder handles the response to the GetRegexEntityRole request. The method always closes the http.Response Body.
GetRegexEntityRoleSender sends the GetRegexEntityRole request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListClosedListEntityRoles(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result ListEntityRole, err error)
ListClosedListEntityRoles sends the list closed list entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id
func (client ModelClient) ListClosedListEntityRolesPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
ListClosedListEntityRolesPreparer prepares the ListClosedListEntityRoles request.
func (client ModelClient) ListClosedListEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)
ListClosedListEntityRolesResponder handles the response to the ListClosedListEntityRoles request. The method always closes the http.Response Body.
func (client ModelClient) ListClosedListEntityRolesSender(req *http.Request) (*http.Response, error)
ListClosedListEntityRolesSender sends the ListClosedListEntityRoles request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListClosedLists(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListClosedListEntityExtractor, err error)
ListClosedLists gets information about all the list entity models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client ModelClient) ListClosedListsPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListClosedListsPreparer prepares the ListClosedLists request.
func (client ModelClient) ListClosedListsResponder(resp *http.Response) (result ListClosedListEntityExtractor, err error)
ListClosedListsResponder handles the response to the ListClosedLists request. The method always closes the http.Response Body.
ListClosedListsSender sends the ListClosedLists request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListCompositeEntities(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListCompositeEntityExtractor, err error)
ListCompositeEntities gets information about all the composite entity models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client ModelClient) ListCompositeEntitiesPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListCompositeEntitiesPreparer prepares the ListCompositeEntities request.
func (client ModelClient) ListCompositeEntitiesResponder(resp *http.Response) (result ListCompositeEntityExtractor, err error)
ListCompositeEntitiesResponder handles the response to the ListCompositeEntities request. The method always closes the http.Response Body.
ListCompositeEntitiesSender sends the ListCompositeEntities request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListCompositeEntityRoles(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (result ListEntityRole, err error)
ListCompositeEntityRoles sends the list composite entity roles request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID.
func (client ModelClient) ListCompositeEntityRolesPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (*http.Request, error)
ListCompositeEntityRolesPreparer prepares the ListCompositeEntityRoles request.
func (client ModelClient) ListCompositeEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)
ListCompositeEntityRolesResponder handles the response to the ListCompositeEntityRoles request. The method always closes the http.Response Body.
func (client ModelClient) ListCompositeEntityRolesSender(req *http.Request) (*http.Response, error)
ListCompositeEntityRolesSender sends the ListCompositeEntityRoles request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltEntities(ctx context.Context, appID uuid.UUID, versionID string) (result ListEntityExtractor, err error)
ListCustomPrebuiltEntities gets all prebuilt entities used in a version of the application. Parameters: appID - the application ID. versionID - the version ID.
func (client ModelClient) ListCustomPrebuiltEntitiesPreparer(ctx context.Context, appID uuid.UUID, versionID string) (*http.Request, error)
ListCustomPrebuiltEntitiesPreparer prepares the ListCustomPrebuiltEntities request.
func (client ModelClient) ListCustomPrebuiltEntitiesResponder(resp *http.Response) (result ListEntityExtractor, err error)
ListCustomPrebuiltEntitiesResponder handles the response to the ListCustomPrebuiltEntities request. The method always closes the http.Response Body.
func (client ModelClient) ListCustomPrebuiltEntitiesSender(req *http.Request) (*http.Response, error)
ListCustomPrebuiltEntitiesSender sends the ListCustomPrebuiltEntities request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltEntityRoles(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result ListEntityRole, err error)
ListCustomPrebuiltEntityRoles sends the list custom prebuilt entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id
func (client ModelClient) ListCustomPrebuiltEntityRolesPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
ListCustomPrebuiltEntityRolesPreparer prepares the ListCustomPrebuiltEntityRoles request.
func (client ModelClient) ListCustomPrebuiltEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)
ListCustomPrebuiltEntityRolesResponder handles the response to the ListCustomPrebuiltEntityRoles request. The method always closes the http.Response Body.
func (client ModelClient) ListCustomPrebuiltEntityRolesSender(req *http.Request) (*http.Response, error)
ListCustomPrebuiltEntityRolesSender sends the ListCustomPrebuiltEntityRoles request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltIntents(ctx context.Context, appID uuid.UUID, versionID string) (result ListIntentClassifier, err error)
ListCustomPrebuiltIntents gets information about customizable prebuilt intents added to a version of the application. Parameters: appID - the application ID. versionID - the version ID.
func (client ModelClient) ListCustomPrebuiltIntentsPreparer(ctx context.Context, appID uuid.UUID, versionID string) (*http.Request, error)
ListCustomPrebuiltIntentsPreparer prepares the ListCustomPrebuiltIntents request.
func (client ModelClient) ListCustomPrebuiltIntentsResponder(resp *http.Response) (result ListIntentClassifier, err error)
ListCustomPrebuiltIntentsResponder handles the response to the ListCustomPrebuiltIntents request. The method always closes the http.Response Body.
func (client ModelClient) ListCustomPrebuiltIntentsSender(req *http.Request) (*http.Response, error)
ListCustomPrebuiltIntentsSender sends the ListCustomPrebuiltIntents request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltModels(ctx context.Context, appID uuid.UUID, versionID string) (result ListCustomPrebuiltModel, err error)
ListCustomPrebuiltModels gets all prebuilt intent and entity model information used in a version of this application. Parameters: appID - the application ID. versionID - the version ID.
func (client ModelClient) ListCustomPrebuiltModelsPreparer(ctx context.Context, appID uuid.UUID, versionID string) (*http.Request, error)
ListCustomPrebuiltModelsPreparer prepares the ListCustomPrebuiltModels request.
func (client ModelClient) ListCustomPrebuiltModelsResponder(resp *http.Response) (result ListCustomPrebuiltModel, err error)
ListCustomPrebuiltModelsResponder handles the response to the ListCustomPrebuiltModels request. The method always closes the http.Response Body.
func (client ModelClient) ListCustomPrebuiltModelsSender(req *http.Request) (*http.Response, error)
ListCustomPrebuiltModelsSender sends the ListCustomPrebuiltModels request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListEntities(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListNDepthEntityExtractor, err error)
ListEntities gets information about all the simple entity models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client ModelClient) ListEntitiesPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListEntitiesPreparer prepares the ListEntities request.
func (client ModelClient) ListEntitiesResponder(resp *http.Response) (result ListNDepthEntityExtractor, err error)
ListEntitiesResponder handles the response to the ListEntities request. The method always closes the http.Response Body.
ListEntitiesSender sends the ListEntities request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListEntityRoles(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result ListEntityRole, err error)
ListEntityRoles sends the list entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id
func (client ModelClient) ListEntityRolesPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)
ListEntityRolesPreparer prepares the ListEntityRoles request.
func (client ModelClient) ListEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)
ListEntityRolesResponder handles the response to the ListEntityRoles request. The method always closes the http.Response Body.
ListEntityRolesSender sends the ListEntityRoles request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListEntitySuggestions(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, take *int32, enableNestedChildren *bool) (result ListEntitiesSuggestionExample, err error)
ListEntitySuggestions get suggested example utterances that would improve the accuracy of the entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the target entity extractor model to enhance. take - the number of entries to return. Maximum page size is 500. Default is 100. enableNestedChildren - toggles nested/flat format
func (client ModelClient) ListEntitySuggestionsPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, take *int32, enableNestedChildren *bool) (*http.Request, error)
ListEntitySuggestionsPreparer prepares the ListEntitySuggestions request.
func (client ModelClient) ListEntitySuggestionsResponder(resp *http.Response) (result ListEntitiesSuggestionExample, err error)
ListEntitySuggestionsResponder handles the response to the ListEntitySuggestions request. The method always closes the http.Response Body.
ListEntitySuggestionsSender sends the ListEntitySuggestions request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListHierarchicalEntities(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListHierarchicalEntityExtractor, err error)
ListHierarchicalEntities gets information about all the hierarchical entity models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client ModelClient) ListHierarchicalEntitiesPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListHierarchicalEntitiesPreparer prepares the ListHierarchicalEntities request.
func (client ModelClient) ListHierarchicalEntitiesResponder(resp *http.Response) (result ListHierarchicalEntityExtractor, err error)
ListHierarchicalEntitiesResponder handles the response to the ListHierarchicalEntities request. The method always closes the http.Response Body.
func (client ModelClient) ListHierarchicalEntitiesSender(req *http.Request) (*http.Response, error)
ListHierarchicalEntitiesSender sends the ListHierarchicalEntities request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListHierarchicalEntityRoles(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (result ListEntityRole, err error)
ListHierarchicalEntityRoles sends the list hierarchical entity roles request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID.
func (client ModelClient) ListHierarchicalEntityRolesPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (*http.Request, error)
ListHierarchicalEntityRolesPreparer prepares the ListHierarchicalEntityRoles request.
func (client ModelClient) ListHierarchicalEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)
ListHierarchicalEntityRolesResponder handles the response to the ListHierarchicalEntityRoles request. The method always closes the http.Response Body.
func (client ModelClient) ListHierarchicalEntityRolesSender(req *http.Request) (*http.Response, error)
ListHierarchicalEntityRolesSender sends the ListHierarchicalEntityRoles request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListIntentSuggestions(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, take *int32, enableNestedChildren *bool) (result ListIntentsSuggestionExample, err error)
ListIntentSuggestions suggests example utterances that would improve the accuracy of the intent model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. take - the number of entries to return. Maximum page size is 500. Default is 100. enableNestedChildren - toggles nested/flat format
func (client ModelClient) ListIntentSuggestionsPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, take *int32, enableNestedChildren *bool) (*http.Request, error)
ListIntentSuggestionsPreparer prepares the ListIntentSuggestions request.
func (client ModelClient) ListIntentSuggestionsResponder(resp *http.Response) (result ListIntentsSuggestionExample, err error)
ListIntentSuggestionsResponder handles the response to the ListIntentSuggestions request. The method always closes the http.Response Body.
ListIntentSuggestionsSender sends the ListIntentSuggestions request. The method will close the http.Response Body if it receives an error.
func (client ModelClient) ListIntents(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListIntentClassifier, err error)
ListIntents gets information about the intent models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.
func (client ModelClient) ListIntentsPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)
ListIntentsPreparer prepares the ListIntents request.
func (client ModelClient) ListIntentsResponder(resp *http.Response) (result ListIntentClassifier, err error)
ListIntentsResponder handles the response to the ListIntents request. The method always closes the http.Response Body.
ListIntentsSender sends the ListIntents request. The method will close the http.Response Body if it receives an error.