public class PromptMetadata
extends com.ibm.cloud.sdk.core.service.model.GenericModel
`{ "prompt_text": "Thank you and good-bye!", "speaker_id": "823068b2-ed4e-11ea-b6e0-7b6456aa95cc" }`.
Modifier and Type | Class and Description |
---|---|
static class |
PromptMetadata.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
PromptMetadata.Builder |
newBuilder()
New builder.
|
String |
promptText()
Gets the promptText.
|
String |
speakerId()
Gets the speakerId.
|
public PromptMetadata.Builder newBuilder()
public String promptText()
The required written text of the spoken prompt. The length of a prompt's text is limited to a few sentences. Speaking one or two sentences of text is the recommended limit. A prompt cannot contain more than 1000 characters of text. Escape any XML control characters (double quotes, single quotes, ampersands, angle brackets, and slashes) that appear in the text of the prompt.
public String speakerId()
The optional speaker ID (GUID) of a previously defined speaker model that is to be associated with the prompt.
Copyright © 2024 IBM Cloud. All rights reserved.