Skip to content

Commit

Permalink
Releasing version 80.0.0
Browse files Browse the repository at this point in the history
Releasing version 80.0.0
  • Loading branch information
oci-dex-release-bot committed Feb 20, 2024
2 parents b937881 + b77e39a commit 44da384
Show file tree
Hide file tree
Showing 121 changed files with 6,898 additions and 117 deletions.
42 changes: 25 additions & 17 deletions Ailanguage/AIServiceLanguageClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -459,12 +459,11 @@ public async Task<BatchDetectLanguageTextClassificationResponse> BatchDetectLang
}

/// <summary>
/// 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.
/// Translates a batch of text documents from source to target language.
/// A batch can contain:
/// - up to 100 records.
/// - documents length less than 5000 characters.
/// - 20,000 characters in total as a sum of all documents length.
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
Expand Down Expand Up @@ -1028,10 +1027,12 @@ public async Task<DeleteProjectResponse> DeleteProject(DeleteProjectRequest requ
}

/// <summary>
/// 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).
/// **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
/// We recommend you replace this API with the batch API, [BatchDetectDominantLanguage](https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectDominantLanguage/BatchDetectDominantLanguage).
/// &lt;br/&gt;
/// [List of supported languages.](https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
/// The DetectDominantLanguage API returns the detected language and a related confidence score (between 0 and 1).
/// &lt;br/&gt;
/// [List of supported languages](https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
/// &lt;br/&gt;
/// Limitations:
/// - A record may be up to 1000 characters long.
Expand Down Expand Up @@ -1091,8 +1092,10 @@ public async Task<DetectDominantLanguageResponse> DetectDominantLanguage(DetectD
}

/// <summary>
/// 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.
/// **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
/// We recommend you replace this API with the batch API, [BatchDetectLanguageEntities](https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageEntities/BatchDetectLanguageEntities).
/// &lt;br/&gt;
/// The DetectLanguageEntities API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned.
/// &lt;br/&gt;
/// Limitations:
/// - A text may be up to 1000 characters long.
Expand Down Expand Up @@ -1152,9 +1155,10 @@ public async Task<DetectLanguageEntitiesResponse> DetectLanguageEntities(DetectL
}

/// <summary>
/// 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.
/// **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
/// We recommend you replace this API with the batch API, [BatchDetectLanguageKeyPhrases](https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageKeyPhrases/BatchDetectLanguageKeyPhrases).
/// &lt;br/&gt;
/// 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.
/// Limitations:
/// - A record may be up to 1000 characters long.
///
Expand Down Expand Up @@ -1213,8 +1217,10 @@ public async Task<DetectLanguageKeyPhrasesResponse> DetectLanguageKeyPhrases(Det
}

/// <summary>
/// This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
/// The API extracts aspect-based in text records.
/// **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
/// We recommend you replace this API with the batch API, [BatchDetectLanguageSentiments](https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageSentiments/BatchDetectLanguageSentiments).
/// &lt;br/&gt;
/// The DetectLanguageSentiments API extracts aspect-based in text records.
/// &lt;br/&gt;
/// For aspect-based sentiment analysis, a set of aspects and their respective sentiment is returned.
/// &lt;br/&gt;
Expand Down Expand Up @@ -1280,8 +1286,10 @@ public async Task<DetectLanguageSentimentsResponse> DetectLanguageSentiments(Det
}

/// <summary>
/// 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.
/// **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
/// We recommend you replace this API with the batch API, [BatchDetectLanguageTextClassification](https://docs.cloud.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageTextClassification/BatchDetectLanguageTextClassification).
/// &lt;br/&gt;
/// 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.
/// &lt;br/&gt;
/// Learn more about text classification [here](https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#text-class).
/// &lt;br/&gt;
Expand Down
23 changes: 23 additions & 0 deletions Ailanguage/models/BatchDetectDominantLanguageDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,29 @@ namespace Oci.AilanguageService.Models
public class BatchDetectDominantLanguageDetails
{

/// <value>
/// 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.
/// </value>
[JsonProperty(PropertyName = "shouldIgnoreTransliteration")]
public System.Nullable<bool> ShouldIgnoreTransliteration { get; set; }

/// <value>
/// default value is None.
/// Specifies maximum number of characters to consider for determining the dominant language.
/// If unspecified, then optimum number characters will be considered.
/// If 0 is specified then all the characters are used to determine the language.
/// If the value is greater than 0, then specified number of characters will be considered from the beginning of the text.
///
/// </value>
[JsonProperty(PropertyName = "charsToConsider")]
public System.Nullable<int> CharsToConsider { get; set; }

/// <value>
/// 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.
/// </value>
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }

/// <value>
/// 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
/// </value>
Expand Down
6 changes: 6 additions & 0 deletions Ailanguage/models/BatchDetectLanguageKeyPhrasesDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ namespace Oci.AilanguageService.Models
public class BatchDetectLanguageKeyPhrasesDetails
{

/// <value>
/// 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.
/// </value>
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }

/// <value>
/// 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
/// </value>
Expand Down
6 changes: 6 additions & 0 deletions Ailanguage/models/BatchDetectLanguagePiiEntitiesDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ namespace Oci.AilanguageService.Models
public class BatchDetectLanguagePiiEntitiesDetails
{

/// <value>
/// 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.
/// </value>
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }

/// <value>
/// 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
/// </value>
Expand Down
6 changes: 6 additions & 0 deletions Ailanguage/models/BatchDetectLanguageSentimentsDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ namespace Oci.AilanguageService.Models
public class BatchDetectLanguageSentimentsDetails
{

/// <value>
/// 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.
/// </value>
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }

