AWS Amplify JS API
AWS Amplify JS Dev Center
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
AmazonAIPredictions
Provider
constructor
_config
configure
convert
get
Category
get
Provider
Name
identify
interpret
Hierarchy
AbstractPredictionsProvider
AmazonAIPredictionsProvider
Index
Constructors
constructor
Properties
_config
Methods
configure
convert
get
Category
get
Provider
Name
identify
interpret
Constructors
constructor
new
AmazonAIPredictions
Provider
(
)
:
AmazonAIPredictionsProvider
Returns
AmazonAIPredictionsProvider
Properties
Protected
_config
_config
:
PredictionsOptions
Methods
configure
configure
(
config
:
PredictionsOptions
)
:
PredictionsOptions
Parameters
config:
PredictionsOptions
Returns
PredictionsOptions
convert
convert
(
input
:
TranslateTextInput
|
TextToSpeechInput
|
SpeechToTextInput
)
:
Promise
<
TextToSpeechOutput
|
TranslateTextOutput
|
SpeechToTextOutput
>
Parameters
input:
TranslateTextInput
|
TextToSpeechInput
|
SpeechToTextInput
Returns
Promise
<
TextToSpeechOutput
|
TranslateTextOutput
|
SpeechToTextOutput
>
get
Category
get
Category
(
)
:
string
Returns
string
get
Provider
Name
get
Provider
Name
(
)
:
string
Returns
string
identify
identify
(
input
:
IdentifyTextInput
|
IdentifyLabelsInput
|
IdentifyEntitiesInput
)
:
Promise
<
IdentifyTextOutput
|
IdentifyLabelsOutput
|
IdentifyEntitiesOutput
>
Parameters
input:
IdentifyTextInput
|
IdentifyLabelsInput
|
IdentifyEntitiesInput
Returns
Promise
<
IdentifyTextOutput
|
IdentifyLabelsOutput
|
IdentifyEntitiesOutput
>
interpret
interpret
(
input
:
InterpretTextInput
)
:
Promise
<
InterpretTextOutput
>
Parameters
input:
InterpretTextInput
Returns
Promise
<
InterpretTextOutput
>