get_token_ids_anthropic#

langchain_community.utilities.anthropic.get_token_ids_anthropic(text: str) List[int][source]#

Get the token ids for a string of text.

Parameters:

text (str)

Return type:

List[int]