Show / Hide Table of Contents

Class ModelMetadataDetails

training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API

Inheritance
object
ModelMetadataDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class ModelMetadataDetails

Properties

Configuration

Declaration
[JsonProperty(PropertyName = "configuration")]
public Dictionary<string, ConfigurationDetails> Configuration { get; set; }
Property Value
Type Description
Dictionary<string, ConfigurationDetails>

EndpointId

Declaration
[JsonProperty(PropertyName = "endpointId")]
public string EndpointId { get; set; }
Property Value
Type Description
string

Unique identifier endpoint OCID that should be used for inference

LanguageCode

Declaration
[JsonProperty(PropertyName = "languageCode")]
public string LanguageCode { get; set; }
Property Value
Type Description
string

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

ModelId

Declaration
[JsonProperty(PropertyName = "modelId")]
public string ModelId { get; set; }
Property Value
Type Description
string

Unique identifier model OCID that should be used for inference

ModelType

Declaration
[JsonProperty(PropertyName = "modelType")]
public string ModelType { get; set; }
Property Value
Type Description
string

model type to used for inference allowed values are

  • LANGUAGE_SENTIMENT_ANALYSIS
  • LANGUAGE_DETECTION
  • TEXT_CLASSIFICATION
  • NAMED_ENTITY_RECOGNITION
  • KEY_PHRASE_EXTRACTION
  • LANGUAGE_PII_ENTITIES
  • LANGUAGE_TRANSLATION
In this article
Back to top