Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Test set columns supported by Test Workbench

Focus mode
Test set columns supported by Test Workbench - Amazon Lex

Below is the complete list of test set columns supported by Test Workbench and the instruction on how to use them with Amazon Lex V2.

Column Name Test set type Value Type Multiple Columns Support Description

Line Number

Text and Audio

Number

No

This is a user column which is ignored by . It is intended to help a test set author to sort and filter the test-set rows. "Line #" can be used as an alternative column name.

Conversation Number

Text and Audio

Number

No

This column allows you to put rows in a conversation together. "Conversation #" can be used as an alternative column name.

Source

Text and Audio

Enum ("User", "Agent")

No

The value in this column indicates if the row is for a user or an agent. "Conversation Participant" can be used as an alternative column name.

Input

Text

String

No

This column is used to add the transcript for text test set.

  • Text input should be used in User rows.

  • The Agent prompt should be used in Agent rows.

Expected Transcription

Audio

String

No

This column is used to add the transcript for the audio test set.

  • Expected transcription of the audio file should be used in User rows with audio input.

  • DTMF input can be used in User rows with DTMF input.

  • The Agent prompt should be used in Agent rows.

S3 Audio Location

Audio

String

No

This column is used to add the audio file location and is applicable only to audio test sets.

  • The S3 path should be used in the User rows with the audio input.

  • This field should be left empty in User rows with DTMF input.

  • This field should be left empty in Agent rows.

Input Context Tag

Text and Audio

String

Yes

This column is used to provide name of an input context which will be used in input to Lex while executing the row in the test set.

  • This refers to input context in Setting intent context for your Lex V2 bot.

  • Note that Test Workbench only supports name of context. It does not support the parameters in a context.

  • Multiple columns named such as 'Input Context Tag 1', 'Input Context Tag 2', and so on, may be used.

Request Attribute

Text and Audio

String

Yes

This column is used to provide a request attribute which will be used in input to Lex while executing the row in the test set.

  • Value in a column should be provided in format `<request-attribute-name> = <request-attribute-value>`. Spaces can be added around '=' for readability.

  • Examples:

    • request-attribute-foo = this is a dummy response

    • request-attribute-foo = 'this is a "dummy response"'

    • request-attribute-foo = "this is a 'dummy response'"

  • Multiple columns named such as 'Request Attribute 1', 'Request Attribute 2', etc., may be used.

Session Attribute

Text and Audio

String

Yes

This column is used to provide a session attribute which will be used in input to Lex while executing the row in the test set.

  • Value in a column should be provided in format `<session-attribute-name> = <session-attribute-value>`. Spaces can be added around '=' for readability.

  • Examples:

    • session-attribute-foo = this is a dummy response

    • session-attribute-foo = 'this is a "dummy response"'

    • session-attribute-foo = "this is a 'dummy response'"

  • Multiple columns named such as: 'Session Attribute 1', 'Session Attribute 2', etc., may be used.

RunTime Hint

Text and Audio

String

Yes

This column is used to provide a Runtime Hint for a slot within an intent which will be used in input to Lex while executing the row in the test set. Below are examples:

  • Value in a column should be provided in format `<intent-name>.<slot -name> = < slot-value>`. Spaces may be added around '=' for readability.

  • Examples:

    • IntentNameFoo.slotNameFoo = a dummy value

    • IntentNameFoo.slotNameFoo = 'a "dummy value"'

    • IntentNameFoo.slotNameFoo = "a 'dummy value'"

  • Test workbench does not support composite slots for runtime hints.

  • Multiple columns named such as 'RunTime Hint 1', 'RunTime Hint 2', etc., may be used.

Barge In

Audio

Boolean

No

This column is used specify if Test Workbench should barge-in when sending audio file to Lex Runtime for the row in the test set.

  • Only applicable for audio test set for the streaming API.

  • This column is ignored when executing a test set in non-streaming API mode.

Expected Output Intent

Text and Audio

String

No

This column is used specify name of an intent expected in output from Lex for the row in the test set.

Expected Output Slot

Text and Audio

String

Yes

This column is used to provide a slot value expected in output from Lex while executing the row in the test set.

  • Value in a column should be provided in format `<slot -name> = < slot-value>`. Spaces may be added around '=' for readability.

  • Examples for slots that are neither multi-value slots nor composite slots:

    • slotNameFoo = a dummy value

    • slotNameFoo = 'a "dummy value"'

    • slotNameFoo = "a 'dummy value'"

  • Examples for multi-value slots:

    • slotNameFoo = value1, value2

    • slotNameFoo = value1, "Foo's item"

    • slotNameFoo = value1, 'value2'

  • Examples for composite slots where slot name is ‘Car’ and sub slot name is ‘Make’:

    • Car.Make = Toyota

    • Car.Make = "Toyota"

    • Car.Make = 'Toyota'

  • Multiple columns named such as: 'Expected Output Slot 1', 'Expected Output Slot 2', etc., may be used.

Expected Output Context Tag

Text and Audio

String

Yes

This column is used to specify name of an output context expected in output from Lex for the row in the test set.

  • This refers to output context in Setting intent context for your Lex V2 bot.

  • Note that Test Workbench only supports name of context and does not yet support parameters inside the context.

  • Multiple columns named such as: 'Expected Output Context Tag 1', 'Expected Output Context Tag 2', etc., may be used.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.