Detokenize tokens
POST/v1/detokenize
By given a list of tokens, create a detokenized output text.
Request
- application/json
Body
tokens integer[]required
A token sequence to detokenize.
Responses
- 200
Successfully detokenized the tokens.
- application/json
- Schema
- Example
Schema
text string
Detokenized text output.
Detokenized output.
{
"text": "What is generative AI?\n"
}
Loading...