combined_text#

langchain_aws.retrievers.kendra.combined_text(item: ResultItem) str[source]#

Combine a ResultItem title and excerpt into a single string.

Parameters:

item (ResultItem) – the ResultItem of a Kendra search.

Returns:

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

Return type:

str