get_num_tokens_anthropic#

langchain_community.utilities.anthropic.get_num_tokens_anthropic(text: str) โ†’ int[source]#

่Žทๅ–ๆ–‡ๆœฌๅญ—็ฌฆไธฒไธญ็š„ๆ ‡่ฎฐๆ•ฐ้‡ใ€‚

Parameters:

ๆ–‡ๆœฌ (str)

Return type:

ๆ•ดๆ•ฐ