Ë
    µŒj  ã                   ó6   — d Z ddlZddlmZ dedee   defd„Zy)z&Common utility functions for LLM APIs.é    N)ÚListÚtextÚstopÚreturnc                 óV   — t        j                  dj                  |«      | d¬«      d   S )z1Cut off the text as soon as any stop words occur.Ú|é   )Úmaxsplitr   )ÚreÚsplitÚjoin)r   r   s     úh/var/www/html/Fitness-lenito-AI-main/venv/lib/python3.12/site-packages/langchain_community/llms/utils.pyÚenforce_stop_tokensr      s"   € ä�8‰8�C—H‘H˜T“N D°1Ô5°aÑ8Ð8ó    )Ú__doc__r   Útypingr   Ústrr   © r   r   Ú<module>r      s,   ðÙ ,ã 	Ý ð9˜cð 9¨¨c©ð 9°sô 9r   