# get_llm_generation_from_outputs

> **Function** in `langsmith`

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

Get the LLM generation from the outputs.

## Signature

```python
get_llm_generation_from_outputs(
    outputs: Mapping[str, Any],
) -> str
```

---

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