# 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/3f9fe09d8e0698d65aa8bb63ac3316dfcb2ca947/python/langsmith/utils.py#L298)