public class Skill
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Skill.Status
The current status of the skill: - **Available**: The skill is available and ready to process
messages.
|
static interface |
Skill.Type
The type of skill.
|
Modifier and Type | Method and Description |
---|---|
String |
getAssistantId()
Gets the assistantId.
|
String |
getDescription()
Gets the description.
|
Map<String,Object> |
getDialogSettings()
Gets the dialogSettings.
|
String |
getEnvironmentId()
Gets the environmentId.
|
String |
getLanguage()
Gets the language.
|
String |
getName()
Gets the name.
|
String |
getNextSnapshotVersion()
Gets the nextSnapshotVersion.
|
SearchSettings |
getSearchSettings()
Gets the searchSettings.
|
String |
getSkillId()
Gets the skillId.
|
String |
getStatus()
Gets the status.
|
String |
getStatusDescription()
Gets the statusDescription.
|
List<StatusError> |
getStatusErrors()
Gets the statusErrors.
|
String |
getType()
Gets the type.
|
List<SearchSkillWarning> |
getWarnings()
Gets the warnings.
|
Map<String,Object> |
getWorkspace()
Gets the workspace.
|
String |
getWorkspaceId()
Gets the workspaceId.
|
Boolean |
isValid()
Gets the valid.
|
public String getName()
The name of the skill. This string cannot contain carriage return, newline, or tab characters.
public String getDescription()
The description of the skill. This string cannot contain carriage return, newline, or tab characters.
public Map<String,Object> getWorkspace()
An object containing the conversational content of an action or dialog skill.
public String getSkillId()
The skill ID of the skill.
public String getStatus()
The current status of the skill: - **Available**: The skill is available and ready to process messages. - **Failed**: An asynchronous operation has failed. See the **status_errors** property for more information about the cause of the failure. - **Non Existent**: The skill does not exist. - **Processing**: An asynchronous operation has not yet completed. - **Training**: The skill is training based on new data.
public List<StatusError> getStatusErrors()
An array of messages about errors that caused an asynchronous operation to fail. Included only if **status**=`Failed`.
public String getStatusDescription()
The description of the failed asynchronous operation. Included only if **status**=`Failed`.
public Map<String,Object> getDialogSettings()
For internal use only.
public String getAssistantId()
The unique identifier of the assistant the skill is associated with.
public String getWorkspaceId()
The unique identifier of the workspace that contains the skill content. Included only for action and dialog skills.
public String getEnvironmentId()
The unique identifier of the environment where the skill is defined. For action and dialog skills, this is always the draft environment.
public Boolean isValid()
Whether the skill is structurally valid.
public String getNextSnapshotVersion()
The name that will be given to the next snapshot that is created for the skill. A snapshot of each versionable skill is saved for each new release of an assistant.
public SearchSettings getSearchSettings()
An object describing the search skill configuration.
**Note:** Search settings are not supported in **Import skills** requests, and are not included in **Export skills** responses.
public List<SearchSkillWarning> getWarnings()
An array of warnings describing errors with the search skill configuration. Included only for search skills.
public String getLanguage()
The language of the skill.
public String getType()
The type of skill.
Copyright © 2024 IBM Cloud. All rights reserved.