Skip to main content
Convert an array of token IDs back into readable text. This is the inverse operation of cohere_tokenize().

Samples

Detokenize tokens

Returns: 'PostgreSQL is a powerful database'

Round-trip tokenization

Arguments

Returns

TEXT: The reconstructed text from the token IDs.