count_text_tokens
Parameters:
Name | Description |
---|---|
content | The message content to calculate the number of text tokens for. Type: str | list[dict[str, typing.Any] | str] | None |
Name | Description |
---|---|
content | The message content to calculate the number of text tokens for. Type: str | list[dict[str, typing.Any] | str] | None |