

# ModelInput
<a name="API_training_session_runtime_ModelInput"></a>

The tokenized model input composed of ordered encoded text chunks.

## Contents
<a name="API_training_session_runtime_ModelInput_Contents"></a>

 ** chunks **   <a name="sagemaker-Type-training_session_runtime_ModelInput-chunks"></a>
The ordered list of encoded text chunks forming the input sequence.  
Type: Array of [EncodedTextChunk](API_training_session_runtime_EncodedTextChunk.md) objects  
Required: Yes

## See Also
<a name="API_training_session_runtime_ModelInput_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/sagemakertrainingsessionruntime-2025-02-10/ModelInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemakertrainingsessionruntime-2025-02-10/ModelInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemakertrainingsessionruntime-2025-02-10/ModelInput) 