Container.Token

Detokenization

By giving a list of tokens, generate a detokenized output text string.

post/v1/detokenize

Request

Request body

modelstring nullable

Routes the request to a specific adapter.

tokensinteger[] required

A token sequence to detokenize.

Example request

{
  "tokens": [
    128000,
    3923,
    374,
    1803,
    1413,
    15592,
    30
  ]
}

Response

Successfully detokenized the tokens.

textstring required

Detokenized text output.

Changes

No recorded changes to this operation across all 1 revision of this API.