# get_prompt_from_inputs

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/utils/get_prompt_from_inputs)

Retrieve the prompt from the given inputs.

## Signature

```python
get_prompt_from_inputs(
    inputs: Mapping[str, Any],
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `inputs` | `Mapping[str, Any]` | Yes | The inputs dictionary. |

## Returns

`str`

The prompt.

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19dc497a3d89638e4cc35db72ea1c29cad35cbbf/python/langsmith/utils.py#L298)