# combined_text

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/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-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/retrievers/kendra.py#L43)