# combined_text

> **Function** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/retrievers/kendra/combined_text)

Combine a ResultItem title and excerpt into a single string.

## Signature

```python
combined_text(
    item: ResultItem,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `item` | `ResultItem` | Yes | the ResultItem of a Kendra search. |

## Returns

`str`

A combined text of the title and excerpt of the given item.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/285069d4f44907e10aaf7743888689ea39c98fe3/libs/aws/langchain_aws/retrievers/kendra.py#L46)