langchain.memory.utils.get_prompt_input_key¶

langchain.memory.utils.get_prompt_input_key(inputs: Dict[str, Any], memory_variables: List[str]) str[source]¶

Get the prompt input key.

Parameters
  • inputs (Dict[str, Any]) – Dict[str, Any]

  • memory_variables (List[str]) – List[str]

Returns

A prompt input key.

Return type

str