
    ihi                     <    d dl mZmZmZ deeef   dee   defdZy)    )AnyDictListinputsmemory_variablesreturnc                     t        t        |       j                  |dgz               }t        |      dk7  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   prompt_input_keyss      T/var/www/html/dev/engine/venv/lib/python3.12/site-packages/langchain/memory/utils.pyget_prompt_input_keyr      sT     S[334Dx4OPQ
"67H6IJKKQ    N)typingr   r   r   strr    r   r   <module>r      s2    " " c3h  49  QT  r   