steampipe plugin install mr-destructive/cohereai

Table: cohereai_detokenize

Get string for a given list of tokens.

Notes:

  • A tokens is a list of tokens(int64) to get the string.

Examples

Basic example with default settings

select
text
from
cohereai_detokenize
where
tokens = '[33555, 1114]';

Schema for cohereai_detokenize

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
texttextThe detokenized text.
tokenstext=The tokens to detokenize, encoded as a JSON array.