View a markdown version of this page

EncodedTextChunk - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

EncodedTextChunk

A chunk of pre-tokenized text represented as a list of token IDs.

Contents

tokens

The token IDs representing the encoded text.

Type: Array of integers

Required: Yes

type

The type of the chunk encoding.

Type: String

Valid Values: encoded_text

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: