Class TokenizationService
java.lang.Object
com.alibaba.dashscope.resources.tokenization.TokenizationService
tokenization resource (Python v2 tokenization.py parity): server-side token counting over
POST /tokenizer. For the local BPE tokenizer see TokenizerFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount(TokenizationCountParams params) count(TokenizationCountParams params, RequestOptions options)
-
Constructor Details
-
TokenizationService
-
-
Method Details
-
count
-
count
-