a
    agi                     @   s6   d dl mZmZmZ eeef ee edddZdS )    )AnyDictList)inputsmemory_variablesreturnc                 C   s:   t t| |dg }t|dkr2t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   d/var/www/html/cobodadashboardai.evdpl.com/venv/lib/python3.9/site-packages/langchain/memory/utils.pyget_prompt_input_key   s    r   N)typingr   r   r   strr   r   r   r   r   <module>   s   