langchain_community.retrievers.kendra.clean_excerpt¶

langchain_community.retrievers.kendra.clean_excerpt(excerpt: str) str[source]¶

Clean an excerpt from Kendra.

Parameters

excerpt – The excerpt to clean.

Returns

The cleaned excerpt.