From c6ccc0b1653636bf4111fdd2cf50801c4fe71c31 Mon Sep 17 00:00:00 2001 From: Carson Date: Thu, 19 Dec 2024 17:28:48 -0600 Subject: [PATCH] Add note --- chatlas/_chat.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chatlas/_chat.py b/chatlas/_chat.py index 6ba08c6..6d48aa5 100644 --- a/chatlas/_chat.py +++ b/chatlas/_chat.py @@ -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