Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Dec 19, 2024
1 parent 8aa3604 commit c6ccc0b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chatlas/_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,12 @@ def token_count(
int
The token count for the input.
Note
----
Remember that the token count is an estimate. Also, models based on
`ChatOpenAI()` currently does not take tools into account when
estimating token counts.
Examples
--------
```python
Expand Down

0 comments on commit c6ccc0b

Please sign in to comment.