langchain.document_transformers.embeddings_redundant_filter.get_stateful_documents

langchain.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 – The documents to convert.

Returns

A list of documents with state.