integrations/voice/aws-speech/dist¶
Interfaces¶
AwsPollySynthesizeSpeechInput¶
Properties¶
engine?¶
languageCode?¶
lexiconNames?¶
outputFormat?¶
sampleRate?¶
signal?¶
speechMarkTypes?¶
text¶
textType?¶
voiceId¶
AwsPollySynthesizeSpeechResult¶
Properties¶
audio¶
contentType?¶
outputFormat?¶
requestCharacters?¶
AwsSdkCommandClient¶
Type Parameters¶
| Type Parameter |
|---|
Output |
Methods¶
send()¶
Parameters¶
| Parameter | Type |
|---|---|
command |
unknown |
options? |
{ abortSignal?: AbortSignal; } |
options.abortSignal? |
AbortSignal |
Returns¶
Promise\<Output>
AwsSdkCommandConstructor¶
Type Parameters¶
| Type Parameter |
|---|
Input |
Constructors¶
Constructor¶
Parameters¶
| Parameter | Type |
|---|---|
input |
Input |
Returns¶
unknown
AwsSdkSpeechClientOptions¶
Properties¶
pollyClient¶
StartStreamTranscriptionCommand¶
SynthesizeSpeechCommand¶
transcribeStreamingClient¶
AwsSpeechClient¶
Type Parameters¶
| Type Parameter | Default type |
|---|---|
RawClients extends AwsSpeechCommandClients |
AwsSpeechCommandClients |
Properties¶
rawClients¶
Methods¶
getRawClient()¶
Returns¶
RawClients
synthesizeSpeech()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
AwsPollySynthesizeSpeechInput |
Returns¶
Promise\<AwsPollySynthesizeSpeechResult>
transcribeSpeech()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
AwsTranscribeSpeechInput |
Returns¶
Promise\<AwsTranscribeSpeechResult>
AwsSpeechClientOptions¶
Extends¶
Properties¶
accessKeyId?¶
Inherited from¶
AwsSpeechCredentialStatusInput.accessKeyId
pollyClient?¶
pollyClientConfig?¶
region?¶
Inherited from¶
AwsSpeechCredentialStatusInput.region
secretAccessKey?¶
Inherited from¶
AwsSpeechCredentialStatusInput.secretAccessKey
sessionToken?¶
Inherited from¶
AwsSpeechCredentialStatusInput.sessionToken
transcribeStreamingClient?¶
transcribeStreamingClientConfig?¶
AwsSpeechCommandClients¶
Extended by¶
Properties¶
pollyClient¶
transcribeStreamingClient¶
AwsSpeechCredentialStatusInput¶
Extended by¶
Properties¶
accessKeyId?¶
region?¶
secretAccessKey?¶
sessionToken?¶
AwsSpeechJsonObject¶
Extended by¶
Indexable¶
AwsSpeechOperationRequestInput¶
Properties¶
body?¶
contentType?¶
headers?¶
pathParams?¶
query?¶
responseType?¶
AwsSpeechProviderExtensionFields¶
Extends¶
Indexable¶
AwsSpeechProviderResponse¶
Extends¶
Indexable¶
AwsSpeechRawClients¶
Extends¶
Properties¶
pollyClient¶
Overrides¶
AwsSpeechCommandClients.pollyClient
transcribeStreamingClient¶
Overrides¶
AwsSpeechCommandClients.transcribeStreamingClient
AwsSpeechVoiceProviderOptions¶
Extends¶
Omit\<Partial\<SpeechPipelineVoiceProviderOptions>,"provider"|"transcriptionSource"|"transcribe"|"synthesize">
Properties¶
accessKeyId?¶
client?¶
contentIdentificationType?¶
contentRedactionType?¶
enableChannelIdentification?¶
enablePartialResultsStabilization?¶
endSilenceMs?¶
Inherited from¶
engine?¶
id?¶
Inherited from¶
identifyLanguage?¶
identifyMultipleLanguages?¶
languageCode?¶
languageModelName?¶
languageOptions?¶
lexiconNames?¶
maxSpeechMs?¶
Inherited from¶
mediaEncoding?¶
minSpeechMs?¶
Inherited from¶
model?¶
Inherited from¶
numberOfChannels?¶
outputFormat?¶
partialResultsStability?¶
piiEntityTypes?¶
pollyClient?¶
pollyClientConfig?¶
pollyLanguageCode?¶
pollySampleRate?¶
preferredLanguage?¶
region?¶
sampleRate?¶
Inherited from¶
secretAccessKey?¶
sessionResumeWindow?¶
sessionToken?¶
showSpeakerLabel?¶
silenceThreshold?¶
Inherited from¶
speechMarkTypes?¶
StartStreamTranscriptionCommand?¶
optional StartStreamTranscriptionCommand?: AwsSdkCommandConstructor<StartStreamTranscriptionCommandInput>;
SynthesizeSpeechCommand?¶
textType?¶
transcribeStreamingClient?¶
transcribeStreamingClientConfig?¶
vocabularyFilterMethod?¶
vocabularyFilterName?¶
vocabularyFilterNames?¶
vocabularyName?¶
vocabularyNames?¶
voiceId¶
AwsTranscribeSpeechInput¶
Properties¶
audio¶
contentIdentificationType?¶
contentRedactionType?¶
enableChannelIdentification?¶
enablePartialResultsStabilization?¶
identifyLanguage?¶
identifyMultipleLanguages?¶
languageCode?¶
languageModelName?¶
languageOptions?¶
mediaEncoding?¶
numberOfChannels?¶
partialResultsStability?¶
piiEntityTypes?¶
preferredLanguage?¶
sampleRate?¶
sessionId?¶
sessionResumeWindow?¶
showSpeakerLabel?¶
signal?¶
vocabularyFilterMethod?¶
vocabularyFilterName?¶
vocabularyFilterNames?¶
vocabularyName?¶
vocabularyNames?¶
AwsTranscribeSpeechResult¶
Properties¶
endedAtSeconds?¶
languageCode?¶
resultCount?¶
resultId?¶
resultIds?¶
startedAtSeconds?¶
text¶
Type Aliases¶
AwsPollyEngine¶
AwsPollyLanguageCode¶
AwsPollyOutputFormat¶
AwsPollySpeechMarkType¶
AwsPollySynthesizeCommandInput¶
AwsPollySynthesizeCommandOutput¶
AwsPollyTextType¶
AwsPollyVoiceId¶
AwsSpeechJsonPrimitive¶
AwsSpeechJsonValue¶
type AwsSpeechJsonValue =
| AwsSpeechJsonPrimitive
| AwsSpeechJsonObject
| readonly AwsSpeechJsonValue[];
AwsSpeechProviderExtensionValue¶
AwsSpeechProviderPayload¶
AwsSpeechProviderQuery¶
AwsSpeechResource¶
AwsTranscribeContentIdentificationType¶
type AwsTranscribeContentIdentificationType = NonNullable<StartStreamTranscriptionCommandInput["ContentIdentificationType"]>;
AwsTranscribeContentRedactionType¶
type AwsTranscribeContentRedactionType = NonNullable<StartStreamTranscriptionCommandInput["ContentRedactionType"]>;
AwsTranscribeLanguageCode¶
AwsTranscribeMediaEncoding¶
type AwsTranscribeMediaEncoding = NonNullable<StartStreamTranscriptionCommandInput["MediaEncoding"]>;
AwsTranscribePartialResultsStability¶
type AwsTranscribePartialResultsStability = NonNullable<StartStreamTranscriptionCommandInput["PartialResultsStability"]>;
AwsTranscribeStreamingAudioStreamEvent¶
type AwsTranscribeStreamingAudioStreamEvent = NonNullable<StartStreamTranscriptionCommandInput["AudioStream"]> extends AsyncIterable<infer Event> ? Event : never;
AwsTranscribeStreamingCommandInput¶
AwsTranscribeStreamingCommandOutput¶
AwsTranscribeStreamingResponseEvent¶
type AwsTranscribeStreamingResponseEvent = NonNullable<StartStreamTranscriptionCommandOutput["TranscriptResultStream"]> extends AsyncIterable<infer Event> ? Event : never;
AwsTranscribeVocabularyFilterMethod¶
type AwsTranscribeVocabularyFilterMethod = NonNullable<StartStreamTranscriptionCommandInput["VocabularyFilterMethod"]>;
Variables¶
AWS_SPEECH_API_SOURCES¶
const AWS_SPEECH_API_SOURCES: {
pollyApiReference: "https://docs.aws.amazon.com/polly/latest/dg/API_Reference.html";
pollySdk: "https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly";
pollySynthesizeSpeech: "https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html";
transcribeSdk: "https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe-streaming";
transcribeStreamingApi: "https://docs.aws.amazon.com/transcribe/latest/APIReference/API_streaming_StartStreamTranscription.html";
transcribeStreamingSetup: "https://docs.aws.amazon.com/transcribe/latest/dg/streaming-setting-up.html";
};
Type Declaration¶
createAwsSpeechVoiceAdapter¶
Functions¶
awsSpeechCredentialStatuses()¶
function awsSpeechCredentialStatuses(input): {
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[];
Parameters¶
| Parameter | Type |
|---|---|
input |
AwsSpeechCredentialStatusInput |
Returns¶
{
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[]
createAwsSdkSpeechClient()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
AwsSdkSpeechClientOptions |
Returns¶
createAwsSpeechClient()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
AwsSpeechClientOptions |
Returns¶
AwsSpeechClient\<AwsSpeechRawClients>
createAwsSpeechRawClients()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
AwsSpeechClientOptions |
Returns¶
createAwsSpeechVoiceProvider()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
AwsSpeechVoiceProviderOptions |
Returns¶
References¶
awsSpeechIntegration¶
Re-exports awsSpeechIntegration
awsSpeechProviderManifest¶
Re-exports awsSpeechProviderManifest