Skip to content

Commit badde64

Browse files
Releasing version 65.59.0
Releasing version 65.59.0
2 parents d9d3ec1 + f60795b commit badde64

File tree

96 files changed

+6987
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+6987
-200
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7+
## 65.59.0 - 2024-02-20
8+
### Added
9+
- Support for calling Oracle Cloud Infrastructure services in the me-dcc-doha-1 region
10+
- Support for Secure Desktops service
11+
- Support for enabling and disabling Simultaneous Multithreading (SMT) for virtual machines in the Compute service
12+
- Support for Bring Your Own Container Jobs (BYOC v2) in the Data Science service
13+
- Support for expanded language translation in the AI Language service
14+
- Support for additional flags for ignoring transliteration and text length to be considered for determining dominant language in the AI Language service
15+
16+
### Breaking Changes
17+
- The model `PreTrainedPhiModelDetails` has been removed in the AI Language Service
18+
- The field `SystemTags` has changed from type `map[string]interface{}` to `map[string]map[string]interface{}` in the models `Endpoint`, `EndpointSummary`, `Model`, `ModelSummary`, `Project`, and `ProjectSummary` in the AI Language Service
19+
20+
721
## 65.58.1 - 2024-02-13
822
### Added
923
- Support for adding automatic backups during cross region operations and disaster recovery in the Autonomous Database service

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com
22

3-
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement globallydistributeddatabase ##SPECNAME##
3+
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement globallydistributeddatabase desktops ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

ailanguage/ailanguage_aiservicelanguage_client.go

+23-17
Original file line numberDiff line numberDiff line change
@@ -466,12 +466,11 @@ func (client AIServiceLanguageClient) batchDetectLanguageTextClassification(ctx
466466
return response, err
467467
}
468468

469-
// BatchLanguageTranslation Translate text to other language over pre-deployed model.
470-
// Use state of the art neural machine translation to translate text between more than 15 languages.
471-
// Limitations:
472-
// - A batch may have up to 100 records.
473-
// - A record may be up to 5000 characters long.
474-
// - The total of characters to process in a request can be up to 20,000 characters.
469+
// BatchLanguageTranslation Translates a batch of text documents from source to target language.
470+
// A batch can contain:
471+
// - up to 100 records.
472+
// - documents length less than 5000 characters.
473+
// - 20,000 characters in total as a sum of all documents length.
475474
//
476475
// # See also
477476
//
@@ -1080,9 +1079,10 @@ func (client AIServiceLanguageClient) deleteProject(ctx context.Context, request
10801079
return response, err
10811080
}
10821081

1083-
// DetectDominantLanguage This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
1084-
// The API returns the detected language and a related confidence score (between 0 and 1).
1085-
// List of supported languages. (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
1082+
// DetectDominantLanguage **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
1083+
// We recommend you replace this API with the batch API, BatchDetectDominantLanguage (https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectDominantLanguage/BatchDetectDominantLanguage).
1084+
// The DetectDominantLanguage API returns the detected language and a related confidence score (between 0 and 1).
1085+
// List of supported languages (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
10861086
// Limitations:
10871087
// - A record may be up to 1000 characters long.
10881088
//
@@ -1141,8 +1141,9 @@ func (client AIServiceLanguageClient) detectDominantLanguage(ctx context.Context
11411141
return response, err
11421142
}
11431143

1144-
// DetectLanguageEntities This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
1145-
// The API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned.
1144+
// DetectLanguageEntities **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
1145+
// We recommend you replace this API with the batch API, BatchDetectLanguageEntities (https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageEntities/BatchDetectLanguageEntities).
1146+
// The DetectLanguageEntities API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned.
11461147
// Limitations:
11471148
// - A text may be up to 1000 characters long.
11481149
//
@@ -1201,8 +1202,11 @@ func (client AIServiceLanguageClient) detectLanguageEntities(ctx context.Context
12011202
return response, err
12021203
}
12031204

1204-
// DetectLanguageKeyPhrases This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
1205-
// 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.
1205+
// DetectLanguageKeyPhrases **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
1206+
//
1207+
// We recommend you replace this API with the batch API, BatchDetectLanguageKeyPhrases (https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageKeyPhrases/BatchDetectLanguageKeyPhrases).
1208+
// The DetectLanguageKeyPhrases 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.
1209+
//
12061210
// Limitations:
12071211
// - A record may be up to 1000 characters long.
12081212
//
@@ -1261,8 +1265,9 @@ func (client AIServiceLanguageClient) detectLanguageKeyPhrases(ctx context.Conte
12611265
return response, err
12621266
}
12631267

