o
    Zhi                     @   s:   d dl mZmZmZ deeef dee defddZdS )    )AnyDictListinputsmemory_variablesreturnc                 C   s:   t t| |dg }t|dkrtd| |d S )z
    Get the prompt input key.

    Args:
        inputs: Dict[str, Any]
        memory_variables: List[str]

    Returns:
        A prompt input key.
    stop   zOne input key expected got r   )listset
differencelen
ValueError)r   r   Zprompt_input_keys r   M/var/www/html/lang_env/lib/python3.10/site-packages/langchain/memory/utils.pyget_prompt_input_key   s   r   N)typingr   r   r   strr   r   r   r   r   <module>   s    &