langchain.retrievers.kendra.combined_text¶

langchain.retrievers.kendra.combined_text(title: str, excerpt: str) str[source]¶

Combines a title and an excerpt into a single string.

Parameters
  • title – The title of the document.

  • excerpt – The excerpt of the document.

Returns

The combined text.