Package | Description |
---|---|
com.oracle.bmc.ailanguage.model |
Modifier and Type | Method and Description |
---|---|
static ModelMetadataDetails.Builder |
ModelMetadataDetails.builder()
Create a new builder.
|
ModelMetadataDetails.Builder |
ModelMetadataDetails.Builder.configuration(Map<String,ConfigurationDetails> configuration)
model configuration details For PII : < ENTITY_TYPE , ConfigurationDetails> ex.“ORACLE”:{
“mode” : “MASK”,“maskingCharacter” : “&”,“leaveCharactersUnmasked”: 3,“isUnmaskedFromEnd”
true } For language translation : { “targetLanguageCodes” : ConfigurationDetails}
|
ModelMetadataDetails.Builder |
ModelMetadataDetails.Builder.copy(ModelMetadataDetails model) |
ModelMetadataDetails.Builder |
ModelMetadataDetails.Builder.endpointId(String endpointId)
Unique identifier endpoint OCID that should be used for inference
|
ModelMetadataDetails.Builder |
ModelMetadataDetails.Builder.languageCode(String languageCode)
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
|
ModelMetadataDetails.Builder |
ModelMetadataDetails.Builder.modelId(String modelId)
Unique identifier model OCID that should be used for inference
|
ModelMetadataDetails.Builder |
ModelMetadataDetails.Builder.modelType(String modelType)
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
|
ModelMetadataDetails.Builder |
ModelMetadataDetails.toBuilder() |
Copyright © 2016–2024. All rights reserved.