Skip to content

EncodedTextChunk

Source code in docs_src/capo_sagemakertrainingsessionruntime/types/encoded_text_chunk.py
class EncodedTextChunk(TypedDict, closed=True):
    tokens: "capo_sagemakertrainingsessionruntime.types.integer_list.IntegerList"
    """<p>The token IDs representing the encoded text.</p>"""
    type: "capo_sagemakertrainingsessionruntime.types.encoded_text_chunk_type.EncodedTextChunkType"
    """<p>The type of the chunk encoding.</p>"""

tokens instance-attribute

tokens: IntegerList

The token IDs representing the encoded text.

type instance-attribute

The type of the chunk encoding.