get_num_tokens_anthropic# langchain_community.utilities.anthropic.get_num_tokens_anthropic(text: str) → int[source]# 获取文本字符串中的标记数量。 Parameters: 文本 (str) Return type: 整数