Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace 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

Properties

Optional configuration

configuration: undefined | object

model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex."ORACLE":{ "mode" : "MASK","maskingCharacter" : "&","leaveCharactersUnmasked": 3,"isUnmaskedFromEnd" : true } For language translation : { "targetLanguageCodes" : ConfigurationDetails}

Optional endpointId

endpointId: undefined | string

Unique identifier endpoint OCID that should be used for inference

Optional languageCode

languageCode: undefined | 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

Optional modelId

modelId: undefined | string

Unique identifier model OCID that should be used for inference

Optional modelType

modelType: undefined | 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

Functions

getDeserializedJsonObj

getJsonObj