# 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-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/utils.py#L277)