nodes_to_documents#

langchain_core.graph_vectorstores.base.nodes_to_documents(nodes: Iterable[Node]) Iterator[Document][source]#

Beta

This feature is in beta. It is actively being worked on, so the API may change.

Convert nodes to documents.

Parameters:

nodes (Iterable[Node]) – The nodes to convert to documents.

Returns:

The documents generated from the nodes.

Return type:

Iterator[Document]