langchain_community.document_transformers.embeddings_redundant_filter.get_stateful_documents¶

langchain_community.document_transformers.embeddings_redundant_filter.get_stateful_documents(documents: Sequence[Document]) Sequence[_DocumentWithState][source]¶

Convert a list of documents to a list of documents with state.

Parameters

documents (Sequence[Document]) – The documents to convert.

Returns

A list of documents with state.

Return type

Sequence[_DocumentWithState]