add_graph_documents(
self,
graph_documents: List[GraphDocument],
include_source: bool = False
) ->| Name | Type | Description |
|---|---|---|
graph_documents* | List[GraphDocument] | |
include_source | bool | Default: False |
insert a list of graph documents into the graph
the list of documents to be inserted
if True add nodes for the sources with MENTIONS edges to the entities they mention