« blib/lib/Paws/LexRuntimeV2/RecognizeText.pm
↑ Summary
blib/lib/Paws/LexRuntimeV2/RecognizeUtterance.pm »
| 1 | |||
| 2 | package Paws::LexRuntimeV2::RecognizeTextResponse; | ||
| 3 | use Moose; | ||
| 4 | has Interpretations => (is => 'ro', isa => 'ArrayRef[Paws::LexRuntimeV2::Interpretation]', traits => ['NameInRequest'], request_name => 'interpretations'); | ||
| 5 | has Messages => (is => 'ro', isa => 'ArrayRef[Paws::LexRuntimeV2::Message]', traits => ['NameInRequest'], request_name => 'messages'); | ||
| 6 | has RequestAttributes => (is => 'ro', isa => 'Paws::LexRuntimeV2::StringMap', traits => ['NameInRequest'], request_name => 'requestAttributes'); | ||
| 7 | has SessionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sessionId'); | ||
| 8 | has SessionState => (is => 'ro', isa => 'Paws::LexRuntimeV2::SessionState', traits => ['NameInRequest'], request_name => 'sessionState'); | ||
| 9 | |||
| 10 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::LexRuntimeV2::RecognizeTextResponse | ||
| 18 | |||
| 19 | =head1 ATTRIBUTES | ||
| 20 | |||
| 21 | |||
| 22 | =head2 Interpretations => ArrayRef[L<Paws::LexRuntimeV2::Interpretation>] | ||
| 23 | |||
| 24 | A list of intents that Amazon Lex V2 determined might satisfy the | ||
| 25 | user's utterance. | ||
| 26 | |||
| 27 | Each interpretation includes the intent, a score that indicates now | ||
| 28 | confident Amazon Lex V2 is that the interpretation is the correct one, | ||
| 29 | and an optional sentiment response that indicates the sentiment | ||
| 30 | expressed in the utterance. | ||
| 31 | |||
| 32 | |||
| 33 | =head2 Messages => ArrayRef[L<Paws::LexRuntimeV2::Message>] | ||
| 34 | |||
| 35 | A list of messages last sent to the user. The messages are ordered | ||
| 36 | based on the order that you returned the messages from your Lambda | ||
| 37 | function or the order that the messages are defined in the bot. | ||
| 38 | |||
| 39 | |||
| 40 | =head2 RequestAttributes => L<Paws::LexRuntimeV2::StringMap> | ||
| 41 | |||
| 42 | The attributes sent in the request. | ||
| 43 | |||
| 44 | |||
| 45 | =head2 SessionId => Str | ||
| 46 | |||
| 47 | The identifier of the session in use. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 SessionState => L<Paws::LexRuntimeV2::SessionState> | ||
| 51 | |||
| 52 | Represents the current state of the dialog between the user and the | ||
| 53 | bot. | ||
| 54 | |||
| 55 | Use this to determine the progress of the conversation and what the | ||
| 56 | next action may be. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 _request_id => Str | ||
| 60 | |||
| 61 | |||
| 62 | =cut | ||
| 63 |