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