
    ~
i                     >    d Z ddlZddlmZ dedee         defdZdS )z&Common utility functions for LLM APIs.    N)Listtextstopreturnc                 b    t          j        d                    |          | d          d         S )z1Cut off the text as soon as any stop words occur.|   )maxsplitr   )resplitjoin)r   r   s     C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\langchain_community/llms/utils.pyenforce_stop_tokensr      s(    8CHHTNND1555a88    )__doc__r   typingr   strr    r   r   <module>r      s]    , , 				      9c 9c 9s 9 9 9 9 9 9r   