Collections
Count tokens for texts
Count the number of tokens in the provided texts using the BGE M3 tokenizer. This is useful for checking if texts will fit within the embedding model's token limit (8,192 tokens per text) before sending them for embedding.
post/v3/collections/token-count
Request body
Response
The request has succeeded.