langchain_community.retrievers.kendra
.clean_excerpt¶
- langchain_community.retrievers.kendra.clean_excerpt(excerpt: str) str [source]¶
Clean an excerpt from Kendra.
- Parameters
excerpt (str) – The excerpt to clean.
- Returns
The cleaned excerpt.
- Return type
str