o
    d§Ñh¶   ã                   @   s$   d dl Z ddededefdd„ZdS )	é    Núgpt-3.5-turboÚtextÚmodelÚreturnc                 C   s   t  |¡}t| | ¡ƒS )N)ÚtiktokenÚencoding_for_modelÚlenÚencode)r   r   Úenc© r   úR/var/www/html/aiverses.in/BackEnd/Ai_Agents/services/llm_functions/count_tokens.pyÚcount_tokens   s   
r   )r   )r   ÚstrÚintr   r   r   r   r   Ú<module>   s    