/// <value>
/// 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
/// </value>
Expand Down
55 changes: 31 additions & 24 deletions Ailanguage/models/BatchLanguageTranslationDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,37 @@ public class BatchLanguageTranslationDetails

/// <value>
/// 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
/// Arabic - ar
/// Brazilian Portuguese - pt-BR
/// Canadian French - fr-CA
/// Croatian - hr
/// Czech - cs
/// Danish - da
/// Dutch - nl
/// English - en
/// Finnish - fi
/// French - fr
/// German - de
/// Greek - el
/// Hebrew - he
/// Hungarian - hu
/// Italian - it
/// Japanese - ja
/// Korean - ko
/// Norwegian - no
/// Polish - pl
/// Portuguese - pt
/// Romanian - ro
/// Russian - ru
/// Simplified Chinese - zh-CN
/// Slovak - sk
/// Slovenian - sl
/// Spanish - es
/// Swedish - sv
/// Thai - th
/// Traditional Chinese - zh-TW
/// Turkish - tr
/// Vietnamese - vi
///
/// </value>
[JsonProperty(PropertyName = "targetLanguageCode")]
Expand Down
2 changes: 1 addition & 1 deletion Ailanguage/models/Endpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public enum LifecycleStateEnum {
/// Example: { &quot;orcl-cloud&quot;: { &quot;free-tier-retained&quot;: &quot;true&quot; } }
/// </value>
[JsonProperty(PropertyName = "systemTags")]
public System.Collections.Generic.Dictionary<string, System.Object> SystemTags { get; set; }
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> SystemTags { get; set; }

}
}
2 changes: 1 addition & 1 deletion Ailanguage/models/EndpointSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public class EndpointSummary
/// Example: { &quot;orcl-cloud&quot;: { &quot;free-tier-retained&quot;: &quot;true&quot; } }
/// </value>
[JsonProperty(PropertyName = "systemTags")]
public System.Collections.Generic.Dictionary<string, System.Object> SystemTags { get; set; }
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> SystemTags { get; set; }

}
}
4 changes: 2 additions & 2 deletions Ailanguage/models/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public enum LifecycleStateEnum {

/// <value>
/// 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.
/// For custom this will identify model type version used for model creation and custom model on which training has to be done
/// <<service>>::<<service-name>>_<<model-type-version>>::<<custom model on which this training has to be done>>
/// ex: ai-lang::NER_V1::CUSTOM-V0
///
Expand All @@ -167,7 +167,7 @@ public enum LifecycleStateEnum {
/// Example: { &quot;orcl-cloud&quot;: { &quot;free-tier-retained&quot;: &quot;true&quot; } }
/// </value>
[JsonProperty(PropertyName = "systemTags")]
public System.Collections.Generic.Dictionary<string, System.Object> SystemTags { get; set; }
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> SystemTags { get; set; }

}
}
3 changes: 0 additions & 3 deletions Ailanguage/models/ModelDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ public override object ReadJson(JsonReader reader, System.Type objectType, objec
case "PRE_TRAINED_SENTIMENT_ANALYSIS":
obj = new PreTrainedSentimentAnalysisModelDetails();
break;
case "PRE_TRAINED_PHI":
obj = new PreTrainedPhiModelDetails();
break;
case "PRE_TRAINED_TEXT_CLASSIFICATION":
obj = new PreTrainedTextClassificationModelDetails();
break;
Expand Down
6 changes: 3 additions & 3 deletions Ailanguage/models/ModelSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ public class ModelSummary

/// <value>
/// 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>>
/// For custom this will identify model type version used for model creation and custom model on which training has to be done
/// <<service>>::<<service-name>>_<<model-type-version>>::<<custom model on which this training has to be done>>
/// ex: ai-lang::NER_V1::CUSTOM-V0
///
/// </value>
Expand All @@ -130,7 +130,7 @@ public class ModelSummary
/// Example: { &quot;orcl-cloud&quot;: { &quot;free-tier-retained&quot;: &quot;true&quot; } }
/// </value>
[JsonProperty(PropertyName = "systemTags")]
public System.Collections.Generic.Dictionary<string, System.Object> SystemTags { get; set; }
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> SystemTags { get; set; }

}
}
2 changes: 1 addition & 1 deletion Ailanguage/models/Project.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public enum LifecycleStateEnum {
/// Example: { &quot;orcl-cloud&quot;: { &quot;free-tier-retained&quot;: &quot;true&quot; } }
/// </value>
[JsonProperty(PropertyName = "systemTags")]
public System.Collections.Generic.Dictionary<string, System.Object> SystemTags { get; set; }
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> SystemTags { get; set; }

}
}
2 changes: 1 addition & 1 deletion Ailanguage/models/ProjectSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public class ProjectSummary
/// Example: { &quot;orcl-cloud&quot;: { &quot;free-tier-retained&quot;: &quot;true&quot; } }
/// </value>
[JsonProperty(PropertyName = "systemTags")]
public System.Collections.Generic.Dictionary<string, System.Object> SystemTags { get; set; }
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> SystemTags { get; set; }

}
}
54 changes: 2 additions & 52 deletions Ailanguage/models/TranslationDocumentResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,32 +42,7 @@ public class TranslationDocumentResult
public string TranslatedText { get; set; }

/// <value>
/// 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
///
/// 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.
/// </value>
/// <remarks>
/// Required
Expand All @@ -77,32 +52,7 @@ public class TranslationDocumentResult
public string SourceLanguageCode { get; set; }

/// <value>
/// 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
///
/// 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.
/// </value>
/// <remarks>
/// Required
Expand Down

0 comments on commit 44da384

Please sign in to comment.