Structures
The following structures are available globally.
-
Information about an existing custom model.
See moreDeclaration
Swift
public struct CustomModel : Codable, Equatable
-
Information about existing custom models.
See moreDeclaration
Swift
public struct CustomModels : Codable, Equatable
-
Information about a custom prompt.
See moreDeclaration
Swift
public struct Prompt : Codable, Equatable
-
Information about the prompt that is to be added to a custom model. The following example of a
See morePromptMetadata
object includes both the required prompt text and an optional speaker model ID:{ "prompt_text": "Thank you and good-bye!", "speaker_id": "823068b2-ed4e-11ea-b6e0-7b6456aa95cc" }
.Declaration
Swift
public struct PromptMetadata : Codable, Equatable
-
Information about the custom prompts that are defined for a custom model.
See moreDeclaration
Swift
public struct Prompts : Codable, Equatable
-
The pronunciation of the specified text.
See moreDeclaration
Swift
public struct Pronunciation : Codable, Equatable
-
Information about a speaker model.
See moreDeclaration
Swift
public struct Speaker : Codable, Equatable
-
A custom models for which the speaker has defined prompts.
See moreDeclaration
Swift
public struct SpeakerCustomModel : Codable, Equatable
-
Custom models for which the speaker has defined prompts.
See moreDeclaration
Swift
public struct SpeakerCustomModels : Codable, Equatable
-
The speaker ID of the speaker model.
See moreDeclaration
Swift
public struct SpeakerModel : Codable, Equatable
-
A prompt that a speaker has defined for a custom model.
See moreDeclaration
Swift
public struct SpeakerPrompt : Codable, Equatable
-
Information about all speaker models for the service instance.
See moreDeclaration
Swift
public struct Speakers : Codable, Equatable
-
Additional service features that are supported with the voice.
See moreDeclaration
Swift
public struct SupportedFeatures : Codable, Equatable
-
Information about the translation for the specified text.
See moreDeclaration
Swift
public struct Translation : Codable, Equatable
-
Information about an available voice.
See moreDeclaration
Swift
public struct Voice : Codable, Equatable
-
Information about all available voices.
See moreDeclaration
Swift
public struct Voices : Codable, Equatable
-
Information about a word for the custom model.
See moreDeclaration
Swift
public struct Word : Codable, Equatable
-
For the Add custom words method, one or more words that are to be added or updated for the custom model and the translation for each specified word. For the List custom words method, the words and their translations from the custom model.
See moreDeclaration
Swift
public struct Words : Codable, Equatable