Container.Token
Tokenization
By giving a text input, generate a tokenized output of token IDs.
post/v1/tokenize
Request
- Base URLhttp://localhost:8000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"prompt": "What is generative AI?"
}Response
Successfully tokenized the text.
Changes
No recorded changes to this operation across all 1 revision of this API.