o
    ×Ý+i<  ã                   @   sº   U d Z ddlmZmZ erddlmZ daeed< da	eed< da
ed ed	< d
eddfdd„Zdefdd„Zd
eddfdd„Zdefdd„Zd
ed ddfdd„Zded fdd„ZdS )z?Global values and configuration that apply to all of LangChain.é    )ÚTYPE_CHECKINGÚOptional)Ú	BaseCacheFÚ_verboseÚ_debugNr   Ú
_llm_cacheÚvalueÚreturnc                 C   ó   | a dS )z€Set a new value for the `verbose` global setting.

    Args:
        value: The new value for the `verbose` global setting.
    N©r   ©r   © r   úS/var/www/html/psymed-ai/venv/lib/python3.10/site-packages/langchain_core/globals.pyÚset_verbose   ó   r   c                   C   ó   t S )ztGet the value of the `verbose` global setting.

    Returns:
        The value of the `verbose` global setting.
    r   r   r   r   r   Úget_verbose   ó   r   c                 C   r
   )z|Set a new value for the `debug` global setting.

    Args:
        value: The new value for the `debug` global setting.
    N©r   r   r   r   r   Ú	set_debug%   r   r   c                   C   r   )zpGet the value of the `debug` global setting.

    Returns:
        The value of the `debug` global setting.
    r   r   r   r   r   Ú	get_debug/   r   r   c                 C   r
   )z›Set a new LLM cache, overwriting the previous value, if any.

    Args:
        value: The new LLM cache to use. If `None`, the LLM cache is disabled.
    N©r   r   r   r   r   Úset_llm_cache8   r   r   c                   C   r   )zxGet the value of the `llm_cache` global setting.

    Returns:
        The value of the `llm_cache` global setting.
    r   r   r   r   r   Úget_llm_cacheB   r   r   )Ú__doc__Útypingr   r   Úlangchain_core.cachesr   r   ÚboolÚ__annotations__r   r   r   r   r   r   r   r   r   r   r   r   Ú<module>   s    
	
	