1264-
// DetectLanguageSentiments This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
1265-
// The API extracts aspect-based in text records.
1268+
// DetectLanguageSentiments **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
1269+
// We recommend you replace this API with the batch API, BatchDetectLanguageSentiments (https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageSentiments/BatchDetectLanguageSentiments).
1270+
// The DetectLanguageSentiments API extracts aspect-based in text records.
12661271
// For aspect-based sentiment analysis, a set of aspects and their respective sentiment is returned.
12671272
// For sentiment analysis, confidence scores are provided for each of the classes (positive, negative, neutral).
12681273
// Learn more about sentiment analysis here (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#sentiment).
@@ -1324,8 +1329,9 @@ func (client AIServiceLanguageClient) detectLanguageSentiments(ctx context.Conte
13241329
return response, err
13251330
}
13261331

1327-
// DetectLanguageTextClassification This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
1328-
// 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.
1332+
// DetectLanguageTextClassification **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
1333+
// We recommend you replace this API with the batch API, BatchDetectLanguageTextClassification (https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageTextClassification/BatchDetectLanguageTextClassification).
1334+
// The DetectLanguageTextClassification API automatically classifies text into a set of pre-determined classes and sub-classes. A single class/subclass is returned for each record classified.
13291335
// Learn more about text classification here (https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#text-class).
13301336
// Limitations:
13311337
// - A record may be up to 1000 characters long.

ailanguage/batch_detect_dominant_language_details.go

+13
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ type BatchDetectDominantLanguageDetails struct {
2323
// List of Documents for detect language.
2424
Documents []DominantLanguageDocument `mandatory:"true" json:"documents"`
2525

26+
// Specifies whether to consider or ignore transliteration. For example "hi, aap kaise ho? sab kuch teek hai? I will call you tomorrow." would be detected as English when ignore transliteration=true, Hindi when ignoreTransliteration=false.
27+
ShouldIgnoreTransliteration *bool `mandatory:"false" json:"shouldIgnoreTransliteration"`
28+
29+
// default value is None.
30+
// Specifies maximum number of characters to consider for determining the dominant language.
31+
// If unspecified, then optimum number characters will be considered.
32+
// If 0 is specified then all the characters are used to determine the language.
33+
// If the value is greater than 0, then specified number of characters will be considered from the beginning of the text.
34+
CharsToConsider *int `mandatory:"false" json:"charsToConsider"`
35+
36+
// 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.
37+
EndpointId *string `mandatory:"false" json:"endpointId"`
38+
2639
// 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
2740
CompartmentId *string `mandatory:"false" json:"compartmentId"`
2841
}

ailanguage/batch_detect_language_key_phrases_details.go

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ type BatchDetectLanguageKeyPhrasesDetails struct {
2323
// List of Documents for detect keyPhrases.
2424
Documents []TextDocument `mandatory:"true" json:"documents"`
2525

26+
// 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.
27+
EndpointId *string `mandatory:"false" json:"endpointId"`
28+
2629
// 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
2730
CompartmentId *string `mandatory:"false" json:"compartmentId"`
2831
}

