...

Package ailanguage

import "github.com/oracle/oci-go-sdk/ailanguage"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetBatchDetectLanguageSentimentsLevelEnumStringValues() []string
func GetClassificationTypeClassificationModeEnumStringValues() []string
func GetDatasetDetailsDatasetTypeEnumStringValues() []string
func GetDetectLanguageEntitiesModelVersionEnumStringValues() []string
func GetEndpointLifecycleStateEnumStringValues() []string
func GetListEndpointsSortByEnumStringValues() []string
func GetListEndpointsSortOrderEnumStringValues() []string
func GetListModelsSortByEnumStringValues() []string
func GetListModelsSortOrderEnumStringValues() []string
func GetListProjectsSortByEnumStringValues() []string
func GetListProjectsSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetLocationDetailsLocationTypeEnumStringValues() []string
func GetModelDetailsModelTypeEnumStringValues() []string
func GetModelLifecycleStateEnumStringValues() []string
func GetNerModelVersionEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetPiiEntityMaskingModeEnumStringValues() []string
func GetProjectLifecycleStateEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetTestStrategyStrategyTypeEnumStringValues() []string
type AIServiceLanguageClient
    func NewAIServiceLanguageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AIServiceLanguageClient, err error)
    func NewAIServiceLanguageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AIServiceLanguageClient, err error)
    func (client AIServiceLanguageClient) BatchDetectDominantLanguage(ctx context.Context, request BatchDetectDominantLanguageRequest) (response BatchDetectDominantLanguageResponse, err error)
    func (client AIServiceLanguageClient) BatchDetectLanguageEntities(ctx context.Context, request BatchDetectLanguageEntitiesRequest) (response BatchDetectLanguageEntitiesResponse, err error)
    func (client AIServiceLanguageClient) BatchDetectLanguageKeyPhrases(ctx context.Context, request BatchDetectLanguageKeyPhrasesRequest) (response BatchDetectLanguageKeyPhrasesResponse, err error)
    func (client AIServiceLanguageClient) BatchDetectLanguagePiiEntities(ctx context.Context, request BatchDetectLanguagePiiEntitiesRequest) (response BatchDetectLanguagePiiEntitiesResponse, err error)
    func (client AIServiceLanguageClient) BatchDetectLanguageSentiments(ctx context.Context, request BatchDetectLanguageSentimentsRequest) (response BatchDetectLanguageSentimentsResponse, err error)
    func (client AIServiceLanguageClient) BatchDetectLanguageTextClassification(ctx context.Context, request BatchDetectLanguageTextClassificationRequest) (response BatchDetectLanguageTextClassificationResponse, err error)
    func (client AIServiceLanguageClient) BatchLanguageTranslation(ctx context.Context, request BatchLanguageTranslationRequest) (response BatchLanguageTranslationResponse, err error)
    func (client AIServiceLanguageClient) ChangeEndpointCompartment(ctx context.Context, request ChangeEndpointCompartmentRequest) (response ChangeEndpointCompartmentResponse, err error)
    func (client AIServiceLanguageClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
    func (client AIServiceLanguageClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
    func (client *AIServiceLanguageClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client AIServiceLanguageClient) CreateEndpoint(ctx context.Context, request CreateEndpointRequest) (response CreateEndpointResponse, err error)
    func (client AIServiceLanguageClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
    func (client AIServiceLanguageClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
    func (client AIServiceLanguageClient) DeleteEndpoint(ctx context.Context, request DeleteEndpointRequest) (response DeleteEndpointResponse, err error)
    func (client AIServiceLanguageClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
    func (client AIServiceLanguageClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
    func (client AIServiceLanguageClient) DetectDominantLanguage(ctx context.Context, request DetectDominantLanguageRequest) (response DetectDominantLanguageResponse, err error)
    func (client AIServiceLanguageClient) DetectLanguageEntities(ctx context.Context, request DetectLanguageEntitiesRequest) (response DetectLanguageEntitiesResponse, err error)
    func (client AIServiceLanguageClient) DetectLanguageKeyPhrases(ctx context.Context, request DetectLanguageKeyPhrasesRequest) (response DetectLanguageKeyPhrasesResponse, err error)
    func (client AIServiceLanguageClient) DetectLanguageSentiments(ctx context.Context, request DetectLanguageSentimentsRequest) (response DetectLanguageSentimentsResponse, err error)
    func (client AIServiceLanguageClient) DetectLanguageTextClassification(ctx context.Context, request DetectLanguageTextClassificationRequest) (response DetectLanguageTextClassificationResponse, err error)
    func (client AIServiceLanguageClient) GetEndpoint(ctx context.Context, request GetEndpointRequest) (response GetEndpointResponse, err error)
    func (client AIServiceLanguageClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
    func (client AIServiceLanguageClient) GetModelType(ctx context.Context, request GetModelTypeRequest) (response GetModelTypeResponse, err error)
    func (client AIServiceLanguageClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
    func (client AIServiceLanguageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client AIServiceLanguageClient) ListEndpoints(ctx context.Context, request ListEndpointsRequest) (response ListEndpointsResponse, err error)
    func (client AIServiceLanguageClient) ListEvaluationResults(ctx context.Context, request ListEvaluationResultsRequest) (response ListEvaluationResultsResponse, err error)
    func (client AIServiceLanguageClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
    func (client AIServiceLanguageClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
    func (client AIServiceLanguageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client AIServiceLanguageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client AIServiceLanguageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *AIServiceLanguageClient) SetRegion(region string)
    func (client AIServiceLanguageClient) UpdateEndpoint(ctx context.Context, request UpdateEndpointRequest) (response UpdateEndpointResponse, err error)
    func (client AIServiceLanguageClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
    func (client AIServiceLanguageClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type BatchDetectDominantLanguageDetails
    func (m BatchDetectDominantLanguageDetails) String() string
    func (m BatchDetectDominantLanguageDetails) ValidateEnumValue() (bool, error)
type BatchDetectDominantLanguageRequest
    func (request BatchDetectDominantLanguageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchDetectDominantLanguageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchDetectDominantLanguageRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchDetectDominantLanguageRequest) String() string
    func (request BatchDetectDominantLanguageRequest) ValidateEnumValue() (bool, error)
type BatchDetectDominantLanguageResponse
    func (response BatchDetectDominantLanguageResponse) HTTPResponse() *http.Response
    func (response BatchDetectDominantLanguageResponse) String() string
type BatchDetectDominantLanguageResult
    func (m BatchDetectDominantLanguageResult) String() string
    func (m BatchDetectDominantLanguageResult) ValidateEnumValue() (bool, error)
type BatchDetectLanguageEntitiesDetails
    func (m BatchDetectLanguageEntitiesDetails) String() string
    func (m BatchDetectLanguageEntitiesDetails) ValidateEnumValue() (bool, error)
type BatchDetectLanguageEntitiesRequest
    func (request BatchDetectLanguageEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchDetectLanguageEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchDetectLanguageEntitiesRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchDetectLanguageEntitiesRequest) String() string
    func (request BatchDetectLanguageEntitiesRequest) ValidateEnumValue() (bool, error)
type BatchDetectLanguageEntitiesResponse
    func (response BatchDetectLanguageEntitiesResponse) HTTPResponse() *http.Response
    func (response BatchDetectLanguageEntitiesResponse) String() string
type BatchDetectLanguageEntitiesResult
    func (m BatchDetectLanguageEntitiesResult) String() string
    func (m BatchDetectLanguageEntitiesResult) ValidateEnumValue() (bool, error)
type BatchDetectLanguageKeyPhrasesDetails
    func (m BatchDetectLanguageKeyPhrasesDetails) String() string
    func (m BatchDetectLanguageKeyPhrasesDetails) ValidateEnumValue() (bool, error)
type BatchDetectLanguageKeyPhrasesRequest
    func (request BatchDetectLanguageKeyPhrasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchDetectLanguageKeyPhrasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchDetectLanguageKeyPhrasesRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchDetectLanguageKeyPhrasesRequest) String() string
    func (request BatchDetectLanguageKeyPhrasesRequest) ValidateEnumValue() (bool, error)
type BatchDetectLanguageKeyPhrasesResponse
    func (response BatchDetectLanguageKeyPhrasesResponse) HTTPResponse() *http.Response
    func (response BatchDetectLanguageKeyPhrasesResponse) String() string
type BatchDetectLanguageKeyPhrasesResult
    func (m BatchDetectLanguageKeyPhrasesResult) String() string
    func (m BatchDetectLanguageKeyPhrasesResult) ValidateEnumValue() (bool, error)
type BatchDetectLanguagePiiEntitiesDetails
    func (m BatchDetectLanguagePiiEntitiesDetails) String() string
    func (m *BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON(data []byte) (e error)
    func (m BatchDetectLanguagePiiEntitiesDetails) ValidateEnumValue() (bool, error)
type BatchDetectLanguagePiiEntitiesRequest
    func (request BatchDetectLanguagePiiEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchDetectLanguagePiiEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchDetectLanguagePiiEntitiesRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchDetectLanguagePiiEntitiesRequest) String() string
    func (request BatchDetectLanguagePiiEntitiesRequest) ValidateEnumValue() (bool, error)
type BatchDetectLanguagePiiEntitiesResponse
    func (response BatchDetectLanguagePiiEntitiesResponse) HTTPResponse() *http.Response
    func (response BatchDetectLanguagePiiEntitiesResponse) String() string
type BatchDetectLanguagePiiEntitiesResult
    func (m BatchDetectLanguagePiiEntitiesResult) String() string
    func (m BatchDetectLanguagePiiEntitiesResult) ValidateEnumValue() (bool, error)
type BatchDetectLanguageSentimentsDetails
    func (m BatchDetectLanguageSentimentsDetails) String() string
    func (m BatchDetectLanguageSentimentsDetails) ValidateEnumValue() (bool, error)
type BatchDetectLanguageSentimentsLevelEnum
    func GetBatchDetectLanguageSentimentsLevelEnumValues() []BatchDetectLanguageSentimentsLevelEnum
    func GetMappingBatchDetectLanguageSentimentsLevelEnum(val string) (BatchDetectLanguageSentimentsLevelEnum, bool)
type BatchDetectLanguageSentimentsRequest
    func (request BatchDetectLanguageSentimentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchDetectLanguageSentimentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchDetectLanguageSentimentsRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchDetectLanguageSentimentsRequest) String() string
    func (request BatchDetectLanguageSentimentsRequest) ValidateEnumValue() (bool, error)
type BatchDetectLanguageSentimentsResponse
    func (response BatchDetectLanguageSentimentsResponse) HTTPResponse() *http.Response
    func (response BatchDetectLanguageSentimentsResponse) String() string
type BatchDetectLanguageSentimentsResult
    func (m BatchDetectLanguageSentimentsResult) String() string
    func (m BatchDetectLanguageSentimentsResult) ValidateEnumValue() (bool, error)
type BatchDetectLanguageTextClassificationDetails
    func (m BatchDetectLanguageTextClassificationDetails) String() string
    func (m BatchDetectLanguageTextClassificationDetails) ValidateEnumValue() (bool, error)
type BatchDetectLanguageTextClassificationRequest
    func (request BatchDetectLanguageTextClassificationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchDetectLanguageTextClassificationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchDetectLanguageTextClassificationRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchDetectLanguageTextClassificationRequest) String() string
    func (request BatchDetectLanguageTextClassificationRequest) ValidateEnumValue() (bool, error)
type BatchDetectLanguageTextClassificationResponse
    func (response BatchDetectLanguageTextClassificationResponse) HTTPResponse() *http.Response
    func (response BatchDetectLanguageTextClassificationResponse) String() string
type BatchDetectLanguageTextClassificationResult
    func (m BatchDetectLanguageTextClassificationResult) String() string
    func (m BatchDetectLanguageTextClassificationResult) ValidateEnumValue() (bool, error)
type BatchLanguageTranslationDetails
    func (m BatchLanguageTranslationDetails) String() string
    func (m BatchLanguageTranslationDetails) ValidateEnumValue() (bool, error)
type BatchLanguageTranslationRequest
    func (request BatchLanguageTranslationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BatchLanguageTranslationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BatchLanguageTranslationRequest) RetryPolicy() *common.RetryPolicy
    func (request BatchLanguageTranslationRequest) String() string
    func (request BatchLanguageTranslationRequest) ValidateEnumValue() (bool, error)
type BatchLanguageTranslationResponse
    func (response BatchLanguageTranslationResponse) HTTPResponse() *http.Response
    func (response BatchLanguageTranslationResponse) String() string
type BatchLanguageTranslationResult
    func (m BatchLanguageTranslationResult) String() string
    func (m BatchLanguageTranslationResult) ValidateEnumValue() (bool, error)
type Capabilities
    func (m Capabilities) String() string
    func (m Capabilities) ValidateEnumValue() (bool, error)
type Capability
    func (m Capability) String() string
    func (m Capability) ValidateEnumValue() (bool, error)
type ChangeEndpointCompartmentDetails
    func (m ChangeEndpointCompartmentDetails) String() string
    func (m ChangeEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeEndpointCompartmentRequest
    func (request ChangeEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeEndpointCompartmentRequest) String() string
    func (request ChangeEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeEndpointCompartmentResponse
    func (response ChangeEndpointCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeEndpointCompartmentResponse) String() string
type ChangeModelCompartmentDetails
    func (m ChangeModelCompartmentDetails) String() string
    func (m ChangeModelCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeModelCompartmentRequest
    func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeModelCompartmentRequest) String() string
    func (request ChangeModelCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeModelCompartmentResponse
    func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeModelCompartmentResponse) String() string
type ChangeProjectCompartmentDetails
    func (m ChangeProjectCompartmentDetails) String() string
    func (m ChangeProjectCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeProjectCompartmentRequest
    func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeProjectCompartmentRequest) String() string
    func (request ChangeProjectCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeProjectCompartmentResponse
    func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeProjectCompartmentResponse) String() string
type ClassMetrics
    func (m ClassMetrics) String() string
    func (m ClassMetrics) ValidateEnumValue() (bool, error)
type ClassificationMultiClassModeDetails
    func (m ClassificationMultiClassModeDetails) MarshalJSON() (buff []byte, e error)
    func (m ClassificationMultiClassModeDetails) String() string
    func (m ClassificationMultiClassModeDetails) ValidateEnumValue() (bool, error)
type ClassificationMultiLabelModeDetails
    func (m ClassificationMultiLabelModeDetails) MarshalJSON() (buff []byte, e error)
    func (m ClassificationMultiLabelModeDetails) String() string
    func (m ClassificationMultiLabelModeDetails) ValidateEnumValue() (bool, error)
type ClassificationType
type ClassificationTypeClassificationModeEnum
    func GetClassificationTypeClassificationModeEnumValues() []ClassificationTypeClassificationModeEnum
    func GetMappingClassificationTypeClassificationModeEnum(val string) (ClassificationTypeClassificationModeEnum, bool)
type ConfusionMatrixDetails
    func (m ConfusionMatrixDetails) String() string
    func (m ConfusionMatrixDetails) ValidateEnumValue() (bool, error)
type CreateEndpointDetails
    func (m CreateEndpointDetails) String() string
    func (m CreateEndpointDetails) ValidateEnumValue() (bool, error)
type CreateEndpointRequest
    func (request CreateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateEndpointRequest) String() string
    func (request CreateEndpointRequest) ValidateEnumValue() (bool, error)
type CreateEndpointResponse
    func (response CreateEndpointResponse) HTTPResponse() *http.Response
    func (response CreateEndpointResponse) String() string
type CreateModelDetails
    func (m CreateModelDetails) String() string
    func (m *CreateModelDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateModelDetails) ValidateEnumValue() (bool, error)
type CreateModelRequest
    func (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateModelRequest) String() string
    func (request CreateModelRequest) ValidateEnumValue() (bool, error)
type CreateModelResponse
    func (response CreateModelResponse) HTTPResponse() *http.Response
    func (response CreateModelResponse) String() string
type CreateProjectDetails
    func (m CreateProjectDetails) String() string
    func (m CreateProjectDetails) ValidateEnumValue() (bool, error)
type CreateProjectRequest
    func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateProjectRequest) String() string
    func (request CreateProjectRequest) ValidateEnumValue() (bool, error)
type CreateProjectResponse
    func (response CreateProjectResponse) HTTPResponse() *http.Response
    func (response CreateProjectResponse) String() string
type DataScienceLabelingDataset
    func (m DataScienceLabelingDataset) MarshalJSON() (buff []byte, e error)
    func (m DataScienceLabelingDataset) String() string
    func (m DataScienceLabelingDataset) ValidateEnumValue() (bool, error)
type DatasetDetails
type DatasetDetailsDatasetTypeEnum
    func GetDatasetDetailsDatasetTypeEnumValues() []DatasetDetailsDatasetTypeEnum
    func GetMappingDatasetDetailsDatasetTypeEnum(val string) (DatasetDetailsDatasetTypeEnum, bool)
type DeleteEndpointRequest
    func (request DeleteEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteEndpointRequest) String() string
    func (request DeleteEndpointRequest) ValidateEnumValue() (bool, error)
type DeleteEndpointResponse
    func (response DeleteEndpointResponse) HTTPResponse() *http.Response
    func (response DeleteEndpointResponse) String() string
type DeleteModelRequest
    func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteModelRequest) String() string
    func (request DeleteModelRequest) ValidateEnumValue() (bool, error)
type DeleteModelResponse
    func (response DeleteModelResponse) HTTPResponse() *http.Response
    func (response DeleteModelResponse) String() string
type DeleteProjectRequest
    func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteProjectRequest) String() string
    func (request DeleteProjectRequest) ValidateEnumValue() (bool, error)
type DeleteProjectResponse
    func (response DeleteProjectResponse) HTTPResponse() *http.Response
    func (response DeleteProjectResponse) String() string
type DetectDominantLanguageDetails
    func (m DetectDominantLanguageDetails) String() string
    func (m DetectDominantLanguageDetails) ValidateEnumValue() (bool, error)
type DetectDominantLanguageRequest
    func (request DetectDominantLanguageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DetectDominantLanguageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DetectDominantLanguageRequest) RetryPolicy() *common.RetryPolicy
    func (request DetectDominantLanguageRequest) String() string
    func (request DetectDominantLanguageRequest) ValidateEnumValue() (bool, error)
type DetectDominantLanguageResponse
    func (response DetectDominantLanguageResponse) HTTPResponse() *http.Response
    func (response DetectDominantLanguageResponse) String() string
type DetectDominantLanguageResult
    func (m DetectDominantLanguageResult) String() string
    func (m DetectDominantLanguageResult) ValidateEnumValue() (bool, error)
type DetectLanguageEntitiesDetails
    func (m DetectLanguageEntitiesDetails) String() string
    func (m DetectLanguageEntitiesDetails) ValidateEnumValue() (bool, error)
type DetectLanguageEntitiesModelVersionEnum
    func GetDetectLanguageEntitiesModelVersionEnumValues() []DetectLanguageEntitiesModelVersionEnum
    func GetMappingDetectLanguageEntitiesModelVersionEnum(val string) (DetectLanguageEntitiesModelVersionEnum, bool)
type DetectLanguageEntitiesRequest
    func (request DetectLanguageEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DetectLanguageEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DetectLanguageEntitiesRequest) RetryPolicy() *common.RetryPolicy
    func (request DetectLanguageEntitiesRequest) String() string
    func (request DetectLanguageEntitiesRequest) ValidateEnumValue() (bool, error)
type DetectLanguageEntitiesResponse
    func (response DetectLanguageEntitiesResponse) HTTPResponse() *http.Response
    func (response DetectLanguageEntitiesResponse) String() string
type DetectLanguageEntitiesResult
    func (m DetectLanguageEntitiesResult) String() string
    func (m DetectLanguageEntitiesResult) ValidateEnumValue() (bool, error)
type DetectLanguageKeyPhrasesDetails
    func (m DetectLanguageKeyPhrasesDetails) String() string
    func (m DetectLanguageKeyPhrasesDetails) ValidateEnumValue() (bool, error)
type DetectLanguageKeyPhrasesRequest
    func (request DetectLanguageKeyPhrasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DetectLanguageKeyPhrasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DetectLanguageKeyPhrasesRequest) RetryPolicy() *common.RetryPolicy
    func (request DetectLanguageKeyPhrasesRequest) String() string
    func (request DetectLanguageKeyPhrasesRequest) ValidateEnumValue() (bool, error)
type DetectLanguageKeyPhrasesResponse
    func (response DetectLanguageKeyPhrasesResponse) HTTPResponse() *http.Response
    func (response DetectLanguageKeyPhrasesResponse) String() string
type DetectLanguageKeyPhrasesResult
    func (m DetectLanguageKeyPhrasesResult) String() string
    func (m DetectLanguageKeyPhrasesResult) ValidateEnumValue() (bool, error)
type DetectLanguageSentimentsDetails
    func (m DetectLanguageSentimentsDetails) String() string
    func (m DetectLanguageSentimentsDetails) ValidateEnumValue() (bool, error)
type DetectLanguageSentimentsRequest
    func (request DetectLanguageSentimentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DetectLanguageSentimentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DetectLanguageSentimentsRequest) RetryPolicy() *common.RetryPolicy
    func (request DetectLanguageSentimentsRequest) String() string
    func (request DetectLanguageSentimentsRequest) ValidateEnumValue() (bool, error)
type DetectLanguageSentimentsResponse
    func (response DetectLanguageSentimentsResponse) HTTPResponse() *http.Response
    func (response DetectLanguageSentimentsResponse) String() string
type DetectLanguageSentimentsResult
    func (m DetectLanguageSentimentsResult) String() string
    func (m DetectLanguageSentimentsResult) ValidateEnumValue() (bool, error)
type DetectLanguageTextClassificationDetails
    func (m DetectLanguageTextClassificationDetails) String() string
    func (m DetectLanguageTextClassificationDetails) ValidateEnumValue() (bool, error)
type DetectLanguageTextClassificationRequest
    func (request DetectLanguageTextClassificationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DetectLanguageTextClassificationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DetectLanguageTextClassificationRequest) RetryPolicy() *common.RetryPolicy
    func (request DetectLanguageTextClassificationRequest) String() string
    func (request DetectLanguageTextClassificationRequest) ValidateEnumValue() (bool, error)
type DetectLanguageTextClassificationResponse
    func (response DetectLanguageTextClassificationResponse) HTTPResponse() *http.Response
    func (response DetectLanguageTextClassificationResponse) String() string
type DetectLanguageTextClassificationResult
    func (m DetectLanguageTextClassificationResult) String() string
    func (m DetectLanguageTextClassificationResult) ValidateEnumValue() (bool, error)
type DetectedLanguage
    func (m DetectedLanguage) String() string
    func (m DetectedLanguage) ValidateEnumValue() (bool, error)
type DocumentError
    func (m DocumentError) String() string
    func (m DocumentError) ValidateEnumValue() (bool, error)
type DominantLanguageDocument
    func (m DominantLanguageDocument) String() string
    func (m DominantLanguageDocument) ValidateEnumValue() (bool, error)
type DominantLanguageDocumentResult
    func (m DominantLanguageDocumentResult) String() string
    func (m DominantLanguageDocumentResult) ValidateEnumValue() (bool, error)
type Endpoint
    func (m Endpoint) String() string
    func (m Endpoint) ValidateEnumValue() (bool, error)
type EndpointCollection
    func (m EndpointCollection) String() string
    func (m EndpointCollection) ValidateEnumValue() (bool, error)
type EndpointLifecycleStateEnum
    func GetEndpointLifecycleStateEnumValues() []EndpointLifecycleStateEnum
    func GetMappingEndpointLifecycleStateEnum(val string) (EndpointLifecycleStateEnum, bool)
type EndpointSummary
    func (m EndpointSummary) String() string
    func (m EndpointSummary) ValidateEnumValue() (bool, error)
type Entity
    func (m Entity) String() string
    func (m Entity) ValidateEnumValue() (bool, error)
type EntityDocumentResult
    func (m EntityDocumentResult) String() string
    func (m EntityDocumentResult) ValidateEnumValue() (bool, error)
type EntityLabelErrorAnalysis
    func (m EntityLabelErrorAnalysis) String() string
    func (m EntityLabelErrorAnalysis) ValidateEnumValue() (bool, error)
type EntityMetrics
    func (m EntityMetrics) String() string
    func (m EntityMetrics) ValidateEnumValue() (bool, error)
type ErrorDetails
    func (m ErrorDetails) String() string
    func (m ErrorDetails) ValidateEnumValue() (bool, error)
type EvaluationResultCollection
    func (m EvaluationResultCollection) String() string
    func (m *EvaluationResultCollection) UnmarshalJSON(data []byte) (e error)
    func (m EvaluationResultCollection) ValidateEnumValue() (bool, error)
type EvaluationResultSummary
type EvaluationResults
type GetEndpointRequest
    func (request GetEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request GetEndpointRequest) String() string
    func (request GetEndpointRequest) ValidateEnumValue() (bool, error)
type GetEndpointResponse
    func (response GetEndpointResponse) HTTPResponse() *http.Response
    func (response GetEndpointResponse) String() string
type GetModelRequest
    func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
    func (request GetModelRequest) String() string
    func (request GetModelRequest) ValidateEnumValue() (bool, error)
type GetModelResponse
    func (response GetModelResponse) HTTPResponse() *http.Response
    func (response GetModelResponse) String() string
type GetModelTypeRequest
    func (request GetModelTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetModelTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetModelTypeRequest) RetryPolicy() *common.RetryPolicy
    func (request GetModelTypeRequest) String() string
    func (request GetModelTypeRequest) ValidateEnumValue() (bool, error)
type GetModelTypeResponse
    func (response GetModelTypeResponse) HTTPResponse() *http.Response
    func (response GetModelTypeResponse) String() string
type GetProjectRequest
    func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
    func (request GetProjectRequest) String() string
    func (request GetProjectRequest) ValidateEnumValue() (bool, error)
type GetProjectResponse
    func (response GetProjectResponse) HTTPResponse() *http.Response
    func (response GetProjectResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type HierarchicalEntity
    func (m HierarchicalEntity) String() string
    func (m HierarchicalEntity) ValidateEnumValue() (bool, error)
type KeyPhrase
    func (m KeyPhrase) String() string
    func (m KeyPhrase) ValidateEnumValue() (bool, error)
type KeyPhraseDocumentResult
    func (m KeyPhraseDocumentResult) String() string
    func (m KeyPhraseDocumentResult) ValidateEnumValue() (bool, error)
type ListEndpointsRequest
    func (request ListEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListEndpointsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListEndpointsRequest) String() string
    func (request ListEndpointsRequest) ValidateEnumValue() (bool, error)
type ListEndpointsResponse
    func (response ListEndpointsResponse) HTTPResponse() *http.Response
    func (response ListEndpointsResponse) String() string
type ListEndpointsSortByEnum
    func GetListEndpointsSortByEnumValues() []ListEndpointsSortByEnum
    func GetMappingListEndpointsSortByEnum(val string) (ListEndpointsSortByEnum, bool)
type ListEndpointsSortOrderEnum
    func GetListEndpointsSortOrderEnumValues() []ListEndpointsSortOrderEnum
    func GetMappingListEndpointsSortOrderEnum(val string) (ListEndpointsSortOrderEnum, bool)
type ListEvaluationResultsRequest
    func (request ListEvaluationResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListEvaluationResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListEvaluationResultsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListEvaluationResultsRequest) String() string
    func (request ListEvaluationResultsRequest) ValidateEnumValue() (bool, error)
type ListEvaluationResultsResponse
    func (response ListEvaluationResultsResponse) HTTPResponse() *http.Response
    func (response ListEvaluationResultsResponse) String() string
type ListModelsRequest
    func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListModelsRequest) String() string
    func (request ListModelsRequest) ValidateEnumValue() (bool, error)
type ListModelsResponse
    func (response ListModelsResponse) HTTPResponse() *http.Response
    func (response ListModelsResponse) String() string
type ListModelsSortByEnum
    func GetListModelsSortByEnumValues() []ListModelsSortByEnum
    func GetMappingListModelsSortByEnum(val string) (ListModelsSortByEnum, bool)
type ListModelsSortOrderEnum
    func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
    func GetMappingListModelsSortOrderEnum(val string) (ListModelsSortOrderEnum, bool)
type ListProjectsRequest
    func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProjectsRequest) String() string
    func (request ListProjectsRequest) ValidateEnumValue() (bool, error)
type ListProjectsResponse
    func (response ListProjectsResponse) HTTPResponse() *http.Response
    func (response ListProjectsResponse) String() string
type ListProjectsSortByEnum
    func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
    func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)
type ListProjectsSortOrderEnum
    func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
    func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type LocationDetails
type LocationDetailsLocationTypeEnum
    func GetLocationDetailsLocationTypeEnumValues() []LocationDetailsLocationTypeEnum
    func GetMappingLocationDetailsLocationTypeEnum(val string) (LocationDetailsLocationTypeEnum, bool)
type Model
    func (m Model) String() string
    func (m *Model) UnmarshalJSON(data []byte) (e error)
    func (m Model) ValidateEnumValue() (bool, error)
type ModelCollection
    func (m ModelCollection) String() string
    func (m ModelCollection) ValidateEnumValue() (bool, error)
type ModelDetails
type ModelDetailsModelTypeEnum
    func GetMappingModelDetailsModelTypeEnum(val string) (ModelDetailsModelTypeEnum, bool)
    func GetModelDetailsModelTypeEnumValues() []ModelDetailsModelTypeEnum
type ModelLifecycleStateEnum
    func GetMappingModelLifecycleStateEnum(val string) (ModelLifecycleStateEnum, bool)
    func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
type ModelSummary
    func (m ModelSummary) String() string
    func (m *ModelSummary) UnmarshalJSON(data []byte) (e error)
    func (m ModelSummary) ValidateEnumValue() (bool, error)
type ModelTypeInfo
    func (m ModelTypeInfo) String() string
    func (m ModelTypeInfo) ValidateEnumValue() (bool, error)
type NamedEntityRecognitionEvaluationResult
    func (m NamedEntityRecognitionEvaluationResult) GetDefinedTags() map[string]map[string]interface{}
    func (m NamedEntityRecognitionEvaluationResult) GetFreeformTags() map[string]string
    func (m NamedEntityRecognitionEvaluationResult) MarshalJSON() (buff []byte, e error)
    func (m NamedEntityRecognitionEvaluationResult) String() string
    func (m NamedEntityRecognitionEvaluationResult) ValidateEnumValue() (bool, error)
type NamedEntityRecognitionEvaluationResults
    func (m NamedEntityRecognitionEvaluationResults) MarshalJSON() (buff []byte, e error)
    func (m NamedEntityRecognitionEvaluationResults) String() string
    func (m NamedEntityRecognitionEvaluationResults) ValidateEnumValue() (bool, error)
type NamedEntityRecognitionModelDetails
    func (m NamedEntityRecognitionModelDetails) GetLanguageCode() *string
    func (m NamedEntityRecognitionModelDetails) MarshalJSON() (buff []byte, e error)
    func (m NamedEntityRecognitionModelDetails) String() string
    func (m NamedEntityRecognitionModelDetails) ValidateEnumValue() (bool, error)
type NamedEntityRecognitionModelMetrics
    func (m NamedEntityRecognitionModelMetrics) String() string
    func (m NamedEntityRecognitionModelMetrics) ValidateEnumValue() (bool, error)
type NerModelVersionEnum
    func GetMappingNerModelVersionEnum(val string) (NerModelVersionEnum, bool)
    func GetNerModelVersionEnumValues() []NerModelVersionEnum
type ObjectListDataset
    func (m ObjectListDataset) MarshalJSON() (buff []byte, e error)
    func (m ObjectListDataset) String() string
    func (m ObjectListDataset) ValidateEnumValue() (bool, error)
type ObjectStorageDataset
    func (m ObjectStorageDataset) MarshalJSON() (buff []byte, e error)
    func (m ObjectStorageDataset) String() string
    func (m *ObjectStorageDataset) UnmarshalJSON(data []byte) (e error)
    func (m ObjectStorageDataset) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PiiEntity
    func (m PiiEntity) String() string
    func (m PiiEntity) ValidateEnumValue() (bool, error)
type PiiEntityDocumentResult
    func (m PiiEntityDocumentResult) String() string
    func (m PiiEntityDocumentResult) ValidateEnumValue() (bool, error)
type PiiEntityMask
    func (m PiiEntityMask) MarshalJSON() (buff []byte, e error)
    func (m PiiEntityMask) String() string
    func (m PiiEntityMask) ValidateEnumValue() (bool, error)
type PiiEntityMasking
type PiiEntityMaskingModeEnum
    func GetMappingPiiEntityMaskingModeEnum(val string) (PiiEntityMaskingModeEnum, bool)
    func GetPiiEntityMaskingModeEnumValues() []PiiEntityMaskingModeEnum
type PiiEntityRemove
    func (m PiiEntityRemove) MarshalJSON() (buff []byte, e error)
    func (m PiiEntityRemove) String() string
    func (m PiiEntityRemove) ValidateEnumValue() (bool, error)
type PiiEntityReplace
    func (m PiiEntityReplace) MarshalJSON() (buff []byte, e error)
    func (m PiiEntityReplace) String() string
    func (m PiiEntityReplace) ValidateEnumValue() (bool, error)
type PreDeployedLanguageModels
    func (m PreDeployedLanguageModels) String() string
    func (m PreDeployedLanguageModels) ValidateEnumValue() (bool, error)
type PreTrainedHealthNluModelDetails
    func (m PreTrainedHealthNluModelDetails) GetLanguageCode() *string
    func (m PreTrainedHealthNluModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedHealthNluModelDetails) String() string
    func (m PreTrainedHealthNluModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedKeyPhraseExtractionModelDetails
    func (m PreTrainedKeyPhraseExtractionModelDetails) GetLanguageCode() *string
    func (m PreTrainedKeyPhraseExtractionModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedKeyPhraseExtractionModelDetails) String() string
    func (m PreTrainedKeyPhraseExtractionModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedLanguageDetectionModelDetails
    func (m PreTrainedLanguageDetectionModelDetails) GetLanguageCode() *string
    func (m PreTrainedLanguageDetectionModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedLanguageDetectionModelDetails) String() string
    func (m PreTrainedLanguageDetectionModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedNamedEntityRecognitionModelDetails
    func (m PreTrainedNamedEntityRecognitionModelDetails) GetLanguageCode() *string
    func (m PreTrainedNamedEntityRecognitionModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedNamedEntityRecognitionModelDetails) String() string
    func (m PreTrainedNamedEntityRecognitionModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedPhiModelDetails
    func (m PreTrainedPhiModelDetails) GetLanguageCode() *string
    func (m PreTrainedPhiModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedPhiModelDetails) String() string
    func (m PreTrainedPhiModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedPiiModelDetails
    func (m PreTrainedPiiModelDetails) GetLanguageCode() *string
    func (m PreTrainedPiiModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedPiiModelDetails) String() string
    func (m PreTrainedPiiModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedSentimentAnalysisModelDetails
    func (m PreTrainedSentimentAnalysisModelDetails) GetLanguageCode() *string
    func (m PreTrainedSentimentAnalysisModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedSentimentAnalysisModelDetails) String() string
    func (m PreTrainedSentimentAnalysisModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedSummarization
    func (m PreTrainedSummarization) GetLanguageCode() *string
    func (m PreTrainedSummarization) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedSummarization) String() string
    func (m PreTrainedSummarization) ValidateEnumValue() (bool, error)
type PreTrainedTextClassificationModelDetails
    func (m PreTrainedTextClassificationModelDetails) GetLanguageCode() *string
    func (m PreTrainedTextClassificationModelDetails) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedTextClassificationModelDetails) String() string
    func (m PreTrainedTextClassificationModelDetails) ValidateEnumValue() (bool, error)
type PreTrainedUniversalModel
    func (m PreTrainedUniversalModel) GetLanguageCode() *string
    func (m PreTrainedUniversalModel) MarshalJSON() (buff []byte, e error)
    func (m PreTrainedUniversalModel) String() string
    func (m PreTrainedUniversalModel) ValidateEnumValue() (bool, error)
type Project
    func (m Project) String() string
    func (m Project) ValidateEnumValue() (bool, error)
type ProjectCollection
    func (m ProjectCollection) String() string
    func (m ProjectCollection) ValidateEnumValue() (bool, error)
type ProjectLifecycleStateEnum
    func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)
    func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
type ProjectSummary
    func (m ProjectSummary) String() string
    func (m ProjectSummary) ValidateEnumValue() (bool, error)
type SentimentAspect
    func (m SentimentAspect) String() string
    func (m SentimentAspect) ValidateEnumValue() (bool, error)
type SentimentDocumentResult
    func (m SentimentDocumentResult) String() string
    func (m SentimentDocumentResult) ValidateEnumValue() (bool, error)
type SentimentSentence
    func (m SentimentSentence) String() string
    func (m SentimentSentence) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type TestAndValidationDatasetStrategy
    func (m TestAndValidationDatasetStrategy) MarshalJSON() (buff []byte, e error)
    func (m TestAndValidationDatasetStrategy) String() string
    func (m *TestAndValidationDatasetStrategy) UnmarshalJSON(data []byte) (e error)
    func (m TestAndValidationDatasetStrategy) ValidateEnumValue() (bool, error)
type TestStrategy
type TestStrategyStrategyTypeEnum
    func GetMappingTestStrategyStrategyTypeEnum(val string) (TestStrategyStrategyTypeEnum, bool)
    func GetTestStrategyStrategyTypeEnumValues() []TestStrategyStrategyTypeEnum
type TextClassification
    func (m TextClassification) String() string
    func (m TextClassification) ValidateEnumValue() (bool, error)
type TextClassificationDocumentResult
    func (m TextClassificationDocumentResult) String() string
    func (m TextClassificationDocumentResult) ValidateEnumValue() (bool, error)
type TextClassificationEvaluationResults
    func (m TextClassificationEvaluationResults) MarshalJSON() (buff []byte, e error)
    func (m TextClassificationEvaluationResults) String() string
    func (m TextClassificationEvaluationResults) ValidateEnumValue() (bool, error)
type TextClassificationModelDetails
    func (m TextClassificationModelDetails) GetLanguageCode() *string
    func (m TextClassificationModelDetails) MarshalJSON() (buff []byte, e error)
    func (m TextClassificationModelDetails) String() string
    func (m *TextClassificationModelDetails) UnmarshalJSON(data []byte) (e error)
    func (m TextClassificationModelDetails) ValidateEnumValue() (bool, error)
type TextClassificationModelEvaluationResult
    func (m TextClassificationModelEvaluationResult) GetDefinedTags() map[string]map[string]interface{}
    func (m TextClassificationModelEvaluationResult) GetFreeformTags() map[string]string
    func (m TextClassificationModelEvaluationResult) MarshalJSON() (buff []byte, e error)
    func (m TextClassificationModelEvaluationResult) String() string
    func (m TextClassificationModelEvaluationResult) ValidateEnumValue() (bool, error)
type TextClassificationModelMetrics
    func (m TextClassificationModelMetrics) String() string
    func (m TextClassificationModelMetrics) ValidateEnumValue() (bool, error)
type TextDocument
    func (m TextDocument) String() string
    func (m TextDocument) ValidateEnumValue() (bool, error)
type TranslationDocumentResult
    func (m TranslationDocumentResult) String() string
    func (m TranslationDocumentResult) ValidateEnumValue() (bool, error)
type UpdateEndpointDetails
    func (m UpdateEndpointDetails) String() string
    func (m UpdateEndpointDetails) ValidateEnumValue() (bool, error)
type UpdateEndpointRequest
    func (request UpdateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateEndpointRequest) String() string
    func (request UpdateEndpointRequest) ValidateEnumValue() (bool, error)
type UpdateEndpointResponse
    func (response UpdateEndpointResponse) HTTPResponse() *http.Response
    func (response UpdateEndpointResponse) String() string
type UpdateModelDetails
    func (m UpdateModelDetails) String() string
    func (m UpdateModelDetails) ValidateEnumValue() (bool, error)
type UpdateModelRequest
    func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateModelRequest) String() string
    func (request UpdateModelRequest) ValidateEnumValue() (bool, error)
type UpdateModelResponse
    func (response UpdateModelResponse) HTTPResponse() *http.Response
    func (response UpdateModelResponse) String() string
type UpdateProjectDetails
    func (m UpdateProjectDetails) String() string
    func (m UpdateProjectDetails) ValidateEnumValue() (bool, error)
type UpdateProjectRequest
    func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateProjectRequest) String() string
    func (request UpdateProjectRequest) ValidateEnumValue() (bool, error)
type UpdateProjectResponse
    func (response UpdateProjectResponse) HTTPResponse() *http.Response
    func (response UpdateProjectResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLog
    func (m WorkRequestLog) String() string
    func (m WorkRequestLog) ValidateEnumValue() (bool, error)
type WorkRequestLogCollection
    func (m WorkRequestLogCollection) String() string
    func (m WorkRequestLogCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go ailanguage_aiservicelanguage_client.go batch_detect_dominant_language_details.go batch_detect_dominant_language_request_response.go batch_detect_dominant_language_result.go batch_detect_language_entities_details.go batch_detect_language_entities_request_response.go batch_detect_language_entities_result.go batch_detect_language_key_phrases_details.go batch_detect_language_key_phrases_request_response.go batch_detect_language_key_phrases_result.go batch_detect_language_pii_entities_details.go batch_detect_language_pii_entities_request_response.go batch_detect_language_pii_entities_result.go batch_detect_language_sentiments_details.go batch_detect_language_sentiments_request_response.go batch_detect_language_sentiments_result.go batch_detect_language_text_classification_details.go batch_detect_language_text_classification_request_response.go batch_detect_language_text_classification_result.go batch_language_translation_details.go batch_language_translation_request_response.go batch_language_translation_result.go capabilities.go capability.go change_endpoint_compartment_details.go change_endpoint_compartment_request_response.go change_model_compartment_details.go change_model_compartment_request_response.go change_project_compartment_details.go change_project_compartment_request_response.go class_metrics.go classification_multi_class_mode_details.go classification_multi_label_mode_details.go classification_type.go confusion_matrix_details.go create_endpoint_details.go create_endpoint_request_response.go create_model_details.go create_model_request_response.go create_project_details.go create_project_request_response.go data_science_labeling_dataset.go dataset_details.go delete_endpoint_request_response.go delete_model_request_response.go delete_project_request_response.go detect_dominant_language_details.go detect_dominant_language_request_response.go detect_dominant_language_result.go detect_language_entities_details.go detect_language_entities_request_response.go detect_language_entities_result.go detect_language_key_phrases_details.go detect_language_key_phrases_request_response.go detect_language_key_phrases_result.go detect_language_sentiments_details.go detect_language_sentiments_request_response.go detect_language_sentiments_result.go detect_language_text_classification_details.go detect_language_text_classification_request_response.go detect_language_text_classification_result.go detected_language.go document_error.go dominant_language_document.go dominant_language_document_result.go endpoint.go endpoint_collection.go endpoint_summary.go entity.go entity_document_result.go entity_label_error_analysis.go entity_metrics.go error_details.go evaluation_result_collection.go evaluation_result_summary.go evaluation_results.go get_endpoint_request_response.go get_model_request_response.go get_model_type_request_response.go get_project_request_response.go get_work_request_request_response.go hierarchical_entity.go key_phrase.go key_phrase_document_result.go list_endpoints_request_response.go list_evaluation_results_request_response.go list_models_request_response.go list_projects_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go location_details.go model.go model_collection.go model_details.go model_summary.go model_type_info.go named_entity_recognition_evaluation_result.go named_entity_recognition_evaluation_results.go named_entity_recognition_model_details.go named_entity_recognition_model_metrics.go ner_model_version.go object_list_dataset.go object_storage_dataset.go operation_status.go operation_type.go pii_entity.go pii_entity_document_result.go pii_entity_mask.go pii_entity_masking.go pii_entity_remove.go pii_entity_replace.go pre_deployed_language_models.go pre_trained_health_nlu_model_details.go pre_trained_key_phrase_extraction_model_details.go pre_trained_language_detection_model_details.go pre_trained_named_entity_recognition_model_details.go pre_trained_phi_model_details.go pre_trained_pii_model_details.go pre_trained_sentiment_analysis_model_details.go pre_trained_summarization.go pre_trained_text_classification_model_details.go pre_trained_universal_model.go project.go project_collection.go project_summary.go sentiment_aspect.go sentiment_document_result.go sentiment_sentence.go sort_order.go test_and_validation_dataset_strategy.go test_strategy.go text_classification.go text_classification_document_result.go text_classification_evaluation_results.go text_classification_model_details.go text_classification_model_evaluation_result.go text_classification_model_metrics.go text_document.go translation_document_result.go update_endpoint_details.go update_endpoint_request_response.go update_model_details.go update_model_request_response.go update_project_details.go update_project_request_response.go work_request.go work_request_error.go work_request_error_collection.go work_request_log.go work_request_log_collection.go work_request_resource.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBatchDetectLanguageSentimentsLevelEnumStringValues

func GetBatchDetectLanguageSentimentsLevelEnumStringValues() []string

GetBatchDetectLanguageSentimentsLevelEnumStringValues Enumerates the set of values in String for BatchDetectLanguageSentimentsLevelEnum

func GetClassificationTypeClassificationModeEnumStringValues

func GetClassificationTypeClassificationModeEnumStringValues() []string

GetClassificationTypeClassificationModeEnumStringValues Enumerates the set of values in String for ClassificationTypeClassificationModeEnum

func GetDatasetDetailsDatasetTypeEnumStringValues

func GetDatasetDetailsDatasetTypeEnumStringValues() []string

GetDatasetDetailsDatasetTypeEnumStringValues Enumerates the set of values in String for DatasetDetailsDatasetTypeEnum

func GetDetectLanguageEntitiesModelVersionEnumStringValues

func GetDetectLanguageEntitiesModelVersionEnumStringValues() []string

GetDetectLanguageEntitiesModelVersionEnumStringValues Enumerates the set of values in String for DetectLanguageEntitiesModelVersionEnum

func GetEndpointLifecycleStateEnumStringValues

func GetEndpointLifecycleStateEnumStringValues() []string

GetEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for EndpointLifecycleStateEnum

func GetListEndpointsSortByEnumStringValues

func GetListEndpointsSortByEnumStringValues() []string

GetListEndpointsSortByEnumStringValues Enumerates the set of values in String for ListEndpointsSortByEnum

func GetListEndpointsSortOrderEnumStringValues

func GetListEndpointsSortOrderEnumStringValues() []string

GetListEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListEndpointsSortOrderEnum

func GetListModelsSortByEnumStringValues

func GetListModelsSortByEnumStringValues() []string

GetListModelsSortByEnumStringValues Enumerates the set of values in String for ListModelsSortByEnum

func GetListModelsSortOrderEnumStringValues

func GetListModelsSortOrderEnumStringValues() []string

GetListModelsSortOrderEnumStringValues Enumerates the set of values in String for ListModelsSortOrderEnum

func GetListProjectsSortByEnumStringValues

func GetListProjectsSortByEnumStringValues() []string

GetListProjectsSortByEnumStringValues Enumerates the set of values in String for ListProjectsSortByEnum

func GetListProjectsSortOrderEnumStringValues

func GetListProjectsSortOrderEnumStringValues() []string

GetListProjectsSortOrderEnumStringValues Enumerates the set of values in String for ListProjectsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetLocationDetailsLocationTypeEnumStringValues

func GetLocationDetailsLocationTypeEnumStringValues() []string

GetLocationDetailsLocationTypeEnumStringValues Enumerates the set of values in String for LocationDetailsLocationTypeEnum

func GetModelDetailsModelTypeEnumStringValues

func GetModelDetailsModelTypeEnumStringValues() []string

GetModelDetailsModelTypeEnumStringValues Enumerates the set of values in String for ModelDetailsModelTypeEnum

func GetModelLifecycleStateEnumStringValues

func GetModelLifecycleStateEnumStringValues() []string

GetModelLifecycleStateEnumStringValues Enumerates the set of values in String for ModelLifecycleStateEnum

func GetNerModelVersionEnumStringValues

func GetNerModelVersionEnumStringValues() []string

GetNerModelVersionEnumStringValues Enumerates the set of values in String for NerModelVersionEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPiiEntityMaskingModeEnumStringValues

func GetPiiEntityMaskingModeEnumStringValues() []string

GetPiiEntityMaskingModeEnumStringValues Enumerates the set of values in String for PiiEntityMaskingModeEnum

func GetProjectLifecycleStateEnumStringValues

func GetProjectLifecycleStateEnumStringValues() []string

GetProjectLifecycleStateEnumStringValues Enumerates the set of values in String for ProjectLifecycleStateEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetTestStrategyStrategyTypeEnumStringValues

func GetTestStrategyStrategyTypeEnumStringValues() []string

GetTestStrategyStrategyTypeEnumStringValues Enumerates the set of values in String for TestStrategyStrategyTypeEnum

type AIServiceLanguageClient

AIServiceLanguageClient a client for AIServiceLanguage

type AIServiceLanguageClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewAIServiceLanguageClientWithConfigurationProvider

func NewAIServiceLanguageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AIServiceLanguageClient, err error)

NewAIServiceLanguageClientWithConfigurationProvider Creates a new default AIServiceLanguage client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewAIServiceLanguageClientWithOboToken

func NewAIServiceLanguageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AIServiceLanguageClient, err error)

NewAIServiceLanguageClientWithOboToken Creates a new default AIServiceLanguage client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (AIServiceLanguageClient) BatchDetectDominantLanguage

func (client AIServiceLanguageClient) BatchDetectDominantLanguage(ctx context.Context, request BatchDetectDominantLanguageRequest) (response BatchDetectDominantLanguageResponse, err error)

BatchDetectDominantLanguage The API returns the detected language and a related confidence score (between 0 and 1). It supports passing a batch of records. List of supported languages. (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect) Limitations: - A batch may have up to 100 records. - A record may be up to 5000 characters long. - The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectDominantLanguage.go.html to see an example of how to use BatchDetectDominantLanguage API.

func (AIServiceLanguageClient) BatchDetectLanguageEntities

func (client AIServiceLanguageClient) BatchDetectLanguageEntities(ctx context.Context, request BatchDetectLanguageEntitiesRequest) (response BatchDetectLanguageEntitiesResponse, err error)

BatchDetectLanguageEntities The API extracts entities in text records. For each entity, its type/subtype and confidence score (between 0 and 1) is returned. It supports passing a batch of records. List of supported entities. (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#ner__sup-ner-entity) Limitations: - A batch may have up to 100 records. - A record may be up to 5000 characters long. - The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageEntities.go.html to see an example of how to use BatchDetectLanguageEntities API.

func (AIServiceLanguageClient) BatchDetectLanguageKeyPhrases

func (client AIServiceLanguageClient) BatchDetectLanguageKeyPhrases(ctx context.Context, request BatchDetectLanguageKeyPhrasesRequest) (response BatchDetectLanguageKeyPhrasesResponse, err error)

BatchDetectLanguageKeyPhrases The API extracts key-phrases in text records. For each key-phrase, a score (between 0 and 1) is returned that highlights the importance of the key-phrase in the context of the text. It supports passing a batch of records. Limitations: - A batch may have up to 100 records. - A record may be up to 5000 characters long. - The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageKeyPhrases.go.html to see an example of how to use BatchDetectLanguageKeyPhrases API.

func (AIServiceLanguageClient) BatchDetectLanguagePiiEntities

func (client AIServiceLanguageClient) BatchDetectLanguagePiiEntities(ctx context.Context, request BatchDetectLanguagePiiEntitiesRequest) (response BatchDetectLanguagePiiEntitiesResponse, err error)

BatchDetectLanguagePiiEntities The API extracts pii entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned. It supports passing a batch of records. Limitations: - A batch may have up to 100 records. - A record may be up to 5000 characters long. - The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguagePiiEntities.go.html to see an example of how to use BatchDetectLanguagePiiEntities API.

func (AIServiceLanguageClient) BatchDetectLanguageSentiments

func (client AIServiceLanguageClient) BatchDetectLanguageSentiments(ctx context.Context, request BatchDetectLanguageSentimentsRequest) (response BatchDetectLanguageSentimentsResponse, err error)

BatchDetectLanguageSentiments The API extracts aspect-based and sentence level sentiment in text records. For aspect-based sentiment analysis, a set of aspects and their respective sentiment is returned for each record. Similarly, for sentence-level sentiment analysis, the sentiment is returned at the sentence level. For sentiment analysis, confidence scores are provided for each of the classes (positive, negative, neutral and mixed). Learn more about sentiment analysis here (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#sentiment). Limitations:

- A batch may have up to 100 records.
- A record may be up to 5000 characters long.
- The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageSentiments.go.html to see an example of how to use BatchDetectLanguageSentiments API.

func (AIServiceLanguageClient) BatchDetectLanguageTextClassification

func (client AIServiceLanguageClient) BatchDetectLanguageTextClassification(ctx context.Context, request BatchDetectLanguageTextClassificationRequest) (response BatchDetectLanguageTextClassificationResponse, err error)

BatchDetectLanguageTextClassification The API automatically classifies text into a set of pre-determined classes and sub-classes. A single class/subclass is returned for each record classified. It supports passing a batch of records. Learn more about text classification here (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#text-class). Limitations: - A batch may have up to 100 records. - A record may be up to 5000 characters long. - The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageTextClassification.go.html to see an example of how to use BatchDetectLanguageTextClassification API.

func (AIServiceLanguageClient) BatchLanguageTranslation

func (client AIServiceLanguageClient) BatchLanguageTranslation(ctx context.Context, request BatchLanguageTranslationRequest) (response BatchLanguageTranslationResponse, err error)

BatchLanguageTranslation Translate text to other language over pre-deployed model. Use state of the art neural machine translation to translate text between more than 15 languages. Limitations:

- A batch may have up to 100 records.
- A record may be up to 5000 characters long.
- The total of characters to process in a request can be up to 20,000 characters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchLanguageTranslation.go.html to see an example of how to use BatchLanguageTranslation API.

func (AIServiceLanguageClient) ChangeEndpointCompartment

func (client AIServiceLanguageClient) ChangeEndpointCompartment(ctx context.Context, request ChangeEndpointCompartmentRequest) (response ChangeEndpointCompartmentResponse, err error)

ChangeEndpointCompartment Moves a Endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ChangeEndpointCompartment.go.html to see an example of how to use ChangeEndpointCompartment API. A default retry strategy applies to this operation ChangeEndpointCompartment()

func (AIServiceLanguageClient) ChangeModelCompartment

func (client AIServiceLanguageClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)

ChangeModelCompartment Moves a Model into a different compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API. A default retry strategy applies to this operation ChangeModelCompartment()

func (AIServiceLanguageClient) ChangeProjectCompartment

func (client AIServiceLanguageClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)

ChangeProjectCompartment Moves a Project into a different compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API. A default retry strategy applies to this operation ChangeProjectCompartment()

func (*AIServiceLanguageClient) ConfigurationProvider

func (client *AIServiceLanguageClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (AIServiceLanguageClient) CreateEndpoint

func (client AIServiceLanguageClient) CreateEndpoint(ctx context.Context, request CreateEndpointRequest) (response CreateEndpointResponse, err error)

CreateEndpoint Creates a new endpoint and deploy the trained model

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/CreateEndpoint.go.html to see an example of how to use CreateEndpoint API. A default retry strategy applies to this operation CreateEndpoint()

func (AIServiceLanguageClient) CreateModel

func (client AIServiceLanguageClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)

CreateModel Creates a new model for training and train the model with date provided.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/CreateModel.go.html to see an example of how to use CreateModel API. A default retry strategy applies to this operation CreateModel()

func (AIServiceLanguageClient) CreateProject

func (client AIServiceLanguageClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)

CreateProject Creates a new Project.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/CreateProject.go.html to see an example of how to use CreateProject API. A default retry strategy applies to this operation CreateProject()

func (AIServiceLanguageClient) DeleteEndpoint

func (client AIServiceLanguageClient) DeleteEndpoint(ctx context.Context, request DeleteEndpointRequest) (response DeleteEndpointResponse, err error)

DeleteEndpoint Deletes a provisioned endpoint resource by identifier. This operation fails with a 409 error unless all associated resources are in a DELETED state. You must delete all associated resources before deleting a model.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DeleteEndpoint.go.html to see an example of how to use DeleteEndpoint API. A default retry strategy applies to this operation DeleteEndpoint()

func (AIServiceLanguageClient) DeleteModel

func (client AIServiceLanguageClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)

DeleteModel Deletes a provisioned model resource by identifier. This operation fails with a 409 error unless all associated resources are in a DELETED state. You must delete all associated resources before deleting a model.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DeleteModel.go.html to see an example of how to use DeleteModel API. A default retry strategy applies to this operation DeleteModel()

func (AIServiceLanguageClient) DeleteProject

func (client AIServiceLanguageClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)

DeleteProject Deletes a Project resource by identifier. This operation fails with a 409 error unless all associated resources (models deployments or data assets) are in a DELETED state. You must delete all associated resources before deleting a project.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DeleteProject.go.html to see an example of how to use DeleteProject API. A default retry strategy applies to this operation DeleteProject()

func (AIServiceLanguageClient) DetectDominantLanguage

func (client AIServiceLanguageClient) DetectDominantLanguage(ctx context.Context, request DetectDominantLanguageRequest) (response DetectDominantLanguageResponse, err error)

DetectDominantLanguage This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT The API returns the detected language and a related confidence score (between 0 and 1). List of supported languages. (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect) Limitations: - A record may be up to 1000 characters long.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectDominantLanguage.go.html to see an example of how to use DetectDominantLanguage API.

func (AIServiceLanguageClient) DetectLanguageEntities

func (client AIServiceLanguageClient) DetectLanguageEntities(ctx context.Context, request DetectLanguageEntitiesRequest) (response DetectLanguageEntitiesResponse, err error)

DetectLanguageEntities This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT The API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned. Limitations: - A text may be up to 1000 characters long.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageEntities.go.html to see an example of how to use DetectLanguageEntities API.

func (AIServiceLanguageClient) DetectLanguageKeyPhrases

func (client AIServiceLanguageClient) DetectLanguageKeyPhrases(ctx context.Context, request DetectLanguageKeyPhrasesRequest) (response DetectLanguageKeyPhrasesResponse, err error)

DetectLanguageKeyPhrases This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT The API extracts key-phrases in text records. For each key-phrase, a score (between 0 and 1) is returned that highlights the importance of the key-phrase in the context of the text. Limitations: - A record may be up to 1000 characters long.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageKeyPhrases.go.html to see an example of how to use DetectLanguageKeyPhrases API.

func (AIServiceLanguageClient) DetectLanguageSentiments

func (client AIServiceLanguageClient) DetectLanguageSentiments(ctx context.Context, request DetectLanguageSentimentsRequest) (response DetectLanguageSentimentsResponse, err error)

DetectLanguageSentiments This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT The API extracts aspect-based in text records. For aspect-based sentiment analysis, a set of aspects and their respective sentiment is returned. For sentiment analysis, confidence scores are provided for each of the classes (positive, negative, neutral). Learn more about sentiment analysis here (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#sentiment). Limitations:

- A record may be up to 1000 characters long.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageSentiments.go.html to see an example of how to use DetectLanguageSentiments API.

func (AIServiceLanguageClient) DetectLanguageTextClassification

func (client AIServiceLanguageClient) DetectLanguageTextClassification(ctx context.Context, request DetectLanguageTextClassificationRequest) (response DetectLanguageTextClassificationResponse, err error)

DetectLanguageTextClassification This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT The API automatically classifies text into a set of pre-determined classes and sub-classes. A single class/subclass is returned for each record classified. Learn more about text classification here (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#text-class). Limitations: - A record may be up to 1000 characters long.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageTextClassification.go.html to see an example of how to use DetectLanguageTextClassification API.

func (AIServiceLanguageClient) GetEndpoint

func (client AIServiceLanguageClient) GetEndpoint(ctx context.Context, request GetEndpointRequest) (response GetEndpointResponse, err error)

GetEndpoint Gets an endpoint by identifier

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetEndpoint.go.html to see an example of how to use GetEndpoint API. A default retry strategy applies to this operation GetEndpoint()

func (AIServiceLanguageClient) GetModel

func (client AIServiceLanguageClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)

GetModel Gets a model by identifier

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetModel.go.html to see an example of how to use GetModel API. A default retry strategy applies to this operation GetModel()

func (AIServiceLanguageClient) GetModelType

func (client AIServiceLanguageClient) GetModelType(ctx context.Context, request GetModelTypeRequest) (response GetModelTypeResponse, err error)

GetModelType Gets model capabilities

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetModelType.go.html to see an example of how to use GetModelType API. A default retry strategy applies to this operation GetModelType()

func (AIServiceLanguageClient) GetProject

func (client AIServiceLanguageClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)

GetProject Gets a Project by identifier

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetProject.go.html to see an example of how to use GetProject API. A default retry strategy applies to this operation GetProject()

func (AIServiceLanguageClient) GetWorkRequest

func (client AIServiceLanguageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (AIServiceLanguageClient) ListEndpoints

func (client AIServiceLanguageClient) ListEndpoints(ctx context.Context, request ListEndpointsRequest) (response ListEndpointsResponse, err error)

ListEndpoints Returns a list of Endpoints.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListEndpoints.go.html to see an example of how to use ListEndpoints API. A default retry strategy applies to this operation ListEndpoints()

func (AIServiceLanguageClient) ListEvaluationResults

func (client AIServiceLanguageClient) ListEvaluationResults(ctx context.Context, request ListEvaluationResultsRequest) (response ListEvaluationResultsResponse, err error)

ListEvaluationResults Get a (paginated) list of evaluation results for a given model.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListEvaluationResults.go.html to see an example of how to use ListEvaluationResults API. A default retry strategy applies to this operation ListEvaluationResults()

func (AIServiceLanguageClient) ListModels

func (client AIServiceLanguageClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)

ListModels Returns a list of models.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListModels.go.html to see an example of how to use ListModels API. A default retry strategy applies to this operation ListModels()

func (AIServiceLanguageClient) ListProjects

func (client AIServiceLanguageClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)

ListProjects Returns a list of Projects.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListProjects.go.html to see an example of how to use ListProjects API. A default retry strategy applies to this operation ListProjects()

func (AIServiceLanguageClient) ListWorkRequestErrors

func (client AIServiceLanguageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (AIServiceLanguageClient) ListWorkRequestLogs

func (client AIServiceLanguageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (AIServiceLanguageClient) ListWorkRequests

func (client AIServiceLanguageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*AIServiceLanguageClient) SetRegion

func (client *AIServiceLanguageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (AIServiceLanguageClient) UpdateEndpoint

func (client AIServiceLanguageClient) UpdateEndpoint(ctx context.Context, request UpdateEndpointRequest) (response UpdateEndpointResponse, err error)

UpdateEndpoint Update the Endpoint identified by the id

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/UpdateEndpoint.go.html to see an example of how to use UpdateEndpoint API. A default retry strategy applies to this operation UpdateEndpoint()

func (AIServiceLanguageClient) UpdateModel

func (client AIServiceLanguageClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)

UpdateModel Updates the model

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/UpdateModel.go.html to see an example of how to use UpdateModel API. A default retry strategy applies to this operation UpdateModel()

func (AIServiceLanguageClient) UpdateProject

func (client AIServiceLanguageClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)

UpdateProject Updates the Project

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/UpdateProject.go.html to see an example of how to use UpdateProject API. A default retry strategy applies to this operation UpdateProject()

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
)

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type BatchDetectDominantLanguageDetails

BatchDetectDominantLanguageDetails The documents details for language detect call.

type BatchDetectDominantLanguageDetails struct {

    // List of Documents for detect language.
    Documents []DominantLanguageDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

func (BatchDetectDominantLanguageDetails) String

func (m BatchDetectDominantLanguageDetails) String() string

func (BatchDetectDominantLanguageDetails) ValidateEnumValue

func (m BatchDetectDominantLanguageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectDominantLanguageRequest

BatchDetectDominantLanguageRequest wrapper for the BatchDetectDominantLanguage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectDominantLanguage.go.html to see an example of how to use BatchDetectDominantLanguageRequest.

type BatchDetectDominantLanguageRequest struct {

    // The details to make a language detection detect call.
    BatchDetectDominantLanguageDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchDetectDominantLanguageRequest) BinaryRequestBody

func (request BatchDetectDominantLanguageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchDetectDominantLanguageRequest) HTTPRequest

func (request BatchDetectDominantLanguageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchDetectDominantLanguageRequest) RetryPolicy

func (request BatchDetectDominantLanguageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchDetectDominantLanguageRequest) String

func (request BatchDetectDominantLanguageRequest) String() string

func (BatchDetectDominantLanguageRequest) ValidateEnumValue

func (request BatchDetectDominantLanguageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectDominantLanguageResponse

BatchDetectDominantLanguageResponse wrapper for the BatchDetectDominantLanguage operation

type BatchDetectDominantLanguageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchDetectDominantLanguageResult instance
    BatchDetectDominantLanguageResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchDetectDominantLanguageResponse) HTTPResponse

func (response BatchDetectDominantLanguageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchDetectDominantLanguageResponse) String

func (response BatchDetectDominantLanguageResponse) String() string

type BatchDetectDominantLanguageResult

BatchDetectDominantLanguageResult Result of language detect call.

type BatchDetectDominantLanguageResult struct {

    // List of succeeded document response.
    Documents []DominantLanguageDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchDetectDominantLanguageResult) String

func (m BatchDetectDominantLanguageResult) String() string

func (BatchDetectDominantLanguageResult) ValidateEnumValue

func (m BatchDetectDominantLanguageResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageEntitiesDetails

BatchDetectLanguageEntitiesDetails The documents details for entities detect call.

type BatchDetectLanguageEntitiesDetails struct {

    // List of Documents for detect entities.
    Documents []TextDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
    EndpointId *string `mandatory:"false" json:"endpointId"`
}

func (BatchDetectLanguageEntitiesDetails) String

func (m BatchDetectLanguageEntitiesDetails) String() string

func (BatchDetectLanguageEntitiesDetails) ValidateEnumValue

func (m BatchDetectLanguageEntitiesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageEntitiesRequest

BatchDetectLanguageEntitiesRequest wrapper for the BatchDetectLanguageEntities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageEntities.go.html to see an example of how to use BatchDetectLanguageEntitiesRequest.

type BatchDetectLanguageEntitiesRequest struct {

    // The details to make a Entity detect call.
    BatchDetectLanguageEntitiesDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchDetectLanguageEntitiesRequest) BinaryRequestBody

func (request BatchDetectLanguageEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchDetectLanguageEntitiesRequest) HTTPRequest

func (request BatchDetectLanguageEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchDetectLanguageEntitiesRequest) RetryPolicy

func (request BatchDetectLanguageEntitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchDetectLanguageEntitiesRequest) String

func (request BatchDetectLanguageEntitiesRequest) String() string

func (BatchDetectLanguageEntitiesRequest) ValidateEnumValue

func (request BatchDetectLanguageEntitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageEntitiesResponse

BatchDetectLanguageEntitiesResponse wrapper for the BatchDetectLanguageEntities operation

type BatchDetectLanguageEntitiesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchDetectLanguageEntitiesResult instance
    BatchDetectLanguageEntitiesResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchDetectLanguageEntitiesResponse) HTTPResponse

func (response BatchDetectLanguageEntitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchDetectLanguageEntitiesResponse) String

func (response BatchDetectLanguageEntitiesResponse) String() string

type BatchDetectLanguageEntitiesResult

BatchDetectLanguageEntitiesResult Result of entities detect call.

type BatchDetectLanguageEntitiesResult struct {

    // List of succeeded document response.
    Documents []EntityDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchDetectLanguageEntitiesResult) String

func (m BatchDetectLanguageEntitiesResult) String() string

func (BatchDetectLanguageEntitiesResult) ValidateEnumValue

func (m BatchDetectLanguageEntitiesResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageKeyPhrasesDetails

BatchDetectLanguageKeyPhrasesDetails The documents details for keyPhrases call.

type BatchDetectLanguageKeyPhrasesDetails struct {

    // List of Documents for detect keyPhrases.
    Documents []TextDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

func (BatchDetectLanguageKeyPhrasesDetails) String

func (m BatchDetectLanguageKeyPhrasesDetails) String() string

func (BatchDetectLanguageKeyPhrasesDetails) ValidateEnumValue

func (m BatchDetectLanguageKeyPhrasesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageKeyPhrasesRequest

BatchDetectLanguageKeyPhrasesRequest wrapper for the BatchDetectLanguageKeyPhrases operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageKeyPhrases.go.html to see an example of how to use BatchDetectLanguageKeyPhrasesRequest.

type BatchDetectLanguageKeyPhrasesRequest struct {

    // The details to make keyPhrase detect call.
    BatchDetectLanguageKeyPhrasesDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchDetectLanguageKeyPhrasesRequest) BinaryRequestBody

func (request BatchDetectLanguageKeyPhrasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchDetectLanguageKeyPhrasesRequest) HTTPRequest

func (request BatchDetectLanguageKeyPhrasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchDetectLanguageKeyPhrasesRequest) RetryPolicy

func (request BatchDetectLanguageKeyPhrasesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchDetectLanguageKeyPhrasesRequest) String

func (request BatchDetectLanguageKeyPhrasesRequest) String() string

func (BatchDetectLanguageKeyPhrasesRequest) ValidateEnumValue

func (request BatchDetectLanguageKeyPhrasesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageKeyPhrasesResponse

BatchDetectLanguageKeyPhrasesResponse wrapper for the BatchDetectLanguageKeyPhrases operation

type BatchDetectLanguageKeyPhrasesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchDetectLanguageKeyPhrasesResult instance
    BatchDetectLanguageKeyPhrasesResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchDetectLanguageKeyPhrasesResponse) HTTPResponse

func (response BatchDetectLanguageKeyPhrasesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchDetectLanguageKeyPhrasesResponse) String

func (response BatchDetectLanguageKeyPhrasesResponse) String() string

type BatchDetectLanguageKeyPhrasesResult

BatchDetectLanguageKeyPhrasesResult Result of keyPhrases detect call.

type BatchDetectLanguageKeyPhrasesResult struct {

    // List of succeeded document response.
    Documents []KeyPhraseDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchDetectLanguageKeyPhrasesResult) String

func (m BatchDetectLanguageKeyPhrasesResult) String() string

func (BatchDetectLanguageKeyPhrasesResult) ValidateEnumValue

func (m BatchDetectLanguageKeyPhrasesResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguagePiiEntitiesDetails

BatchDetectLanguagePiiEntitiesDetails The documents details to detect personal identification information.

type BatchDetectLanguagePiiEntitiesDetails struct {

    // List of documents to detect personal identification information.
    Documents []TextDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Mask recognized PII entities with different modes.
    Masking map[string]PiiEntityMasking `mandatory:"false" json:"masking"`
}

func (BatchDetectLanguagePiiEntitiesDetails) String

func (m BatchDetectLanguagePiiEntitiesDetails) String() string

func (*BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON

func (m *BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (BatchDetectLanguagePiiEntitiesDetails) ValidateEnumValue

func (m BatchDetectLanguagePiiEntitiesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguagePiiEntitiesRequest

BatchDetectLanguagePiiEntitiesRequest wrapper for the BatchDetectLanguagePiiEntities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguagePiiEntities.go.html to see an example of how to use BatchDetectLanguagePiiEntitiesRequest.

type BatchDetectLanguagePiiEntitiesRequest struct {

    // The details to make a PII entity detect call.
    BatchDetectLanguagePiiEntitiesDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchDetectLanguagePiiEntitiesRequest) BinaryRequestBody

func (request BatchDetectLanguagePiiEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchDetectLanguagePiiEntitiesRequest) HTTPRequest

func (request BatchDetectLanguagePiiEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchDetectLanguagePiiEntitiesRequest) RetryPolicy

func (request BatchDetectLanguagePiiEntitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchDetectLanguagePiiEntitiesRequest) String

func (request BatchDetectLanguagePiiEntitiesRequest) String() string

func (BatchDetectLanguagePiiEntitiesRequest) ValidateEnumValue

func (request BatchDetectLanguagePiiEntitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguagePiiEntitiesResponse

BatchDetectLanguagePiiEntitiesResponse wrapper for the BatchDetectLanguagePiiEntities operation

type BatchDetectLanguagePiiEntitiesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchDetectLanguagePiiEntitiesResult instance
    BatchDetectLanguagePiiEntitiesResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchDetectLanguagePiiEntitiesResponse) HTTPResponse

func (response BatchDetectLanguagePiiEntitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchDetectLanguagePiiEntitiesResponse) String

func (response BatchDetectLanguagePiiEntitiesResponse) String() string

type BatchDetectLanguagePiiEntitiesResult

BatchDetectLanguagePiiEntitiesResult Result of batch detect personal identification.

type BatchDetectLanguagePiiEntitiesResult struct {

    // List of succeeded document response.
    Documents []PiiEntityDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchDetectLanguagePiiEntitiesResult) String

func (m BatchDetectLanguagePiiEntitiesResult) String() string

func (BatchDetectLanguagePiiEntitiesResult) ValidateEnumValue

func (m BatchDetectLanguagePiiEntitiesResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageSentimentsDetails

BatchDetectLanguageSentimentsDetails The documents details for sentiment call.

type BatchDetectLanguageSentimentsDetails struct {

    // List of Documents for detect sentiments.
    Documents []TextDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

func (BatchDetectLanguageSentimentsDetails) String

func (m BatchDetectLanguageSentimentsDetails) String() string

func (BatchDetectLanguageSentimentsDetails) ValidateEnumValue

func (m BatchDetectLanguageSentimentsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageSentimentsLevelEnum

BatchDetectLanguageSentimentsLevelEnum Enum with underlying type: string

type BatchDetectLanguageSentimentsLevelEnum string

Set of constants representing the allowable values for BatchDetectLanguageSentimentsLevelEnum

const (
    BatchDetectLanguageSentimentsLevelAspect   BatchDetectLanguageSentimentsLevelEnum = "ASPECT"
    BatchDetectLanguageSentimentsLevelSentence BatchDetectLanguageSentimentsLevelEnum = "SENTENCE"
)

func GetBatchDetectLanguageSentimentsLevelEnumValues

func GetBatchDetectLanguageSentimentsLevelEnumValues() []BatchDetectLanguageSentimentsLevelEnum

GetBatchDetectLanguageSentimentsLevelEnumValues Enumerates the set of values for BatchDetectLanguageSentimentsLevelEnum

func GetMappingBatchDetectLanguageSentimentsLevelEnum

func GetMappingBatchDetectLanguageSentimentsLevelEnum(val string) (BatchDetectLanguageSentimentsLevelEnum, bool)

GetMappingBatchDetectLanguageSentimentsLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type BatchDetectLanguageSentimentsRequest

BatchDetectLanguageSentimentsRequest wrapper for the BatchDetectLanguageSentiments operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageSentiments.go.html to see an example of how to use BatchDetectLanguageSentimentsRequest.

type BatchDetectLanguageSentimentsRequest struct {

    // The details to make sentiment detect call.
    BatchDetectLanguageSentimentsDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Set this parameter for sentence and aspect level sentiment analysis.
    // Allowed values are:
    //    - ASPECT
    //    - SENTENCE
    Level []BatchDetectLanguageSentimentsLevelEnum `contributesTo:"query" name:"level" omitEmpty:"true" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchDetectLanguageSentimentsRequest) BinaryRequestBody

func (request BatchDetectLanguageSentimentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchDetectLanguageSentimentsRequest) HTTPRequest

func (request BatchDetectLanguageSentimentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchDetectLanguageSentimentsRequest) RetryPolicy

func (request BatchDetectLanguageSentimentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchDetectLanguageSentimentsRequest) String

func (request BatchDetectLanguageSentimentsRequest) String() string

func (BatchDetectLanguageSentimentsRequest) ValidateEnumValue

func (request BatchDetectLanguageSentimentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageSentimentsResponse

BatchDetectLanguageSentimentsResponse wrapper for the BatchDetectLanguageSentiments operation

type BatchDetectLanguageSentimentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchDetectLanguageSentimentsResult instance
    BatchDetectLanguageSentimentsResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchDetectLanguageSentimentsResponse) HTTPResponse

func (response BatchDetectLanguageSentimentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchDetectLanguageSentimentsResponse) String

func (response BatchDetectLanguageSentimentsResponse) String() string

type BatchDetectLanguageSentimentsResult

BatchDetectLanguageSentimentsResult Result of sentiments detect call.

type BatchDetectLanguageSentimentsResult struct {

    // List of succeeded document response.
    Documents []SentimentDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchDetectLanguageSentimentsResult) String

func (m BatchDetectLanguageSentimentsResult) String() string

func (BatchDetectLanguageSentimentsResult) ValidateEnumValue

func (m BatchDetectLanguageSentimentsResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageTextClassificationDetails

BatchDetectLanguageTextClassificationDetails The documents details for text classification call.

type BatchDetectLanguageTextClassificationDetails struct {

    // List of Documents for detect text classification.
    Documents []TextDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
    EndpointId *string `mandatory:"false" json:"endpointId"`
}

func (BatchDetectLanguageTextClassificationDetails) String

func (m BatchDetectLanguageTextClassificationDetails) String() string

func (BatchDetectLanguageTextClassificationDetails) ValidateEnumValue

func (m BatchDetectLanguageTextClassificationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageTextClassificationRequest

BatchDetectLanguageTextClassificationRequest wrapper for the BatchDetectLanguageTextClassification operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchDetectLanguageTextClassification.go.html to see an example of how to use BatchDetectLanguageTextClassificationRequest.

type BatchDetectLanguageTextClassificationRequest struct {

    // The details to make text classification detect call.
    BatchDetectLanguageTextClassificationDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchDetectLanguageTextClassificationRequest) BinaryRequestBody

func (request BatchDetectLanguageTextClassificationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchDetectLanguageTextClassificationRequest) HTTPRequest

func (request BatchDetectLanguageTextClassificationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchDetectLanguageTextClassificationRequest) RetryPolicy

func (request BatchDetectLanguageTextClassificationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchDetectLanguageTextClassificationRequest) String

func (request BatchDetectLanguageTextClassificationRequest) String() string

func (BatchDetectLanguageTextClassificationRequest) ValidateEnumValue

func (request BatchDetectLanguageTextClassificationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchDetectLanguageTextClassificationResponse

BatchDetectLanguageTextClassificationResponse wrapper for the BatchDetectLanguageTextClassification operation

type BatchDetectLanguageTextClassificationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchDetectLanguageTextClassificationResult instance
    BatchDetectLanguageTextClassificationResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchDetectLanguageTextClassificationResponse) HTTPResponse

func (response BatchDetectLanguageTextClassificationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchDetectLanguageTextClassificationResponse) String

func (response BatchDetectLanguageTextClassificationResponse) String() string

type BatchDetectLanguageTextClassificationResult

BatchDetectLanguageTextClassificationResult Result of text classification detect call.

type BatchDetectLanguageTextClassificationResult struct {

    // List of succeeded document response.
    Documents []TextClassificationDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchDetectLanguageTextClassificationResult) String

func (m BatchDetectLanguageTextClassificationResult) String() string

func (BatchDetectLanguageTextClassificationResult) ValidateEnumValue

func (m BatchDetectLanguageTextClassificationResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchLanguageTranslationDetails

BatchLanguageTranslationDetails The documents details for translation call.

type BatchLanguageTranslationDetails struct {

    // List of documents for translation.
    Documents []TextDocument `mandatory:"true" json:"documents"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    TargetLanguageCode *string `mandatory:"false" json:"targetLanguageCode"`
}

func (BatchLanguageTranslationDetails) String

func (m BatchLanguageTranslationDetails) String() string

func (BatchLanguageTranslationDetails) ValidateEnumValue

func (m BatchLanguageTranslationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchLanguageTranslationRequest

BatchLanguageTranslationRequest wrapper for the BatchLanguageTranslation operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/BatchLanguageTranslation.go.html to see an example of how to use BatchLanguageTranslationRequest.

type BatchLanguageTranslationRequest struct {

    // The details to make language translation call.
    BatchLanguageTranslationDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (BatchLanguageTranslationRequest) BinaryRequestBody

func (request BatchLanguageTranslationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (BatchLanguageTranslationRequest) HTTPRequest

func (request BatchLanguageTranslationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (BatchLanguageTranslationRequest) RetryPolicy

func (request BatchLanguageTranslationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (BatchLanguageTranslationRequest) String

func (request BatchLanguageTranslationRequest) String() string

func (BatchLanguageTranslationRequest) ValidateEnumValue

func (request BatchLanguageTranslationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BatchLanguageTranslationResponse

BatchLanguageTranslationResponse wrapper for the BatchLanguageTranslation operation

type BatchLanguageTranslationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BatchLanguageTranslationResult instance
    BatchLanguageTranslationResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (BatchLanguageTranslationResponse) HTTPResponse

func (response BatchLanguageTranslationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (BatchLanguageTranslationResponse) String

func (response BatchLanguageTranslationResponse) String() string

type BatchLanguageTranslationResult

BatchLanguageTranslationResult Result of translation call.

type BatchLanguageTranslationResult struct {

    // List of succeeded document response.
    Documents []TranslationDocumentResult `mandatory:"true" json:"documents"`

    // List of failed document response.
    Errors []DocumentError `mandatory:"false" json:"errors"`
}

func (BatchLanguageTranslationResult) String

func (m BatchLanguageTranslationResult) String() string

func (BatchLanguageTranslationResult) ValidateEnumValue

func (m BatchLanguageTranslationResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Capabilities

Capabilities Capabilities supported

type Capabilities struct {

    // Model information capabilities related to version
    Capability map[string]Capability `mandatory:"false" json:"capability"`
}

func (Capabilities) String

func (m Capabilities) String() string

func (Capabilities) ValidateEnumValue

func (m Capabilities) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Capability

Capability Capability supported

type Capability struct {

    // values
    Details []string `mandatory:"false" json:"details"`
}

func (Capability) String

func (m Capability) String() string

func (Capability) ValidateEnumValue

func (m Capability) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeEndpointCompartmentDetails

ChangeEndpointCompartmentDetails Details for changing the compartment of an Endpoint.

type ChangeEndpointCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeEndpointCompartmentDetails) String

func (m ChangeEndpointCompartmentDetails) String() string

func (ChangeEndpointCompartmentDetails) ValidateEnumValue

func (m ChangeEndpointCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeEndpointCompartmentRequest

ChangeEndpointCompartmentRequest wrapper for the ChangeEndpointCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ChangeEndpointCompartment.go.html to see an example of how to use ChangeEndpointCompartmentRequest.

type ChangeEndpointCompartmentRequest struct {

    // The OCID of the endpoint.
    EndpointId *string `mandatory:"true" contributesTo:"path" name:"endpointId"`

    ChangeEndpointCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeEndpointCompartmentRequest) BinaryRequestBody

func (request ChangeEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeEndpointCompartmentRequest) HTTPRequest

func (request ChangeEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeEndpointCompartmentRequest) RetryPolicy

func (request ChangeEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeEndpointCompartmentRequest) String

func (request ChangeEndpointCompartmentRequest) String() string

func (ChangeEndpointCompartmentRequest) ValidateEnumValue

func (request ChangeEndpointCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeEndpointCompartmentResponse

ChangeEndpointCompartmentResponse wrapper for the ChangeEndpointCompartment operation

type ChangeEndpointCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeEndpointCompartmentResponse) HTTPResponse

func (response ChangeEndpointCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeEndpointCompartmentResponse) String

func (response ChangeEndpointCompartmentResponse) String() string

type ChangeModelCompartmentDetails

ChangeModelCompartmentDetails Details for changing the compartment of an Model.

type ChangeModelCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeModelCompartmentDetails) String

func (m ChangeModelCompartmentDetails) String() string

func (ChangeModelCompartmentDetails) ValidateEnumValue

func (m ChangeModelCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeModelCompartmentRequest

ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.

type ChangeModelCompartmentRequest struct {

    // unique model OCID.
    ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"`

    ChangeModelCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeModelCompartmentRequest) BinaryRequestBody

func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeModelCompartmentRequest) HTTPRequest

func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeModelCompartmentRequest) RetryPolicy

func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeModelCompartmentRequest) String

func (request ChangeModelCompartmentRequest) String() string

func (ChangeModelCompartmentRequest) ValidateEnumValue

func (request ChangeModelCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeModelCompartmentResponse

ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation

type ChangeModelCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeModelCompartmentResponse) HTTPResponse

func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeModelCompartmentResponse) String

func (response ChangeModelCompartmentResponse) String() string

type ChangeProjectCompartmentDetails

ChangeProjectCompartmentDetails Details for changing the compartment of a Project.

type ChangeProjectCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeProjectCompartmentDetails) String

func (m ChangeProjectCompartmentDetails) String() string

func (ChangeProjectCompartmentDetails) ValidateEnumValue

func (m ChangeProjectCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeProjectCompartmentRequest

ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.

type ChangeProjectCompartmentRequest struct {

    // The OCID of the project.
    ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"`

    ChangeProjectCompartmentDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeProjectCompartmentRequest) BinaryRequestBody

func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeProjectCompartmentRequest) HTTPRequest

func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeProjectCompartmentRequest) RetryPolicy

func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeProjectCompartmentRequest) String

func (request ChangeProjectCompartmentRequest) String() string

func (ChangeProjectCompartmentRequest) ValidateEnumValue

func (request ChangeProjectCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeProjectCompartmentResponse

ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation

type ChangeProjectCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeProjectCompartmentResponse) HTTPResponse

func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeProjectCompartmentResponse) String

func (response ChangeProjectCompartmentResponse) String() string

type ClassMetrics

ClassMetrics class level Text Classification model metrics

type ClassMetrics struct {

    // Text classification label
    Label *string `mandatory:"true" json:"label"`

    // F1-score, is a measure of a model’s accuracy on a dataset
    F1 *float32 `mandatory:"true" json:"f1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    Precision *float32 `mandatory:"true" json:"precision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    Recall *float32 `mandatory:"true" json:"recall"`

    // number of samples in the test set
    Support *float32 `mandatory:"false" json:"support"`
}

func (ClassMetrics) String

func (m ClassMetrics) String() string

func (ClassMetrics) ValidateEnumValue

func (m ClassMetrics) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClassificationMultiClassModeDetails

ClassificationMultiClassModeDetails Possible text classification multi class mode details

type ClassificationMultiClassModeDetails struct {

    // Optional if nothing specified latest base model will be used for training. Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (ClassificationMultiClassModeDetails) MarshalJSON

func (m ClassificationMultiClassModeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ClassificationMultiClassModeDetails) String

func (m ClassificationMultiClassModeDetails) String() string

func (ClassificationMultiClassModeDetails) ValidateEnumValue

func (m ClassificationMultiClassModeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClassificationMultiLabelModeDetails

ClassificationMultiLabelModeDetails Possible text classification multi label mode details

type ClassificationMultiLabelModeDetails struct {

    // Optional if nothing specified latest base model will be used for training. Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (ClassificationMultiLabelModeDetails) MarshalJSON

func (m ClassificationMultiLabelModeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ClassificationMultiLabelModeDetails) String

func (m ClassificationMultiLabelModeDetails) String() string

func (ClassificationMultiLabelModeDetails) ValidateEnumValue

func (m ClassificationMultiLabelModeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClassificationType

ClassificationType possible text classification modes

type ClassificationType interface {
}

type ClassificationTypeClassificationModeEnum

ClassificationTypeClassificationModeEnum Enum with underlying type: string

type ClassificationTypeClassificationModeEnum string

Set of constants representing the allowable values for ClassificationTypeClassificationModeEnum

const (
    ClassificationTypeClassificationModeClass ClassificationTypeClassificationModeEnum = "MULTI_CLASS"
    ClassificationTypeClassificationModeLabel ClassificationTypeClassificationModeEnum = "MULTI_LABEL"
)

func GetClassificationTypeClassificationModeEnumValues

func GetClassificationTypeClassificationModeEnumValues() []ClassificationTypeClassificationModeEnum

GetClassificationTypeClassificationModeEnumValues Enumerates the set of values for ClassificationTypeClassificationModeEnum

func GetMappingClassificationTypeClassificationModeEnum

func GetMappingClassificationTypeClassificationModeEnum(val string) (ClassificationTypeClassificationModeEnum, bool)

GetMappingClassificationTypeClassificationModeEnum performs case Insensitive comparison on enum value and return the desired enum

type ConfusionMatrixDetails

ConfusionMatrixDetails confusion matrix details

type ConfusionMatrixDetails struct {

    // confusion matrix data
    Matrix map[string]float64 `mandatory:"false" json:"matrix"`
}

func (ConfusionMatrixDetails) String

func (m ConfusionMatrixDetails) String() string

func (ConfusionMatrixDetails) ValidateEnumValue

func (m ConfusionMatrixDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateEndpointDetails

CreateEndpointDetails The information needed to create a new endpoint and expose to end users.

type CreateEndpointDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) compartment identifier for the endpoint
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint.
    ModelId *string `mandatory:"true" json:"modelId"`

    // A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the an endpoint.
    Description *string `mandatory:"false" json:"description"`

    // Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    InferenceUnits *int `mandatory:"false" json:"inferenceUnits"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateEndpointDetails) String

func (m CreateEndpointDetails) String() string

func (CreateEndpointDetails) ValidateEnumValue

func (m CreateEndpointDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateEndpointRequest

CreateEndpointRequest wrapper for the CreateEndpoint operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/CreateEndpoint.go.html to see an example of how to use CreateEndpointRequest.

type CreateEndpointRequest struct {

    // Details for the new endpoint.
    CreateEndpointDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateEndpointRequest) BinaryRequestBody

func (request CreateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateEndpointRequest) HTTPRequest

func (request CreateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateEndpointRequest) RetryPolicy

func (request CreateEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateEndpointRequest) String

func (request CreateEndpointRequest) String() string

func (CreateEndpointRequest) ValidateEnumValue

func (request CreateEndpointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateEndpointResponse

CreateEndpointResponse wrapper for the CreateEndpoint operation

type CreateEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Endpoint instance
    Endpoint `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // The URI that identifies the entity described in the response body.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateEndpointResponse) HTTPResponse

func (response CreateEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateEndpointResponse) String

func (response CreateEndpointResponse) String() string

type CreateModelDetails

CreateModelDetails The information needed to train a new model

type CreateModelDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  for the models compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
    ProjectId *string `mandatory:"true" json:"projectId"`

    ModelDetails ModelDetails `mandatory:"true" json:"modelDetails"`

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the a model.
    Description *string `mandatory:"false" json:"description"`

    TrainingDataset DatasetDetails `mandatory:"false" json:"trainingDataset"`

    TestStrategy TestStrategy `mandatory:"false" json:"testStrategy"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateModelDetails) String

func (m CreateModelDetails) String() string

func (*CreateModelDetails) UnmarshalJSON

func (m *CreateModelDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateModelDetails) ValidateEnumValue

func (m CreateModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateModelRequest

CreateModelRequest wrapper for the CreateModel operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/CreateModel.go.html to see an example of how to use CreateModelRequest.

type CreateModelRequest struct {

    // Details for the new model.
    CreateModelDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateModelRequest) BinaryRequestBody

func (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateModelRequest) HTTPRequest

func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateModelRequest) RetryPolicy

func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateModelRequest) String

func (request CreateModelRequest) String() string

func (CreateModelRequest) ValidateEnumValue

func (request CreateModelRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateModelResponse

CreateModelResponse wrapper for the CreateModel operation

type CreateModelResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Model instance
    Model `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // The URI that identifies the entity described in the response body.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateModelResponse) HTTPResponse

func (response CreateModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateModelResponse) String

func (response CreateModelResponse) String() string

type CreateProjectDetails

CreateProjectDetails Parameters needed to create a new project. Projects enable users to organise their language work.

type CreateProjectDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the project's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the project.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateProjectDetails) String

func (m CreateProjectDetails) String() string

func (CreateProjectDetails) ValidateEnumValue

func (m CreateProjectDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateProjectRequest

CreateProjectRequest wrapper for the CreateProject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/CreateProject.go.html to see an example of how to use CreateProjectRequest.

type CreateProjectRequest struct {

    // Details for the new Project.
    CreateProjectDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateProjectRequest) BinaryRequestBody

func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateProjectRequest) HTTPRequest

func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateProjectRequest) RetryPolicy

func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateProjectRequest) String

func (request CreateProjectRequest) String() string

func (CreateProjectRequest) ValidateEnumValue

func (request CreateProjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateProjectResponse

CreateProjectResponse wrapper for the CreateProject operation

type CreateProjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Project instance
    Project `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateProjectResponse) HTTPResponse

func (response CreateProjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateProjectResponse) String

func (response CreateProjectResponse) String() string

type DataScienceLabelingDataset

DataScienceLabelingDataset Dataset that uses data science labelling service as underlying data source.

type DataScienceLabelingDataset struct {

    // Data Science Labelling Service OCID
    DatasetId *string `mandatory:"true" json:"datasetId"`
}

func (DataScienceLabelingDataset) MarshalJSON

func (m DataScienceLabelingDataset) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DataScienceLabelingDataset) String

func (m DataScienceLabelingDataset) String() string

func (DataScienceLabelingDataset) ValidateEnumValue

func (m DataScienceLabelingDataset) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DatasetDetails

DatasetDetails Possible data set type

type DatasetDetails interface {
}

type DatasetDetailsDatasetTypeEnum

DatasetDetailsDatasetTypeEnum Enum with underlying type: string

type DatasetDetailsDatasetTypeEnum string

Set of constants representing the allowable values for DatasetDetailsDatasetTypeEnum

const (
    DatasetDetailsDatasetTypeObjectStorage       DatasetDetailsDatasetTypeEnum = "OBJECT_STORAGE"
    DatasetDetailsDatasetTypeDataScienceLabeling DatasetDetailsDatasetTypeEnum = "DATA_SCIENCE_LABELING"
)

func GetDatasetDetailsDatasetTypeEnumValues

func GetDatasetDetailsDatasetTypeEnumValues() []DatasetDetailsDatasetTypeEnum

GetDatasetDetailsDatasetTypeEnumValues Enumerates the set of values for DatasetDetailsDatasetTypeEnum

func GetMappingDatasetDetailsDatasetTypeEnum

func GetMappingDatasetDetailsDatasetTypeEnum(val string) (DatasetDetailsDatasetTypeEnum, bool)

GetMappingDatasetDetailsDatasetTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DeleteEndpointRequest

DeleteEndpointRequest wrapper for the DeleteEndpoint operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DeleteEndpoint.go.html to see an example of how to use DeleteEndpointRequest.

type DeleteEndpointRequest struct {

    // The OCID of the endpoint.
    EndpointId *string `mandatory:"true" contributesTo:"path" name:"endpointId"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteEndpointRequest) BinaryRequestBody

func (request DeleteEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteEndpointRequest) HTTPRequest

func (request DeleteEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteEndpointRequest) RetryPolicy

func (request DeleteEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteEndpointRequest) String

func (request DeleteEndpointRequest) String() string

func (DeleteEndpointRequest) ValidateEnumValue

func (request DeleteEndpointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteEndpointResponse

DeleteEndpointResponse wrapper for the DeleteEndpoint operation

type DeleteEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteEndpointResponse) HTTPResponse

func (response DeleteEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteEndpointResponse) String

func (response DeleteEndpointResponse) String() string

type DeleteModelRequest

DeleteModelRequest wrapper for the DeleteModel operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DeleteModel.go.html to see an example of how to use DeleteModelRequest.

type DeleteModelRequest struct {

    // unique model OCID.
    ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteModelRequest) BinaryRequestBody

func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteModelRequest) HTTPRequest

func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteModelRequest) RetryPolicy

func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteModelRequest) String

func (request DeleteModelRequest) String() string

func (DeleteModelRequest) ValidateEnumValue

func (request DeleteModelRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteModelResponse

DeleteModelResponse wrapper for the DeleteModel operation

type DeleteModelResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteModelResponse) HTTPResponse

func (response DeleteModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteModelResponse) String

func (response DeleteModelResponse) String() string

type DeleteProjectRequest

DeleteProjectRequest wrapper for the DeleteProject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.

type DeleteProjectRequest struct {

    // The OCID of the project.
    ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteProjectRequest) BinaryRequestBody

func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteProjectRequest) HTTPRequest

func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteProjectRequest) RetryPolicy

func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteProjectRequest) String

func (request DeleteProjectRequest) String() string

func (DeleteProjectRequest) ValidateEnumValue

func (request DeleteProjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteProjectResponse

DeleteProjectResponse wrapper for the DeleteProject operation

type DeleteProjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteProjectResponse) HTTPResponse

func (response DeleteProjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteProjectResponse) String

func (response DeleteProjectResponse) String() string

type DetectDominantLanguageDetails

DetectDominantLanguageDetails The document details for language detect call.

type DetectDominantLanguageDetails struct {

    // Document text for detect language.
    Text *string `mandatory:"true" json:"text"`
}

func (DetectDominantLanguageDetails) String

func (m DetectDominantLanguageDetails) String() string

func (DetectDominantLanguageDetails) ValidateEnumValue

func (m DetectDominantLanguageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectDominantLanguageRequest

DetectDominantLanguageRequest wrapper for the DetectDominantLanguage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectDominantLanguage.go.html to see an example of how to use DetectDominantLanguageRequest.

type DetectDominantLanguageRequest struct {

    // The details to make a language detection detect call.
    DetectDominantLanguageDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DetectDominantLanguageRequest) BinaryRequestBody

func (request DetectDominantLanguageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetectDominantLanguageRequest) HTTPRequest

func (request DetectDominantLanguageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetectDominantLanguageRequest) RetryPolicy

func (request DetectDominantLanguageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetectDominantLanguageRequest) String

func (request DetectDominantLanguageRequest) String() string

func (DetectDominantLanguageRequest) ValidateEnumValue

func (request DetectDominantLanguageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectDominantLanguageResponse

DetectDominantLanguageResponse wrapper for the DetectDominantLanguage operation

type DetectDominantLanguageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DetectDominantLanguageResult instance
    DetectDominantLanguageResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
    Sunset *string `presentIn:"header" name:"sunset"`
}

func (DetectDominantLanguageResponse) HTTPResponse

func (response DetectDominantLanguageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetectDominantLanguageResponse) String

func (response DetectDominantLanguageResponse) String() string

type DetectDominantLanguageResult

DetectDominantLanguageResult Result of language detect call.

type DetectDominantLanguageResult struct {

    // List of detected languages with results sorted in descending order of the scores. Most likely language is on top.
    Languages []DetectedLanguage `mandatory:"true" json:"languages"`
}

func (DetectDominantLanguageResult) String

func (m DetectDominantLanguageResult) String() string

func (DetectDominantLanguageResult) ValidateEnumValue

func (m DetectDominantLanguageResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageEntitiesDetails

DetectLanguageEntitiesDetails The document details for entities detect call.

type DetectLanguageEntitiesDetails struct {

    // Document text for detect entities.
    Text *string `mandatory:"true" json:"text"`
}

func (DetectLanguageEntitiesDetails) String

func (m DetectLanguageEntitiesDetails) String() string

func (DetectLanguageEntitiesDetails) ValidateEnumValue

func (m DetectLanguageEntitiesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageEntitiesModelVersionEnum

DetectLanguageEntitiesModelVersionEnum Enum with underlying type: string

type DetectLanguageEntitiesModelVersionEnum string

Set of constants representing the allowable values for DetectLanguageEntitiesModelVersionEnum

const (
    DetectLanguageEntitiesModelVersionV21 DetectLanguageEntitiesModelVersionEnum = "V2_1"
    DetectLanguageEntitiesModelVersionV11 DetectLanguageEntitiesModelVersionEnum = "V1_1"
)

func GetDetectLanguageEntitiesModelVersionEnumValues

func GetDetectLanguageEntitiesModelVersionEnumValues() []DetectLanguageEntitiesModelVersionEnum

GetDetectLanguageEntitiesModelVersionEnumValues Enumerates the set of values for DetectLanguageEntitiesModelVersionEnum

func GetMappingDetectLanguageEntitiesModelVersionEnum

func GetMappingDetectLanguageEntitiesModelVersionEnum(val string) (DetectLanguageEntitiesModelVersionEnum, bool)

GetMappingDetectLanguageEntitiesModelVersionEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectLanguageEntitiesRequest

DetectLanguageEntitiesRequest wrapper for the DetectLanguageEntities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageEntities.go.html to see an example of how to use DetectLanguageEntitiesRequest.

type DetectLanguageEntitiesRequest struct {

    // The details to make a Entity detect call.
    DetectLanguageEntitiesDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Named Entity Recognition model versions. By default user will get output from V2.1 implementation.
    ModelVersion DetectLanguageEntitiesModelVersionEnum `mandatory:"false" contributesTo:"query" name:"modelVersion" omitEmpty:"true"`

    // If this parameter is set to true, you only get PII (Personally identifiable information) entities
    // like PhoneNumber, Email, Person, and so on. Default value is false.
    IsPii *bool `mandatory:"false" contributesTo:"query" name:"isPii"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DetectLanguageEntitiesRequest) BinaryRequestBody

func (request DetectLanguageEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetectLanguageEntitiesRequest) HTTPRequest

func (request DetectLanguageEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetectLanguageEntitiesRequest) RetryPolicy

func (request DetectLanguageEntitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetectLanguageEntitiesRequest) String

func (request DetectLanguageEntitiesRequest) String() string

func (DetectLanguageEntitiesRequest) ValidateEnumValue

func (request DetectLanguageEntitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageEntitiesResponse

DetectLanguageEntitiesResponse wrapper for the DetectLanguageEntities operation

type DetectLanguageEntitiesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DetectLanguageEntitiesResult instance
    DetectLanguageEntitiesResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
    Sunset *string `presentIn:"header" name:"sunset"`
}

func (DetectLanguageEntitiesResponse) HTTPResponse

func (response DetectLanguageEntitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetectLanguageEntitiesResponse) String

func (response DetectLanguageEntitiesResponse) String() string

type DetectLanguageEntitiesResult

DetectLanguageEntitiesResult Result of entities detect call.

type DetectLanguageEntitiesResult struct {

    // List of detected entities.
    Entities []Entity `mandatory:"true" json:"entities"`
}

func (DetectLanguageEntitiesResult) String

func (m DetectLanguageEntitiesResult) String() string

func (DetectLanguageEntitiesResult) ValidateEnumValue

func (m DetectLanguageEntitiesResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageKeyPhrasesDetails

DetectLanguageKeyPhrasesDetails The document details for a keyPhrases detect call.

type DetectLanguageKeyPhrasesDetails struct {

    // Document text for detect keyPhrases.
    Text *string `mandatory:"true" json:"text"`
}

func (DetectLanguageKeyPhrasesDetails) String

func (m DetectLanguageKeyPhrasesDetails) String() string

func (DetectLanguageKeyPhrasesDetails) ValidateEnumValue

func (m DetectLanguageKeyPhrasesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageKeyPhrasesRequest

DetectLanguageKeyPhrasesRequest wrapper for the DetectLanguageKeyPhrases operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageKeyPhrases.go.html to see an example of how to use DetectLanguageKeyPhrasesRequest.

type DetectLanguageKeyPhrasesRequest struct {

    // The details to make keyPhrase detect call.
    DetectLanguageKeyPhrasesDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DetectLanguageKeyPhrasesRequest) BinaryRequestBody

func (request DetectLanguageKeyPhrasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetectLanguageKeyPhrasesRequest) HTTPRequest

func (request DetectLanguageKeyPhrasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetectLanguageKeyPhrasesRequest) RetryPolicy

func (request DetectLanguageKeyPhrasesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetectLanguageKeyPhrasesRequest) String

func (request DetectLanguageKeyPhrasesRequest) String() string

func (DetectLanguageKeyPhrasesRequest) ValidateEnumValue

func (request DetectLanguageKeyPhrasesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageKeyPhrasesResponse

DetectLanguageKeyPhrasesResponse wrapper for the DetectLanguageKeyPhrases operation

type DetectLanguageKeyPhrasesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DetectLanguageKeyPhrasesResult instance
    DetectLanguageKeyPhrasesResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
    Sunset *string `presentIn:"header" name:"sunset"`
}

func (DetectLanguageKeyPhrasesResponse) HTTPResponse

func (response DetectLanguageKeyPhrasesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetectLanguageKeyPhrasesResponse) String

func (response DetectLanguageKeyPhrasesResponse) String() string

type DetectLanguageKeyPhrasesResult

DetectLanguageKeyPhrasesResult Result of a language keyPhrases detect call.

type DetectLanguageKeyPhrasesResult struct {

    // List of detected keyPhrases.
    KeyPhrases []KeyPhrase `mandatory:"true" json:"keyPhrases"`
}

func (DetectLanguageKeyPhrasesResult) String

func (m DetectLanguageKeyPhrasesResult) String() string

func (DetectLanguageKeyPhrasesResult) ValidateEnumValue

func (m DetectLanguageKeyPhrasesResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageSentimentsDetails

DetectLanguageSentimentsDetails The document details for sentiments detect call.

type DetectLanguageSentimentsDetails struct {

    // Document text for detect sentiments.
    Text *string `mandatory:"true" json:"text"`
}

func (DetectLanguageSentimentsDetails) String

func (m DetectLanguageSentimentsDetails) String() string

func (DetectLanguageSentimentsDetails) ValidateEnumValue

func (m DetectLanguageSentimentsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageSentimentsRequest

DetectLanguageSentimentsRequest wrapper for the DetectLanguageSentiments operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageSentiments.go.html to see an example of how to use DetectLanguageSentimentsRequest.

type DetectLanguageSentimentsRequest struct {

    // The details to make sentiment detect call.
    DetectLanguageSentimentsDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DetectLanguageSentimentsRequest) BinaryRequestBody

func (request DetectLanguageSentimentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetectLanguageSentimentsRequest) HTTPRequest

func (request DetectLanguageSentimentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetectLanguageSentimentsRequest) RetryPolicy

func (request DetectLanguageSentimentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetectLanguageSentimentsRequest) String

func (request DetectLanguageSentimentsRequest) String() string

func (DetectLanguageSentimentsRequest) ValidateEnumValue

func (request DetectLanguageSentimentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageSentimentsResponse

DetectLanguageSentimentsResponse wrapper for the DetectLanguageSentiments operation

type DetectLanguageSentimentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DetectLanguageSentimentsResult instance
    DetectLanguageSentimentsResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
    Sunset *string `presentIn:"header" name:"sunset"`
}

func (DetectLanguageSentimentsResponse) HTTPResponse

func (response DetectLanguageSentimentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetectLanguageSentimentsResponse) String

func (response DetectLanguageSentimentsResponse) String() string

type DetectLanguageSentimentsResult

DetectLanguageSentimentsResult Result of sentiments detect call.

type DetectLanguageSentimentsResult struct {

    // List of detected aspects.
    Aspects []SentimentAspect `mandatory:"true" json:"aspects"`
}

func (DetectLanguageSentimentsResult) String

func (m DetectLanguageSentimentsResult) String() string

func (DetectLanguageSentimentsResult) ValidateEnumValue

func (m DetectLanguageSentimentsResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageTextClassificationDetails

DetectLanguageTextClassificationDetails The document details for text classification detect call.

type DetectLanguageTextClassificationDetails struct {

    // Document text for detect text classes.
    Text *string `mandatory:"true" json:"text"`
}

func (DetectLanguageTextClassificationDetails) String

func (m DetectLanguageTextClassificationDetails) String() string

func (DetectLanguageTextClassificationDetails) ValidateEnumValue

func (m DetectLanguageTextClassificationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageTextClassificationRequest

DetectLanguageTextClassificationRequest wrapper for the DetectLanguageTextClassification operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/DetectLanguageTextClassification.go.html to see an example of how to use DetectLanguageTextClassificationRequest.

type DetectLanguageTextClassificationRequest struct {

    // The details to make text classification detect call.
    DetectLanguageTextClassificationDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DetectLanguageTextClassificationRequest) BinaryRequestBody

func (request DetectLanguageTextClassificationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetectLanguageTextClassificationRequest) HTTPRequest

func (request DetectLanguageTextClassificationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetectLanguageTextClassificationRequest) RetryPolicy

func (request DetectLanguageTextClassificationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetectLanguageTextClassificationRequest) String

func (request DetectLanguageTextClassificationRequest) String() string

func (DetectLanguageTextClassificationRequest) ValidateEnumValue

func (request DetectLanguageTextClassificationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectLanguageTextClassificationResponse

DetectLanguageTextClassificationResponse wrapper for the DetectLanguageTextClassification operation

type DetectLanguageTextClassificationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DetectLanguageTextClassificationResult instance
    DetectLanguageTextClassificationResult `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
    Sunset *string `presentIn:"header" name:"sunset"`
}

func (DetectLanguageTextClassificationResponse) HTTPResponse

func (response DetectLanguageTextClassificationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetectLanguageTextClassificationResponse) String

func (response DetectLanguageTextClassificationResponse) String() string

type DetectLanguageTextClassificationResult

DetectLanguageTextClassificationResult Result of text classification detect call.

type DetectLanguageTextClassificationResult struct {

    // List of detected text classes.
    TextClassification []TextClassification `mandatory:"true" json:"textClassification"`
}

func (DetectLanguageTextClassificationResult) String

func (m DetectLanguageTextClassificationResult) String() string

func (DetectLanguageTextClassificationResult) ValidateEnumValue

func (m DetectLanguageTextClassificationResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectedLanguage

DetectedLanguage Attributes to the detected language. Contains Language Name , Code, and Confidence Score.

type DetectedLanguage struct {

    // Full language name.
    // Example: `English, Hindi, and so on`
    Name *string `mandatory:"true" json:"name"`

    // Detected language code as per ISO 639-1 (https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) standard.
    // Example: `en, fr, hi etc`.
    Code *string `mandatory:"true" json:"code"`

    // Score or confidence of detected language code.
    // Example: `0.9999856066867399`
    Score *float64 `mandatory:"true" json:"score"`
}

func (DetectedLanguage) String

func (m DetectedLanguage) String() string

func (DetectedLanguage) ValidateEnumValue

func (m DetectedLanguage) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DocumentError

DocumentError Error response for document.

type DocumentError struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    Error *ErrorDetails `mandatory:"true" json:"error"`
}

func (DocumentError) String

func (m DocumentError) String() string

func (DocumentError) ValidateEnumValue

func (m DocumentError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DominantLanguageDocument

DominantLanguageDocument The document details for language detect call.

type DominantLanguageDocument struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // Document text for detect language.
    Text *string `mandatory:"true" json:"text"`
}

func (DominantLanguageDocument) String

func (m DominantLanguageDocument) String() string

func (DominantLanguageDocument) ValidateEnumValue

func (m DominantLanguageDocument) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DominantLanguageDocumentResult

DominantLanguageDocumentResult The document response for language detect call.

type DominantLanguageDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // List of detected languages with results sorted in descending order of the scores. Most likely language is on top.
    Languages []DetectedLanguage `mandatory:"true" json:"languages"`
}

func (DominantLanguageDocumentResult) String

func (m DominantLanguageDocumentResult) String() string

func (DominantLanguageDocumentResult) ValidateEnumValue

func (m DominantLanguageDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Endpoint

Endpoint Description of the endpoint.

type Endpoint struct {

    // Unique identifier endpoint OCID of an endpoint that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the endpoint compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the Endpoint.
    ProjectId *string `mandatory:"true" json:"projectId"`

    // The time the the endpoint was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The state of the endpoint.
    LifecycleState EndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint.
    ModelId *string `mandatory:"true" json:"modelId"`

    // A short description of the endpoint.
    Description *string `mandatory:"false" json:"description"`

    // The time the endpoint was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Number of replicas required for this endpoint.
    InferenceUnits *int `mandatory:"false" json:"inferenceUnits"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`
    SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Endpoint) String

func (m Endpoint) String() string

func (Endpoint) ValidateEnumValue

func (m Endpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EndpointCollection

EndpointCollection Results of an endpoint list. Contains EndpointSummary items.

type EndpointCollection struct {

    // List of endpoints
    Items []EndpointSummary `mandatory:"true" json:"items"`
}

func (EndpointCollection) String

func (m EndpointCollection) String() string

func (EndpointCollection) ValidateEnumValue

func (m EndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EndpointLifecycleStateEnum

EndpointLifecycleStateEnum Enum with underlying type: string

type EndpointLifecycleStateEnum string

Set of constants representing the allowable values for EndpointLifecycleStateEnum

const (
    EndpointLifecycleStateDeleting EndpointLifecycleStateEnum = "DELETING"
    EndpointLifecycleStateDeleted  EndpointLifecycleStateEnum = "DELETED"
    EndpointLifecycleStateFailed   EndpointLifecycleStateEnum = "FAILED"
    EndpointLifecycleStateCreating EndpointLifecycleStateEnum = "CREATING"
    EndpointLifecycleStateActive   EndpointLifecycleStateEnum = "ACTIVE"
    EndpointLifecycleStateUpdating EndpointLifecycleStateEnum = "UPDATING"
)

func GetEndpointLifecycleStateEnumValues

func GetEndpointLifecycleStateEnumValues() []EndpointLifecycleStateEnum

GetEndpointLifecycleStateEnumValues Enumerates the set of values for EndpointLifecycleStateEnum

func GetMappingEndpointLifecycleStateEnum

func GetMappingEndpointLifecycleStateEnum(val string) (EndpointLifecycleStateEnum, bool)

GetMappingEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type EndpointSummary

EndpointSummary Summary of the language endpoint.

type EndpointSummary struct {

    // Unique identifier endpoint OCID of an endpoint that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  for the Endpoint compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the endpoint.
    ProjectId *string `mandatory:"true" json:"projectId"`

    // The time the the endpoint was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The state of the endpoint.
    LifecycleState EndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint.
    ModelId *string `mandatory:"true" json:"modelId"`

    // A short description of the endpoint.
    Description *string `mandatory:"false" json:"description"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    InferenceUnits *int `mandatory:"false" json:"inferenceUnits"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`
    SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (EndpointSummary) String

func (m EndpointSummary) String() string

func (EndpointSummary) ValidateEnumValue

func (m EndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Entity

Entity entity object

type Entity struct {

    // The number of Unicode code points preceding this entity in the submitted text.
    Offset *int `mandatory:"false" json:"offset"`

    // Length of entity text
    Length *int `mandatory:"false" json:"length"`

    // Entity text like name of person, location, and so on.
    Text *string `mandatory:"false" json:"text"`

    // Type of entity text like PER, LOC, GPE and NOPE.
    Type *string `mandatory:"false" json:"type"`

    // This flag is to indicate if it is PII entity or not.
    IsPii *bool `mandatory:"false" json:"isPii"`

    // Score or confidence of extracted entity type.
    // Example: `0.9999856066867399`
    Score *float64 `mandatory:"false" json:"score"`
}

func (Entity) String

func (m Entity) String() string

func (Entity) ValidateEnumValue

func (m Entity) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityDocumentResult

EntityDocumentResult The document response for entities detect call.

type EntityDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // List of detected entities.
    Entities []HierarchicalEntity `mandatory:"true" json:"entities"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    LanguageCode *string `mandatory:"true" json:"languageCode"`
}

func (EntityDocumentResult) String

func (m EntityDocumentResult) String() string

func (EntityDocumentResult) ValidateEnumValue

func (m EntityDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityLabelErrorAnalysis

EntityLabelErrorAnalysis Possible entity error label error details

type EntityLabelErrorAnalysis struct {

    // Type of entity text like PER, LOC, GPE, NOPE etc.
    Type *string `mandatory:"true" json:"type"`

    // Starting index on text.
    Offset *int `mandatory:"true" json:"offset"`

    // Length of text
    Length *int `mandatory:"true" json:"length"`
}

func (EntityLabelErrorAnalysis) String

func (m EntityLabelErrorAnalysis) String() string

func (EntityLabelErrorAnalysis) ValidateEnumValue

func (m EntityLabelErrorAnalysis) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityMetrics

EntityMetrics Entity level named entity recognition model metrics

type EntityMetrics struct {

    // Entity label
    Label *string `mandatory:"true" json:"label"`

    // F1-score, is a measure of a model’s accuracy on a dataset
    F1 *float32 `mandatory:"true" json:"f1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    Precision *float32 `mandatory:"true" json:"precision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    Recall *float32 `mandatory:"true" json:"recall"`
}

func (EntityMetrics) String

func (m EntityMetrics) String() string

func (EntityMetrics) ValidateEnumValue

func (m EntityMetrics) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ErrorDetails

ErrorDetails Error Information.

type ErrorDetails struct {

    // A short error code that defines the error, meant for programmatic parsing.
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error string.
    Message *string `mandatory:"true" json:"message"`
}

func (ErrorDetails) String

func (m ErrorDetails) String() string

func (ErrorDetails) ValidateEnumValue

func (m ErrorDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EvaluationResultCollection

EvaluationResultCollection Results of a model evaluation analysis search. Contains EvaluationResultSummary items.

type EvaluationResultCollection struct {

    // List of model evaluation analysis
    Items []EvaluationResultSummary `mandatory:"true" json:"items"`
}

func (EvaluationResultCollection) String

func (m EvaluationResultCollection) String() string

func (*EvaluationResultCollection) UnmarshalJSON

func (m *EvaluationResultCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (EvaluationResultCollection) ValidateEnumValue

func (m EvaluationResultCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EvaluationResultSummary

EvaluationResultSummary model evaluation analysis of different models

type EvaluationResultSummary interface {

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type EvaluationResults

EvaluationResults model training results of different models

type EvaluationResults interface {
}

type GetEndpointRequest

GetEndpointRequest wrapper for the GetEndpoint operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetEndpoint.go.html to see an example of how to use GetEndpointRequest.

type GetEndpointRequest struct {

    // The OCID of the endpoint.
    EndpointId *string `mandatory:"true" contributesTo:"path" name:"endpointId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetEndpointRequest) BinaryRequestBody

func (request GetEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetEndpointRequest) HTTPRequest

func (request GetEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetEndpointRequest) RetryPolicy

func (request GetEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetEndpointRequest) String

func (request GetEndpointRequest) String() string

func (GetEndpointRequest) ValidateEnumValue

func (request GetEndpointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetEndpointResponse

GetEndpointResponse wrapper for the GetEndpoint operation

type GetEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Endpoint instance
    Endpoint `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetEndpointResponse) HTTPResponse

func (response GetEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetEndpointResponse) String

func (response GetEndpointResponse) String() string

type GetModelRequest

GetModelRequest wrapper for the GetModel operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetModel.go.html to see an example of how to use GetModelRequest.

type GetModelRequest struct {

    // unique model OCID.
    ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetModelRequest) BinaryRequestBody

func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetModelRequest) HTTPRequest

func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetModelRequest) RetryPolicy

func (request GetModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetModelRequest) String

func (request GetModelRequest) String() string

func (GetModelRequest) ValidateEnumValue

func (request GetModelRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetModelResponse

GetModelResponse wrapper for the GetModel operation

type GetModelResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Model instance
    Model `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetModelResponse) HTTPResponse

func (response GetModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetModelResponse) String

func (response GetModelResponse) String() string

type GetModelTypeRequest

GetModelTypeRequest wrapper for the GetModelType operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetModelType.go.html to see an example of how to use GetModelTypeRequest.

type GetModelTypeRequest struct {

    // Results like version and model supported info by specifying model type
    ModelType *string `mandatory:"true" contributesTo:"path" name:"modelType"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetModelTypeRequest) BinaryRequestBody

func (request GetModelTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetModelTypeRequest) HTTPRequest

func (request GetModelTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetModelTypeRequest) RetryPolicy

func (request GetModelTypeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetModelTypeRequest) String

func (request GetModelTypeRequest) String() string

func (GetModelTypeRequest) ValidateEnumValue

func (request GetModelTypeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetModelTypeResponse

GetModelTypeResponse wrapper for the GetModelType operation

type GetModelTypeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ModelTypeInfo instance
    ModelTypeInfo `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetModelTypeResponse) HTTPResponse

func (response GetModelTypeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetModelTypeResponse) String

func (response GetModelTypeResponse) String() string

type GetProjectRequest

GetProjectRequest wrapper for the GetProject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetProject.go.html to see an example of how to use GetProjectRequest.

type GetProjectRequest struct {

    // The OCID of the project.
    ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetProjectRequest) BinaryRequestBody

func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetProjectRequest) HTTPRequest

func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProjectRequest) RetryPolicy

func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetProjectRequest) String

func (request GetProjectRequest) String() string

func (GetProjectRequest) ValidateEnumValue

func (request GetProjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetProjectResponse

GetProjectResponse wrapper for the GetProject operation

type GetProjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Project instance
    Project `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetProjectResponse) HTTPResponse

func (response GetProjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetProjectResponse) String

func (response GetProjectResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HierarchicalEntity

HierarchicalEntity Hierarchical entity object

type HierarchicalEntity struct {

    // The number of Unicode code points preceding this entity in the submitted text.
    Offset *int `mandatory:"false" json:"offset"`

    // Length of entity text
    Length *int `mandatory:"false" json:"length"`

    // Entity text like name of person, location, and so on.
    Text *string `mandatory:"false" json:"text"`

    // Type of entity text like PER, LOC.
    Type *string `mandatory:"false" json:"type"`

    // Sub-type of entity text like GPE for LOCATION type
    SubType *string `mandatory:"false" json:"subType"`

    // Score or confidence for detected entity.
    Score *float64 `mandatory:"false" json:"score"`
}

func (HierarchicalEntity) String

func (m HierarchicalEntity) String() string

func (HierarchicalEntity) ValidateEnumValue

func (m HierarchicalEntity) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KeyPhrase

KeyPhrase Key phrase for the given text.

type KeyPhrase struct {

    // Key phrase exreacted from given text.
    Text *string `mandatory:"true" json:"text"`

    // Score or confidence of the key phrase.
    // Example: `0.9999856066867399`
    Score *float64 `mandatory:"true" json:"score"`
}

func (KeyPhrase) String

func (m KeyPhrase) String() string

func (KeyPhrase) ValidateEnumValue

func (m KeyPhrase) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KeyPhraseDocumentResult

KeyPhraseDocumentResult The document response for keyPhrases detect call.

type KeyPhraseDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // List of detected keyPhrases.
    KeyPhrases []KeyPhrase `mandatory:"true" json:"keyPhrases"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    LanguageCode *string `mandatory:"true" json:"languageCode"`
}

func (KeyPhraseDocumentResult) String

func (m KeyPhraseDocumentResult) String() string

func (KeyPhraseDocumentResult) ValidateEnumValue

func (m KeyPhraseDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListEndpointsRequest

ListEndpointsRequest wrapper for the ListEndpoints operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListEndpoints.go.html to see an example of how to use ListEndpointsRequest.

type ListEndpointsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The OCID of the endpoint.
    EndpointId *string `mandatory:"false" contributesTo:"query" name:"endpointId"`

    // The ID of the project for which to list the objects.
    ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The ID of the trained model for which to list the endpoints.
    ModelId *string `mandatory:"false" contributesTo:"query" name:"modelId"`

    // <b>Filter</b> results by the specified lifecycle state. Must be a valid
    // state for the resource type.
    LifecycleState EndpointLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies the field to sort by. Accepts only one field.
    // By default, when you sort by `timeCreated`, the results are shown
    // in descending order. When you sort by `displayName`, the results are
    // shown in ascending order. Sort order for the `displayName` field is case sensitive.
    SortBy ListEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListEndpointsRequest) BinaryRequestBody

func (request ListEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListEndpointsRequest) HTTPRequest

func (request ListEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListEndpointsRequest) RetryPolicy

func (request ListEndpointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListEndpointsRequest) String

func (request ListEndpointsRequest) String() string

func (ListEndpointsRequest) ValidateEnumValue

func (request ListEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListEndpointsResponse

ListEndpointsResponse wrapper for the ListEndpoints operation

type ListEndpointsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of EndpointCollection instances
    EndpointCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListEndpointsResponse) HTTPResponse

func (response ListEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListEndpointsResponse) String

func (response ListEndpointsResponse) String() string

type ListEndpointsSortByEnum

ListEndpointsSortByEnum Enum with underlying type: string

type ListEndpointsSortByEnum string

Set of constants representing the allowable values for ListEndpointsSortByEnum

const (
    ListEndpointsSortByTimecreated ListEndpointsSortByEnum = "timeCreated"
    ListEndpointsSortByDisplayname ListEndpointsSortByEnum = "displayName"
)

func GetListEndpointsSortByEnumValues

func GetListEndpointsSortByEnumValues() []ListEndpointsSortByEnum

GetListEndpointsSortByEnumValues Enumerates the set of values for ListEndpointsSortByEnum

func GetMappingListEndpointsSortByEnum

func GetMappingListEndpointsSortByEnum(val string) (ListEndpointsSortByEnum, bool)

GetMappingListEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEndpointsSortOrderEnum

ListEndpointsSortOrderEnum Enum with underlying type: string

type ListEndpointsSortOrderEnum string

Set of constants representing the allowable values for ListEndpointsSortOrderEnum

const (
    ListEndpointsSortOrderAsc  ListEndpointsSortOrderEnum = "ASC"
    ListEndpointsSortOrderDesc ListEndpointsSortOrderEnum = "DESC"
)

func GetListEndpointsSortOrderEnumValues

func GetListEndpointsSortOrderEnumValues() []ListEndpointsSortOrderEnum

GetListEndpointsSortOrderEnumValues Enumerates the set of values for ListEndpointsSortOrderEnum

func GetMappingListEndpointsSortOrderEnum

func GetMappingListEndpointsSortOrderEnum(val string) (ListEndpointsSortOrderEnum, bool)

GetMappingListEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEvaluationResultsRequest

ListEvaluationResultsRequest wrapper for the ListEvaluationResults operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListEvaluationResults.go.html to see an example of how to use ListEvaluationResultsRequest.

type ListEvaluationResultsRequest struct {

    // unique model OCID.
    ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListEvaluationResultsRequest) BinaryRequestBody

func (request ListEvaluationResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListEvaluationResultsRequest) HTTPRequest

func (request ListEvaluationResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListEvaluationResultsRequest) RetryPolicy

func (request ListEvaluationResultsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListEvaluationResultsRequest) String

func (request ListEvaluationResultsRequest) String() string

func (ListEvaluationResultsRequest) ValidateEnumValue

func (request ListEvaluationResultsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListEvaluationResultsResponse

ListEvaluationResultsResponse wrapper for the ListEvaluationResults operation

type ListEvaluationResultsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of EvaluationResultCollection instances
    EvaluationResultCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListEvaluationResultsResponse) HTTPResponse

func (response ListEvaluationResultsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListEvaluationResultsResponse) String

func (response ListEvaluationResultsResponse) String() string

type ListModelsRequest

ListModelsRequest wrapper for the ListModels operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListModels.go.html to see an example of how to use ListModelsRequest.

type ListModelsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // unique model OCID.
    ModelId *string `mandatory:"false" contributesTo:"query" name:"modelId"`

    // The ID of the project for which to list the objects.
    ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"`

    // <b>Filter</b> results by the specified lifecycle state. Must be a valid
    // state for the resource type.
    LifecycleState ModelLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListModelsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies the field to sort by. Accepts only one field.
    // By default, when you sort by `timeCreated`, the results are shown
    // in descending order. When you sort by `displayName`, the results are
    // shown in ascending order. Sort order for the `displayName` field is case sensitive.
    SortBy ListModelsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListModelsRequest) BinaryRequestBody

func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListModelsRequest) HTTPRequest

func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListModelsRequest) RetryPolicy

func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListModelsRequest) String

func (request ListModelsRequest) String() string

func (ListModelsRequest) ValidateEnumValue

func (request ListModelsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListModelsResponse

ListModelsResponse wrapper for the ListModels operation

type ListModelsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ModelCollection instances
    ModelCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListModelsResponse) HTTPResponse

func (response ListModelsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListModelsResponse) String

func (response ListModelsResponse) String() string

type ListModelsSortByEnum

ListModelsSortByEnum Enum with underlying type: string

type ListModelsSortByEnum string

Set of constants representing the allowable values for ListModelsSortByEnum

const (
    ListModelsSortByTimecreated ListModelsSortByEnum = "timeCreated"
    ListModelsSortByDisplayname ListModelsSortByEnum = "displayName"
)

func GetListModelsSortByEnumValues

func GetListModelsSortByEnumValues() []ListModelsSortByEnum

GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum

func GetMappingListModelsSortByEnum

func GetMappingListModelsSortByEnum(val string) (ListModelsSortByEnum, bool)

GetMappingListModelsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModelsSortOrderEnum

ListModelsSortOrderEnum Enum with underlying type: string

type ListModelsSortOrderEnum string

Set of constants representing the allowable values for ListModelsSortOrderEnum

const (
    ListModelsSortOrderAsc  ListModelsSortOrderEnum = "ASC"
    ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC"
)

func GetListModelsSortOrderEnumValues

func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum

GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum

func GetMappingListModelsSortOrderEnum

func GetMappingListModelsSortOrderEnum(val string) (ListModelsSortOrderEnum, bool)

GetMappingListModelsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProjectsRequest

ListProjectsRequest wrapper for the ListProjects operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListProjects.go.html to see an example of how to use ListProjectsRequest.

type ListProjectsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // <b>Filter</b> results by the specified lifecycle state. Must be a valid
    // state for the resource type.
    LifecycleState ProjectLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The ID of the project for which to list the objects.
    ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListProjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies the field to sort by. Accepts only one field.
    // By default, when you sort by `timeCreated`, the results are shown
    // in descending order. When you sort by `displayName`, the results are
    // shown in ascending order. Sort order for the `displayName` field is case sensitive.
    SortBy ListProjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListProjectsRequest) BinaryRequestBody

func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProjectsRequest) HTTPRequest

func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProjectsRequest) RetryPolicy

func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProjectsRequest) String

func (request ListProjectsRequest) String() string

func (ListProjectsRequest) ValidateEnumValue

func (request ListProjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProjectsResponse

ListProjectsResponse wrapper for the ListProjects operation

type ListProjectsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProjectCollection instances
    ProjectCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListProjectsResponse) HTTPResponse

func (response ListProjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProjectsResponse) String

func (response ListProjectsResponse) String() string

type ListProjectsSortByEnum

ListProjectsSortByEnum Enum with underlying type: string

type ListProjectsSortByEnum string

Set of constants representing the allowable values for ListProjectsSortByEnum

const (
    ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated"
    ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName"
)

func GetListProjectsSortByEnumValues

func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum

GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum

func GetMappingListProjectsSortByEnum

func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)

GetMappingListProjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProjectsSortOrderEnum

ListProjectsSortOrderEnum Enum with underlying type: string

type ListProjectsSortOrderEnum string

Set of constants representing the allowable values for ListProjectsSortOrderEnum

const (
    ListProjectsSortOrderAsc  ListProjectsSortOrderEnum = "ASC"
    ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC"
)

func GetListProjectsSortOrderEnumValues

func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum

GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum

func GetMappingListProjectsSortOrderEnum

func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)

GetMappingListProjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
    ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "displayName"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogCollection instances
    WorkRequestLogCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
    ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "displayName"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The ID of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The ID of the resource for which list workrequests.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
    SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestSummaryCollection instances
    WorkRequestSummaryCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "timeCreated"
    ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "displayName"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type LocationDetails

LocationDetails Possible object storage location types

type LocationDetails interface {
}

type LocationDetailsLocationTypeEnum

LocationDetailsLocationTypeEnum Enum with underlying type: string

type LocationDetailsLocationTypeEnum string

Set of constants representing the allowable values for LocationDetailsLocationTypeEnum

const (
    LocationDetailsLocationTypeObjectList LocationDetailsLocationTypeEnum = "OBJECT_LIST"
)

func GetLocationDetailsLocationTypeEnumValues

func GetLocationDetailsLocationTypeEnumValues() []LocationDetailsLocationTypeEnum

GetLocationDetailsLocationTypeEnumValues Enumerates the set of values for LocationDetailsLocationTypeEnum

func GetMappingLocationDetailsLocationTypeEnum

func GetMappingLocationDetailsLocationTypeEnum(val string) (LocationDetailsLocationTypeEnum, bool)

GetMappingLocationDetailsLocationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type Model

Model Description of the a Model.

type Model struct {

    // Unique identifier model OCID of a model that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  for the model's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
    ProjectId *string `mandatory:"true" json:"projectId"`

    ModelDetails ModelDetails `mandatory:"true" json:"modelDetails"`

    // The time the the model was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The state of the model.
    LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A short description of the Model.
    Description *string `mandatory:"false" json:"description"`

    // The time the model was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    TrainingDataset DatasetDetails `mandatory:"false" json:"trainingDataset"`

    EvaluationResults EvaluationResults `mandatory:"false" json:"evaluationResults"`

    TestStrategy TestStrategy `mandatory:"false" json:"testStrategy"`

    // For pre trained models this will identify model type version used for model creation
    // For custom identifying the model by model id is difficult. This param provides ease of use for end customer.
    // <<service>>::<<service-name>>_<<model-type-version>>::<<custom model on which this training has to be done>>
    // ex: ai-lang::NER_V1::CUSTOM-V0
    Version *string `mandatory:"false" json:"version"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`
    SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Model) String

func (m Model) String() string

func (*Model) UnmarshalJSON

func (m *Model) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Model) ValidateEnumValue

func (m Model) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModelCollection

ModelCollection Results of a model search. Contains ModelSummary items.

type ModelCollection struct {

    // List of models
    Items []ModelSummary `mandatory:"true" json:"items"`
}

func (ModelCollection) String

func (m ModelCollection) String() string

func (ModelCollection) ValidateEnumValue

func (m ModelCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModelDetails

ModelDetails Possible model types

type ModelDetails interface {

    // supported language default value is en
    GetLanguageCode() *string
}

type ModelDetailsModelTypeEnum

ModelDetailsModelTypeEnum Enum with underlying type: string

type ModelDetailsModelTypeEnum string

Set of constants representing the allowable values for ModelDetailsModelTypeEnum

const (
    ModelDetailsModelTypeNamedEntityRecognition           ModelDetailsModelTypeEnum = "NAMED_ENTITY_RECOGNITION"
    ModelDetailsModelTypeTextClassification               ModelDetailsModelTypeEnum = "TEXT_CLASSIFICATION"
    ModelDetailsModelTypePreTrainedNamedEntityRecognition ModelDetailsModelTypeEnum = "PRE_TRAINED_NAMED_ENTITY_RECOGNITION"
    ModelDetailsModelTypePreTrainedTextClassification     ModelDetailsModelTypeEnum = "PRE_TRAINED_TEXT_CLASSIFICATION"
    ModelDetailsModelTypePreTrainedSentimentAnalysis      ModelDetailsModelTypeEnum = "PRE_TRAINED_SENTIMENT_ANALYSIS"
    ModelDetailsModelTypePreTrainedKeyphraseExtraction    ModelDetailsModelTypeEnum = "PRE_TRAINED_KEYPHRASE_EXTRACTION"
    ModelDetailsModelTypePreTrainedLanguageDetection      ModelDetailsModelTypeEnum = "PRE_TRAINED_LANGUAGE_DETECTION"
    ModelDetailsModelTypePreTrainedPii                    ModelDetailsModelTypeEnum = "PRE_TRAINED_PII"
    ModelDetailsModelTypePreTrainedTranslation            ModelDetailsModelTypeEnum = "PRE_TRAINED_TRANSLATION"
    ModelDetailsModelTypePreTrainedHealthNlu              ModelDetailsModelTypeEnum = "PRE_TRAINED_HEALTH_NLU"
    ModelDetailsModelTypePreTrainedSummarization          ModelDetailsModelTypeEnum = "PRE_TRAINED_SUMMARIZATION"
    ModelDetailsModelTypePreTrainedUniversal              ModelDetailsModelTypeEnum = "PRE_TRAINED_UNIVERSAL"
)

func GetMappingModelDetailsModelTypeEnum

func GetMappingModelDetailsModelTypeEnum(val string) (ModelDetailsModelTypeEnum, bool)

GetMappingModelDetailsModelTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetModelDetailsModelTypeEnumValues

func GetModelDetailsModelTypeEnumValues() []ModelDetailsModelTypeEnum

GetModelDetailsModelTypeEnumValues Enumerates the set of values for ModelDetailsModelTypeEnum

type ModelLifecycleStateEnum

ModelLifecycleStateEnum Enum with underlying type: string

type ModelLifecycleStateEnum string

Set of constants representing the allowable values for ModelLifecycleStateEnum

const (
    ModelLifecycleStateDeleting ModelLifecycleStateEnum = "DELETING"
    ModelLifecycleStateDeleted  ModelLifecycleStateEnum = "DELETED"
    ModelLifecycleStateFailed   ModelLifecycleStateEnum = "FAILED"
    ModelLifecycleStateCreating ModelLifecycleStateEnum = "CREATING"
    ModelLifecycleStateActive   ModelLifecycleStateEnum = "ACTIVE"
    ModelLifecycleStateUpdating ModelLifecycleStateEnum = "UPDATING"
)

func GetMappingModelLifecycleStateEnum

func GetMappingModelLifecycleStateEnum(val string) (ModelLifecycleStateEnum, bool)

GetMappingModelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetModelLifecycleStateEnumValues

func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum

GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum

type ModelSummary

ModelSummary Summary of the language Model.

type ModelSummary struct {

    // Unique identifier model OCID of a model that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  for the model's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    ModelDetails ModelDetails `mandatory:"true" json:"modelDetails"`

    // The time the the Model was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The state of the model.
    LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
    ProjectId *string `mandatory:"true" json:"projectId"`

    // A short description of the Model.
    Description *string `mandatory:"false" json:"description"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // For pre trained models this will identify model type version used for model creation
    // For custom identifying the model by model id is difficult. This param provides ease of use for end customer.
    // <<service>>::<<service-name>>-<<model-type-version>>::<<custom model on which this training has to be done>>
    // ex: ai-lang::NER_V1::CUSTOM-V0
    Version *string `mandatory:"false" json:"version"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`
    SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ModelSummary) String

func (m ModelSummary) String() string

func (*ModelSummary) UnmarshalJSON

func (m *ModelSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ModelSummary) ValidateEnumValue

func (m ModelSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModelTypeInfo

ModelTypeInfo Model information like versions and capabilities

type ModelTypeInfo struct {

    // Model information capabilities related to version
    Capabilities map[string]Capabilities `mandatory:"true" json:"capabilities"`

    // Model versions available for this model type
    Versions []string `mandatory:"false" json:"versions"`
}

func (ModelTypeInfo) String

func (m ModelTypeInfo) String() string

func (ModelTypeInfo) ValidateEnumValue

func (m ModelTypeInfo) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamedEntityRecognitionEvaluationResult

NamedEntityRecognitionEvaluationResult Possible NER model error analysis

type NamedEntityRecognitionEvaluationResult struct {

    // For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)
    Record *string `mandatory:"true" json:"record"`

    // List of true(actual) entities in test data for NER model
    TrueEntities []EntityLabelErrorAnalysis `mandatory:"true" json:"trueEntities"`

    // List of true(actual) entities in test data for NER model
    PredictedEntities []EntityLabelErrorAnalysis `mandatory:"true" json:"predictedEntities"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (NamedEntityRecognitionEvaluationResult) GetDefinedTags

func (m NamedEntityRecognitionEvaluationResult) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (NamedEntityRecognitionEvaluationResult) GetFreeformTags

func (m NamedEntityRecognitionEvaluationResult) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (NamedEntityRecognitionEvaluationResult) MarshalJSON

func (m NamedEntityRecognitionEvaluationResult) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NamedEntityRecognitionEvaluationResult) String

func (m NamedEntityRecognitionEvaluationResult) String() string

func (NamedEntityRecognitionEvaluationResult) ValidateEnumValue

func (m NamedEntityRecognitionEvaluationResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamedEntityRecognitionEvaluationResults

NamedEntityRecognitionEvaluationResults Named entity recognition model testing and evaluation results

type NamedEntityRecognitionEvaluationResults struct {
    Metrics *NamedEntityRecognitionModelMetrics `mandatory:"false" json:"metrics"`

    // List of entity metrics
    EntityMetrics []EntityMetrics `mandatory:"false" json:"entityMetrics"`

    // class level confusion matrix
    ConfusionMatrix map[string]ConfusionMatrixDetails `mandatory:"false" json:"confusionMatrix"`

    // labels
    Labels []string `mandatory:"false" json:"labels"`
}

func (NamedEntityRecognitionEvaluationResults) MarshalJSON

func (m NamedEntityRecognitionEvaluationResults) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NamedEntityRecognitionEvaluationResults) String

func (m NamedEntityRecognitionEvaluationResults) String() string

func (NamedEntityRecognitionEvaluationResults) ValidateEnumValue

func (m NamedEntityRecognitionEvaluationResults) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamedEntityRecognitionModelDetails

NamedEntityRecognitionModelDetails Possible NER model information

type NamedEntityRecognitionModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional if nothing specified latest base model will be used for training. Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (NamedEntityRecognitionModelDetails) GetLanguageCode

func (m NamedEntityRecognitionModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (NamedEntityRecognitionModelDetails) MarshalJSON

func (m NamedEntityRecognitionModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NamedEntityRecognitionModelDetails) String

func (m NamedEntityRecognitionModelDetails) String() string

func (NamedEntityRecognitionModelDetails) ValidateEnumValue

func (m NamedEntityRecognitionModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamedEntityRecognitionModelMetrics

NamedEntityRecognitionModelMetrics Model level named entity recognition metrics

type NamedEntityRecognitionModelMetrics struct {

    // F1-score, is a measure of a model’s accuracy on a dataset
    MicroF1 *float32 `mandatory:"true" json:"microF1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    MicroPrecision *float32 `mandatory:"true" json:"microPrecision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    MicroRecall *float32 `mandatory:"true" json:"microRecall"`

    // F1-score, is a measure of a model’s accuracy on a dataset
    MacroF1 *float32 `mandatory:"true" json:"macroF1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    MacroPrecision *float32 `mandatory:"true" json:"macroPrecision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    MacroRecall *float32 `mandatory:"true" json:"macroRecall"`

    // F1-score, is a measure of a model’s accuracy on a dataset
    WeightedF1 *float32 `mandatory:"false" json:"weightedF1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    WeightedPrecision *float32 `mandatory:"false" json:"weightedPrecision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    WeightedRecall *float32 `mandatory:"false" json:"weightedRecall"`
}

func (NamedEntityRecognitionModelMetrics) String

func (m NamedEntityRecognitionModelMetrics) String() string

func (NamedEntityRecognitionModelMetrics) ValidateEnumValue

func (m NamedEntityRecognitionModelMetrics) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NerModelVersionEnum

NerModelVersionEnum Enum with underlying type: string

type NerModelVersionEnum string

Set of constants representing the allowable values for NerModelVersionEnum

const (
    NerModelVersionV21 NerModelVersionEnum = "V2_1"
    NerModelVersionV11 NerModelVersionEnum = "V1_1"
)

func GetMappingNerModelVersionEnum

func GetMappingNerModelVersionEnum(val string) (NerModelVersionEnum, bool)

GetMappingNerModelVersionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNerModelVersionEnumValues

func GetNerModelVersionEnumValues() []NerModelVersionEnum

GetNerModelVersionEnumValues Enumerates the set of values for NerModelVersionEnum

type ObjectListDataset

ObjectListDataset Data source details for object storage

type ObjectListDataset struct {

    // Object storage namespace
    NamespaceName *string `mandatory:"true" json:"namespaceName"`

    // Object storage bucket name
    BucketName *string `mandatory:"true" json:"bucketName"`

    // Array of files which need to be processed in the bucket
    ObjectNames []string `mandatory:"true" json:"objectNames"`
}

func (ObjectListDataset) MarshalJSON

func (m ObjectListDataset) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ObjectListDataset) String

func (m ObjectListDataset) String() string

func (ObjectListDataset) ValidateEnumValue

func (m ObjectListDataset) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectStorageDataset

ObjectStorageDataset Different type of location types supported for object storage

type ObjectStorageDataset struct {
    LocationDetails LocationDetails `mandatory:"true" json:"locationDetails"`
}

func (ObjectStorageDataset) MarshalJSON

func (m ObjectStorageDataset) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ObjectStorageDataset) String

func (m ObjectStorageDataset) String() string

func (*ObjectStorageDataset) UnmarshalJSON

func (m *ObjectStorageDataset) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ObjectStorageDataset) ValidateEnumValue

func (m ObjectStorageDataset) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
    OperationStatusFailed         OperationStatusEnum = "FAILED"
    OperationStatusWaiting        OperationStatusEnum = "WAITING"
    OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling      OperationStatusEnum = "CANCELING"
    OperationStatusCanceled       OperationStatusEnum = "CANCELED"
    OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreateModel    OperationTypeEnum = "CREATE_MODEL"
    OperationTypeUpdateModel    OperationTypeEnum = "UPDATE_MODEL"
    OperationTypeDeleteModel    OperationTypeEnum = "DELETE_MODEL"
    OperationTypeCreateProject  OperationTypeEnum = "CREATE_PROJECT"
    OperationTypeUpdateProject  OperationTypeEnum = "UPDATE_PROJECT"
    OperationTypeDeleteProject  OperationTypeEnum = "DELETE_PROJECT"
    OperationTypeCreateEndpoint OperationTypeEnum = "CREATE_ENDPOINT"
    OperationTypeUpdateEndpoint OperationTypeEnum = "UPDATE_ENDPOINT"
    OperationTypeDeleteEndpoint OperationTypeEnum = "DELETE_ENDPOINT"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PiiEntity

PiiEntity PII entity object.

type PiiEntity struct {

    // The number of Unicode code points preceding this entity in the submitted text.
    Offset *int `mandatory:"false" json:"offset"`

    // Length of PII entity text.
    Length *int `mandatory:"false" json:"length"`

    // Entity text like name of person, Organization and so on.
    Text *string `mandatory:"false" json:"text"`

    // Type of PII entity text like PER, LOC.
    Type *string `mandatory:"false" json:"type"`

    // Score or confidence for detected PII entity.
    Score *float64 `mandatory:"false" json:"score"`
}

func (PiiEntity) String

func (m PiiEntity) String() string

func (PiiEntity) ValidateEnumValue

func (m PiiEntity) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PiiEntityDocumentResult

PiiEntityDocumentResult The document response for batch detect personal identification.

type PiiEntityDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // List of batch detect personal identification.
    Entities []PiiEntity `mandatory:"true" json:"entities"`

    // Masked text per given mask mode.
    MaskedText *string `mandatory:"true" json:"maskedText"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    LanguageCode *string `mandatory:"true" json:"languageCode"`
}

func (PiiEntityDocumentResult) String

func (m PiiEntityDocumentResult) String() string

func (PiiEntityDocumentResult) ValidateEnumValue

func (m PiiEntityDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PiiEntityMask

PiiEntityMask Mask PII entities with the given masking character.

type PiiEntityMask struct {

    // Masking character. By default, the character is an asterisk (*)
    MaskingCharacter *string `mandatory:"false" json:"maskingCharacter"`

    // Number of characters to leave unmasked. By default, the whole entity is masked.
    LeaveCharactersUnmasked *int `mandatory:"false" json:"leaveCharactersUnmasked"`

    // Unmask from the end. By default, the whole entity is masked. This field works in concert with
    // leaveCharactersUnmasked. For example, leaveCharactersUnmasked is 3 and isUnmaskedFromEnd is true,
    // then if the entity is India the masked entity/result is **dia.
    IsUnmaskedFromEnd *bool `mandatory:"false" json:"isUnmaskedFromEnd"`
}

func (PiiEntityMask) MarshalJSON

func (m PiiEntityMask) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PiiEntityMask) String

func (m PiiEntityMask) String() string

func (PiiEntityMask) ValidateEnumValue

func (m PiiEntityMask) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PiiEntityMasking

PiiEntityMasking Mask recognized PII entities with different modes.

type PiiEntityMasking interface {
}

type PiiEntityMaskingModeEnum

PiiEntityMaskingModeEnum Enum with underlying type: string

type PiiEntityMaskingModeEnum string

Set of constants representing the allowable values for PiiEntityMaskingModeEnum

const (
    PiiEntityMaskingModeReplace PiiEntityMaskingModeEnum = "REPLACE"
    PiiEntityMaskingModeMask    PiiEntityMaskingModeEnum = "MASK"
    PiiEntityMaskingModeRemove  PiiEntityMaskingModeEnum = "REMOVE"
)

func GetMappingPiiEntityMaskingModeEnum

func GetMappingPiiEntityMaskingModeEnum(val string) (PiiEntityMaskingModeEnum, bool)

GetMappingPiiEntityMaskingModeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPiiEntityMaskingModeEnumValues

func GetPiiEntityMaskingModeEnumValues() []PiiEntityMaskingModeEnum

GetPiiEntityMaskingModeEnumValues Enumerates the set of values for PiiEntityMaskingModeEnum

type PiiEntityRemove

PiiEntityRemove Remove PII entities from output.

type PiiEntityRemove struct {
}

func (PiiEntityRemove) MarshalJSON

func (m PiiEntityRemove) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PiiEntityRemove) String

func (m PiiEntityRemove) String() string

func (PiiEntityRemove) ValidateEnumValue

func (m PiiEntityRemove) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PiiEntityReplace

PiiEntityReplace Replace PII entities with a given sequence of characters.

type PiiEntityReplace struct {

    // Replace entities with given sequence of characters. By default PII entity will be replaced with <ENTITY_TYPE>.
    ReplaceWith *string `mandatory:"false" json:"replaceWith"`
}

func (PiiEntityReplace) MarshalJSON

func (m PiiEntityReplace) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PiiEntityReplace) String

func (m PiiEntityReplace) String() string

func (PiiEntityReplace) ValidateEnumValue

func (m PiiEntityReplace) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreDeployedLanguageModels

PreDeployedLanguageModels Description of Language Entities.

type PreDeployedLanguageModels struct {

    // Unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Language Entities Description
    Description *string `mandatory:"false" json:"description"`
}

func (PreDeployedLanguageModels) String

func (m PreDeployedLanguageModels) String() string

func (PreDeployedLanguageModels) ValidateEnumValue

func (m PreDeployedLanguageModels) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedHealthNluModelDetails

PreTrainedHealthNluModelDetails Possible pre trained health NLU model information

type PreTrainedHealthNluModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedHealthNluModelDetails) GetLanguageCode

func (m PreTrainedHealthNluModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedHealthNluModelDetails) MarshalJSON

func (m PreTrainedHealthNluModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedHealthNluModelDetails) String

func (m PreTrainedHealthNluModelDetails) String() string

func (PreTrainedHealthNluModelDetails) ValidateEnumValue

func (m PreTrainedHealthNluModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedKeyPhraseExtractionModelDetails

PreTrainedKeyPhraseExtractionModelDetails Possible pre trained TXT model information

type PreTrainedKeyPhraseExtractionModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedKeyPhraseExtractionModelDetails) GetLanguageCode

func (m PreTrainedKeyPhraseExtractionModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedKeyPhraseExtractionModelDetails) MarshalJSON

func (m PreTrainedKeyPhraseExtractionModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedKeyPhraseExtractionModelDetails) String

func (m PreTrainedKeyPhraseExtractionModelDetails) String() string

func (PreTrainedKeyPhraseExtractionModelDetails) ValidateEnumValue

func (m PreTrainedKeyPhraseExtractionModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedLanguageDetectionModelDetails

PreTrainedLanguageDetectionModelDetails Possible pre trained TXT model information

type PreTrainedLanguageDetectionModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedLanguageDetectionModelDetails) GetLanguageCode

func (m PreTrainedLanguageDetectionModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedLanguageDetectionModelDetails) MarshalJSON

func (m PreTrainedLanguageDetectionModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedLanguageDetectionModelDetails) String

func (m PreTrainedLanguageDetectionModelDetails) String() string

func (PreTrainedLanguageDetectionModelDetails) ValidateEnumValue

func (m PreTrainedLanguageDetectionModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedNamedEntityRecognitionModelDetails

PreTrainedNamedEntityRecognitionModelDetails Possible pre trained NER model information

type PreTrainedNamedEntityRecognitionModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedNamedEntityRecognitionModelDetails) GetLanguageCode

func (m PreTrainedNamedEntityRecognitionModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedNamedEntityRecognitionModelDetails) MarshalJSON

func (m PreTrainedNamedEntityRecognitionModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedNamedEntityRecognitionModelDetails) String

func (m PreTrainedNamedEntityRecognitionModelDetails) String() string

func (PreTrainedNamedEntityRecognitionModelDetails) ValidateEnumValue

func (m PreTrainedNamedEntityRecognitionModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedPhiModelDetails

PreTrainedPhiModelDetails Possible pre trained PHI model information

type PreTrainedPhiModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedPhiModelDetails) GetLanguageCode

func (m PreTrainedPhiModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedPhiModelDetails) MarshalJSON

func (m PreTrainedPhiModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedPhiModelDetails) String

func (m PreTrainedPhiModelDetails) String() string

func (PreTrainedPhiModelDetails) ValidateEnumValue

func (m PreTrainedPhiModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedPiiModelDetails

PreTrainedPiiModelDetails Possible pre trained PII model information

type PreTrainedPiiModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedPiiModelDetails) GetLanguageCode

func (m PreTrainedPiiModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedPiiModelDetails) MarshalJSON

func (m PreTrainedPiiModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedPiiModelDetails) String

func (m PreTrainedPiiModelDetails) String() string

func (PreTrainedPiiModelDetails) ValidateEnumValue

func (m PreTrainedPiiModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedSentimentAnalysisModelDetails

PreTrainedSentimentAnalysisModelDetails Possible pre trained TXT model information

type PreTrainedSentimentAnalysisModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedSentimentAnalysisModelDetails) GetLanguageCode

func (m PreTrainedSentimentAnalysisModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedSentimentAnalysisModelDetails) MarshalJSON

func (m PreTrainedSentimentAnalysisModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedSentimentAnalysisModelDetails) String

func (m PreTrainedSentimentAnalysisModelDetails) String() string

func (PreTrainedSentimentAnalysisModelDetails) ValidateEnumValue

func (m PreTrainedSentimentAnalysisModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedSummarization

PreTrainedSummarization Possible pre trained summarization information

type PreTrainedSummarization struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedSummarization) GetLanguageCode

func (m PreTrainedSummarization) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedSummarization) MarshalJSON

func (m PreTrainedSummarization) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedSummarization) String

func (m PreTrainedSummarization) String() string

func (PreTrainedSummarization) ValidateEnumValue

func (m PreTrainedSummarization) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedTextClassificationModelDetails

PreTrainedTextClassificationModelDetails Possible pre trained TXT model information

type PreTrainedTextClassificationModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedTextClassificationModelDetails) GetLanguageCode

func (m PreTrainedTextClassificationModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedTextClassificationModelDetails) MarshalJSON

func (m PreTrainedTextClassificationModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedTextClassificationModelDetails) String

func (m PreTrainedTextClassificationModelDetails) String() string

func (PreTrainedTextClassificationModelDetails) ValidateEnumValue

func (m PreTrainedTextClassificationModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreTrainedUniversalModel

PreTrainedUniversalModel Possible pre trained universal model information

type PreTrainedUniversalModel struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    // Optional pre trained model version. if nothing specified latest pre trained model will be used.
    // Supported versions can be found at /modelTypes/{modelType}
    Version *string `mandatory:"false" json:"version"`
}

func (PreTrainedUniversalModel) GetLanguageCode

func (m PreTrainedUniversalModel) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (PreTrainedUniversalModel) MarshalJSON

func (m PreTrainedUniversalModel) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreTrainedUniversalModel) String

func (m PreTrainedUniversalModel) String() string

func (PreTrainedUniversalModel) ValidateEnumValue

func (m PreTrainedUniversalModel) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Project

Project Project enable users to organize their project resources.

type Project struct {

    // Unique identifier OCID of the project
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  for the project's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The state of the project.
    LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A short description of a project.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the resource was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`
    SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Project) String

func (m Project) String() string

func (Project) ValidateEnumValue

func (m Project) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProjectCollection

ProjectCollection Results of a Project List. Contains ProjectSummary items.

type ProjectCollection struct {

    // List of projects
    Items []ProjectSummary `mandatory:"true" json:"items"`
}

func (ProjectCollection) String

func (m ProjectCollection) String() string

func (ProjectCollection) ValidateEnumValue

func (m ProjectCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProjectLifecycleStateEnum

ProjectLifecycleStateEnum Enum with underlying type: string

type ProjectLifecycleStateEnum string

Set of constants representing the allowable values for ProjectLifecycleStateEnum

const (
    ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING"
    ProjectLifecycleStateDeleted  ProjectLifecycleStateEnum = "DELETED"
    ProjectLifecycleStateFailed   ProjectLifecycleStateEnum = "FAILED"
    ProjectLifecycleStateCreating ProjectLifecycleStateEnum = "CREATING"
    ProjectLifecycleStateActive   ProjectLifecycleStateEnum = "ACTIVE"
    ProjectLifecycleStateUpdating ProjectLifecycleStateEnum = "UPDATING"
)

func GetMappingProjectLifecycleStateEnum

func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)

GetMappingProjectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProjectLifecycleStateEnumValues

func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum

GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum

type ProjectSummary

ProjectSummary Summary of the project.

type ProjectSummary struct {

    // Unique identifier OCID of a project
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  for the project's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The state of the project.
    LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A short description of the project.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the resource was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }`
    SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ProjectSummary) String

func (m ProjectSummary) String() string

func (ProjectSummary) ValidateEnumValue

func (m ProjectSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SentimentAspect

SentimentAspect Sentiment aspect object.

type SentimentAspect struct {

    // The number of Unicode code points preceding this entity in the submitted text.
    Offset *int `mandatory:"false" json:"offset"`

    // Length of aspect text.
    Length *int `mandatory:"false" json:"length"`

    // Aspect text.
    Text *string `mandatory:"false" json:"text"`

    // The highest-score sentiment for the aspect text.
    Sentiment *string `mandatory:"false" json:"sentiment"`

    // Scores or confidences for each sentiment.
    // Example: `{"positive": 1.0, "negative": 0.0}`
    Scores map[string]float64 `mandatory:"false" json:"scores"`
}

func (SentimentAspect) String

func (m SentimentAspect) String() string

func (SentimentAspect) ValidateEnumValue

func (m SentimentAspect) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SentimentDocumentResult

SentimentDocumentResult The document response for sentiment detect call.

type SentimentDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // List of detected aspects sentiment.
    Aspects []SentimentAspect `mandatory:"true" json:"aspects"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    LanguageCode *string `mandatory:"true" json:"languageCode"`

    // Document level sentiment.
    DocumentSentiment *string `mandatory:"false" json:"documentSentiment"`

    // Scores for each sentiment.
    // Example: {"positive": 1.0, "negative": 0.0}
    DocumentScores map[string]float64 `mandatory:"false" json:"documentScores"`

    // List of detected sentences sentiment.
    Sentences []SentimentSentence `mandatory:"false" json:"sentences"`
}

func (SentimentDocumentResult) String

func (m SentimentDocumentResult) String() string

func (SentimentDocumentResult) ValidateEnumValue

func (m SentimentDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SentimentSentence

SentimentSentence Sentiment sentence object.

type SentimentSentence struct {

    // The number of Unicode code points preceding this entity in the submitted text.
    Offset *int `mandatory:"false" json:"offset"`

    // Length of sentence text.
    Length *int `mandatory:"false" json:"length"`

    // Sentence text.
    Text *string `mandatory:"false" json:"text"`

    // The highest-score sentiment for the sentence text.
    Sentiment *string `mandatory:"false" json:"sentiment"`

    // Scores or confidences for each sentiment.
    // Example: `{"positive": 1.0, "negative": 0.0}`
    Scores map[string]float64 `mandatory:"false" json:"scores"`
}

func (SentimentSentence) String

func (m SentimentSentence) String() string

func (SentimentSentence) ValidateEnumValue

func (m SentimentSentence) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type TestAndValidationDatasetStrategy

TestAndValidationDatasetStrategy This information will be used capture training, testing and validation dataset.

type TestAndValidationDatasetStrategy struct {
    TestingDataset DatasetDetails `mandatory:"true" json:"testingDataset"`

    ValidationDataset DatasetDetails `mandatory:"false" json:"validationDataset"`
}

func (TestAndValidationDatasetStrategy) MarshalJSON

func (m TestAndValidationDatasetStrategy) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TestAndValidationDatasetStrategy) String

func (m TestAndValidationDatasetStrategy) String() string

func (*TestAndValidationDatasetStrategy) UnmarshalJSON

func (m *TestAndValidationDatasetStrategy) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (TestAndValidationDatasetStrategy) ValidateEnumValue

func (m TestAndValidationDatasetStrategy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestStrategy

TestStrategy Possible strategy as testing and validation(optional) dataset.

type TestStrategy interface {
}

type TestStrategyStrategyTypeEnum

TestStrategyStrategyTypeEnum Enum with underlying type: string

type TestStrategyStrategyTypeEnum string

Set of constants representing the allowable values for TestStrategyStrategyTypeEnum

const (
    TestStrategyStrategyTypeTestAndValidationDataset TestStrategyStrategyTypeEnum = "TEST_AND_VALIDATION_DATASET"
)

func GetMappingTestStrategyStrategyTypeEnum

func GetMappingTestStrategyStrategyTypeEnum(val string) (TestStrategyStrategyTypeEnum, bool)

GetMappingTestStrategyStrategyTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTestStrategyStrategyTypeEnumValues

func GetTestStrategyStrategyTypeEnumValues() []TestStrategyStrategyTypeEnum

GetTestStrategyStrategyTypeEnumValues Enumerates the set of values for TestStrategyStrategyTypeEnum

type TextClassification

TextClassification Text label and score for the given text.

type TextClassification struct {

    // Label of the the given text.
    Label *string `mandatory:"true" json:"label"`

    // Score or confidence of extracted text label.
    // Example: `0.9999856066867399`
    Score *float64 `mandatory:"true" json:"score"`
}

func (TextClassification) String

func (m TextClassification) String() string

func (TextClassification) ValidateEnumValue

func (m TextClassification) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TextClassificationDocumentResult

TextClassificationDocumentResult The document response for test classification detect call.

type TextClassificationDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // List of detected text classes.
    TextClassification []TextClassification `mandatory:"true" json:"textClassification"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    LanguageCode *string `mandatory:"true" json:"languageCode"`
}

func (TextClassificationDocumentResult) String

func (m TextClassificationDocumentResult) String() string

func (TextClassificationDocumentResult) ValidateEnumValue

func (m TextClassificationDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TextClassificationEvaluationResults

TextClassificationEvaluationResults Text Classification model testing and evaluation results

type TextClassificationEvaluationResults struct {
    Metrics *TextClassificationModelMetrics `mandatory:"false" json:"metrics"`

    // List of text classification metrics
    ClassMetrics []ClassMetrics `mandatory:"false" json:"classMetrics"`

    // class level confusion matrix
    ConfusionMatrix map[string]ConfusionMatrixDetails `mandatory:"false" json:"confusionMatrix"`

    // labels
    Labels []string `mandatory:"false" json:"labels"`
}

func (TextClassificationEvaluationResults) MarshalJSON

func (m TextClassificationEvaluationResults) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TextClassificationEvaluationResults) String

func (m TextClassificationEvaluationResults) String() string

func (TextClassificationEvaluationResults) ValidateEnumValue

func (m TextClassificationEvaluationResults) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TextClassificationModelDetails

TextClassificationModelDetails Possible TextClassificationModelDetails

type TextClassificationModelDetails struct {

    // supported language default value is en
    LanguageCode *string `mandatory:"false" json:"languageCode"`

    ClassificationMode ClassificationType `mandatory:"false" json:"classificationMode"`
}

func (TextClassificationModelDetails) GetLanguageCode

func (m TextClassificationModelDetails) GetLanguageCode() *string

GetLanguageCode returns LanguageCode

func (TextClassificationModelDetails) MarshalJSON

func (m TextClassificationModelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TextClassificationModelDetails) String

func (m TextClassificationModelDetails) String() string

func (*TextClassificationModelDetails) UnmarshalJSON

func (m *TextClassificationModelDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (TextClassificationModelDetails) ValidateEnumValue

func (m TextClassificationModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TextClassificationModelEvaluationResult

TextClassificationModelEvaluationResult Possible TXTC model error analysis

type TextClassificationModelEvaluationResult struct {

    // For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata)
    Location *string `mandatory:"true" json:"location"`

    // List of true(actual) labels in test data for multi class or multi label TextClassification
    TrueLabels []string `mandatory:"true" json:"trueLabels"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // List of predicted labels by custom multi class or multi label TextClassification model
    PredictedLabels []string `mandatory:"false" json:"predictedLabels"`
}

func (TextClassificationModelEvaluationResult) GetDefinedTags

func (m TextClassificationModelEvaluationResult) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (TextClassificationModelEvaluationResult) GetFreeformTags

func (m TextClassificationModelEvaluationResult) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (TextClassificationModelEvaluationResult) MarshalJSON

func (m TextClassificationModelEvaluationResult) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TextClassificationModelEvaluationResult) String

func (m TextClassificationModelEvaluationResult) String() string

func (TextClassificationModelEvaluationResult) ValidateEnumValue

func (m TextClassificationModelEvaluationResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TextClassificationModelMetrics

TextClassificationModelMetrics Model level text classification metrics

type TextClassificationModelMetrics struct {

    // F1-score, is a measure of a model’s accuracy on a dataset
    MicroF1 *float32 `mandatory:"true" json:"microF1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    MicroPrecision *float32 `mandatory:"true" json:"microPrecision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    MicroRecall *float32 `mandatory:"true" json:"microRecall"`

    // F1-score, is a measure of a model’s accuracy on a dataset
    MacroF1 *float32 `mandatory:"true" json:"macroF1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    MacroPrecision *float32 `mandatory:"true" json:"macroPrecision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    MacroRecall *float32 `mandatory:"true" json:"macroRecall"`

    // The fraction of the labels that were correctly recognised .
    Accuracy *float32 `mandatory:"true" json:"accuracy"`

    // F1-score, is a measure of a model’s accuracy on a dataset
    WeightedF1 *float32 `mandatory:"false" json:"weightedF1"`

    // Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives)
    WeightedPrecision *float32 `mandatory:"false" json:"weightedPrecision"`

    // Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct.
    WeightedRecall *float32 `mandatory:"false" json:"weightedRecall"`
}

func (TextClassificationModelMetrics) String

func (m TextClassificationModelMetrics) String() string

func (TextClassificationModelMetrics) ValidateEnumValue

func (m TextClassificationModelMetrics) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TextDocument

TextDocument The document details for language service call.

type TextDocument struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // Document text for language service call.
    Text *string `mandatory:"true" json:"text"`

    // Language code of the document. Please refer to respective model API documentation (https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for supported languages.
    LanguageCode *string `mandatory:"false" json:"languageCode"`
}

func (TextDocument) String

func (m TextDocument) String() string

func (TextDocument) ValidateEnumValue

func (m TextDocument) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TranslationDocumentResult

TranslationDocumentResult The document response for translation call.

type TranslationDocumentResult struct {

    // Document unique identifier defined by the user.
    Key *string `mandatory:"true" json:"key"`

    // Translated text in selected target language.
    TranslatedText *string `mandatory:"true" json:"translatedText"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    SourceLanguageCode *string `mandatory:"true" json:"sourceLanguageCode"`

    // Language code supported
    // - auto : Automatically detect language
    // - ar : Arabic
    // - pt-BR : Brazilian Portuguese
    // - cs : Czech
    // - da : Danish
    // - nl : Dutch
    // - en : English
    // - fi : Finnish
    // - fr : French
    // - fr-CA : Canadian French
    // - de : German
    // - it : Italian
    // - ja : Japanese
    // - ko : Korean
    // - no : Norwegian
    // - pl : Polish
    // - ro : Romanian
    // - zh-CN : Simplified Chinese
    // - es : Spanish
    // - sv : Swedish
    // - zh-TW : Traditional Chinese
    // - tr : Turkish
    // - el : Greek
    // - he : Hebrew
    TargetLanguageCode *string `mandatory:"true" json:"targetLanguageCode"`
}

func (TranslationDocumentResult) String

func (m TranslationDocumentResult) String() string

func (TranslationDocumentResult) ValidateEnumValue

func (m TranslationDocumentResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateEndpointDetails

UpdateEndpointDetails The information to be updated.

type UpdateEndpointDetails struct {

    // A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the endpoint.
    Description *string `mandatory:"false" json:"description"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint.
    ModelId *string `mandatory:"false" json:"modelId"`

    // Number of replicas required for this endpoint. This will be optional parameter.
    InferenceUnits *int `mandatory:"false" json:"inferenceUnits"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateEndpointDetails) String

func (m UpdateEndpointDetails) String() string

func (UpdateEndpointDetails) ValidateEnumValue

func (m UpdateEndpointDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateEndpointRequest

UpdateEndpointRequest wrapper for the UpdateEndpoint operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/UpdateEndpoint.go.html to see an example of how to use UpdateEndpointRequest.

type UpdateEndpointRequest struct {

    // The OCID of the endpoint.
    EndpointId *string `mandatory:"true" contributesTo:"path" name:"endpointId"`

    // The information to be updated.
    UpdateEndpointDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateEndpointRequest) BinaryRequestBody

func (request UpdateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateEndpointRequest) HTTPRequest

func (request UpdateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateEndpointRequest) RetryPolicy

func (request UpdateEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateEndpointRequest) String

func (request UpdateEndpointRequest) String() string

func (UpdateEndpointRequest) ValidateEnumValue

func (request UpdateEndpointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateEndpointResponse

UpdateEndpointResponse wrapper for the UpdateEndpoint operation

type UpdateEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateEndpointResponse) HTTPResponse

func (response UpdateEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateEndpointResponse) String

func (response UpdateEndpointResponse) String() string

type UpdateModelDetails

UpdateModelDetails The information to be updated.

type UpdateModelDetails struct {

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the a model.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateModelDetails) String

func (m UpdateModelDetails) String() string

func (UpdateModelDetails) ValidateEnumValue

func (m UpdateModelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateModelRequest

UpdateModelRequest wrapper for the UpdateModel operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/UpdateModel.go.html to see an example of how to use UpdateModelRequest.

type UpdateModelRequest struct {

    // unique model OCID.
    ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"`

    // The information to be updated.
    UpdateModelDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateModelRequest) BinaryRequestBody

func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateModelRequest) HTTPRequest

func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateModelRequest) RetryPolicy

func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateModelRequest) String

func (request UpdateModelRequest) String() string

func (UpdateModelRequest) ValidateEnumValue

func (request UpdateModelRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateModelResponse

UpdateModelResponse wrapper for the UpdateModel operation

type UpdateModelResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateModelResponse) HTTPResponse

func (response UpdateModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateModelResponse) String

func (response UpdateModelResponse) String() string

type UpdateProjectDetails

UpdateProjectDetails The information to be updated for the project.

type UpdateProjectDetails struct {

    // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the project.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateProjectDetails) String

func (m UpdateProjectDetails) String() string

func (UpdateProjectDetails) ValidateEnumValue

func (m UpdateProjectDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateProjectRequest

UpdateProjectRequest wrapper for the UpdateProject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/ailanguage/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.

type UpdateProjectRequest struct {

    // The OCID of the project.
    ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"`

    // The information to be updated.
    UpdateProjectDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateProjectRequest) BinaryRequestBody

func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateProjectRequest) HTTPRequest

func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateProjectRequest) RetryPolicy

func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateProjectRequest) String

func (request UpdateProjectRequest) String() string

func (UpdateProjectRequest) ValidateEnumValue

func (request UpdateProjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateProjectResponse

UpdateProjectResponse wrapper for the UpdateProject operation

type UpdateProjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateProjectResponse) HTTPResponse

func (response UpdateProjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateProjectResponse) String

func (response UpdateProjectResponse) String() string

type WorkRequest

WorkRequest A description of workrequest status

type WorkRequest struct {

    // Type of the work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // Unique identifier work request OCID of work request that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occured. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of workRequestError objects.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLog

WorkRequestLog A log message from the execution of a work request.

type WorkRequestLog struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written. An RFC3339 formatted datetime string
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLog) String

func (m WorkRequestLog) String() string

func (WorkRequestLog) ValidateEnumValue

func (m WorkRequestLog) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogCollection

WorkRequestLogCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

type WorkRequestLogCollection struct {

    // List of workRequestLogEntries.
    Items []WorkRequestLog `mandatory:"true" json:"items"`
}

func (WorkRequestLogCollection) String

func (m WorkRequestLogCollection) String() string

func (WorkRequestLogCollection) ValidateEnumValue

func (m WorkRequestLogCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

    // The resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the work request.
    // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
    // work is complete for that resource at which point it will transition to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummary

WorkRequestSummary A summary of the status of a work request.

type WorkRequestSummary struct {

    // Type of the work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // Unique identifier work request OCID of work request that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)  of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // List of workRequestSummary objects.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly