public class CreateCustomModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateCustomModelOptions.Builder
Builder.
|
static interface |
CreateCustomModelOptions.Language
The language of the new custom model.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Gets the description.
|
String |
language()
Gets the language.
|
String |
name()
Gets the name.
|
CreateCustomModelOptions.Builder |
newBuilder()
New builder.
|
public CreateCustomModelOptions.Builder newBuilder()
public String name()
The name of the new custom model. Use a localized name that matches the language of the custom model. Use a name that describes the purpose of the custom model, such as `Medical custom model` or `Legal custom model`. Use a name that is unique among all custom models that you own.
Include a maximum of 256 characters in the name. Do not use backslashes, slashes, colons, equal signs, ampersands, or question marks in the name.
public String language()
The language of the new custom model. You create a custom model for a specific language, not for a specific voice. A custom model can be used with any voice for its specified language. Omit the parameter to use the the default language, `en-US`.
public String description()
A recommended description of the new custom model. Use a localized description that matches the language of the custom model. Include a maximum of 128 characters in the description.
Copyright © 2024 IBM Cloud. All rights reserved.