prepare#

langchain_prompty.utils.prepare(
prompt: Prompty,
inputs: dict[str, Any] = {},
) Any[source]#

Prepare the inputs for the prompty.

Parameters:
  • prompt (Prompty) – The Prompty object.

  • inputs (dict[str, Any]) – The inputs to the prompty. Defaults to {}.

Returns:

The prepared inputs.

Return type:

Any