ailanguage/batch_detect_language_pii_entities_details.go

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ type BatchDetectLanguagePiiEntitiesDetails struct {
2424
// List of documents to detect personal identification information.
2525
Documents []TextDocument `mandatory:"true" json:"documents"`
2626

27+
// 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.
28+
EndpointId *string `mandatory:"false" json:"endpointId"`
29+
2730
// 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
2831
CompartmentId *string `mandatory:"false" json:"compartmentId"`
2932

@@ -50,6 +53,7 @@ func (m BatchDetectLanguagePiiEntitiesDetails) ValidateEnumValue() (bool, error)
5053
// UnmarshalJSON unmarshals from json
5154
func (m *BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON(data []byte) (e error) {
5255
model := struct {
56+
EndpointId *string `json:"endpointId"`
5357
CompartmentId *string `json:"compartmentId"`
5458
Masking map[string]piientitymasking `json:"masking"`
5559
Documents []TextDocument `json:"documents"`
@@ -60,6 +64,8 @@ func (m *BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON(data []byte) (e er
6064
return
6165
}
6266
var nn interface{}
67+
m.EndpointId = model.EndpointId
68+
6369
m.CompartmentId = model.CompartmentId
6470

6571
m.Masking = make(map[string]PiiEntityMasking)

ailanguage/batch_detect_language_sentiments_details.go

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ type BatchDetectLanguageSentimentsDetails struct {
2323
// List of Documents for detect sentiments.
2424
Documents []TextDocument `mandatory:"true" json:"documents"`
2525

26+
// 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.
27+
EndpointId *string `mandatory:"false" json:"endpointId"`
28+
2629
// 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
2730
CompartmentId *string `mandatory:"false" json:"compartmentId"`
2831
}

ailanguage/batch_language_translation_details.go

+31-24
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,37 @@ type BatchLanguageTranslationDetails struct {
2727
CompartmentId *string `mandatory:"false" json:"compartmentId"`
2828

2929
// Language code supported
30-
// - auto : Automatically detect language
31-
// - ar : Arabic
32-
// - pt-BR : Brazilian Portuguese
33-
// - cs : Czech
34-
// - da : Danish
35-
// - nl : Dutch
36-
// - en : English
37-
// - fi : Finnish
38-
// - fr : French
39-
// - fr-CA : Canadian French
40-
// - de : German
41-
// - it : Italian
42-
// - ja : Japanese
43-
// - ko : Korean
44-
// - no : Norwegian
45-
// - pl : Polish
46-
// - ro : Romanian
47-
// - zh-CN : Simplified Chinese
48-
// - es : Spanish
49-
// - sv : Swedish
50-
// - zh-TW : Traditional Chinese
51-
// - tr : Turkish
52-
// - el : Greek
53-
// - he : Hebrew
30+
// Arabic - ar
31+
// Brazilian Portuguese - pt-BR
32+
// Canadian French - fr-CA
33+
// Croatian - hr
34+
// Czech - cs
35+
// Danish - da
36+
// Dutch - nl
37+
// English - en
38+
// Finnish - fi
39+
// French - fr
40+
// German - de
41+
// Greek - el
42+
// Hebrew - he
43+
// Hungarian - hu
44+
// Italian - it
45+
// Japanese - ja
46+
// Korean - ko
47+
// Norwegian - no
48+
// Polish - pl
49+
// Portuguese - pt
50+
// Romanian - ro
51+
// Russian - ru
52+
// Simplified Chinese - zh-CN
53+
// Slovak - sk
54+
// Slovenian - sl
55+
// Spanish - es
56+
// Swedish - sv
57+
// Thai - th
58+
// Traditional Chinese - zh-TW
59+
// Turkish - tr
60+
// Vietnamese - vi
5461
TargetLanguageCode *string `mandatory:"false" json:"targetLanguageCode"`
5562
}
5663

ailanguage/endpoint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type Endpoint struct {
6363

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

6969
func (m Endpoint) String() string {

ailanguage/endpoint_summary.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type EndpointSummary struct {
6060

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

6666
func (m EndpointSummary) String() string {

ailanguage/model.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type Model struct {
5757
TestStrategy TestStrategy `mandatory:"false" json:"testStrategy"`
5858

5959
// For pre trained models this will identify model type version used for model creation
60-
// For custom identifying the model by model id is difficult. This param provides ease of use for end customer.
60+
// For custom this will identify model type version used for model creation and custom model on which training has to be done
6161
// <<service>>::<<service-name>>_<<model-type-version>>::<<custom model on which this training has to be done>>
6262
// ex: ai-lang::NER_V1::CUSTOM-V0
6363
Version *string `mandatory:"false" json:"version"`
@@ -72,7 +72,7 @@ type Model struct {
7272

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

7878
func (m Model) String() string {
@@ -106,7 +106,7 @@ func (m *Model) UnmarshalJSON(data []byte) (e error) {
106106
Version *string `json:"version"`
107107
FreeformTags map[string]string `json:"freeformTags"`
108108
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
109-
SystemTags map[string]interface{} `json:"systemTags"`
109+
SystemTags map[string]map[string]interface{} `json:"systemTags"`
110110
Id *string `json:"id"`
111111
DisplayName *string `json:"displayName"`
112112
CompartmentId *string `json:"compartmentId"`

ailanguage/model_details.go

-4
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ func (m *modeldetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
8585
mm := PreTrainedSentimentAnalysisModelDetails{}
8686
err = json.Unmarshal(data, &mm)
8787
return mm, err
88-
case "PRE_TRAINED_PHI":
89-
mm := PreTrainedPhiModelDetails{}
90-
err = json.Unmarshal(data, &mm)
91-
return mm, err
9288
case "PRE_TRAINED_TEXT_CLASSIFICATION":
9389
mm := PreTrainedTextClassificationModelDetails{}
9490
err = json.Unmarshal(data, &mm)

0 commit comments

Comments
 (0)