Class TokenizationService

java.lang.Object
com.alibaba.dashscope.resources.tokenization.TokenizationService

public final class TokenizationService extends Object
tokenization resource (Python v2 tokenization.py parity): server-side token counting over POST /tokenizer. For the local BPE tokenizer see TokenizerFactory.