langchain_community.graphs.graph_store
.GraphStore¶
- class langchain_community.graphs.graph_store.GraphStore[source]¶
用于图操作的抽象类。
Attributes
get_schema
返回图数据库的模式
get_structured_schema
返回图数据库的模式
Methods
__init__
()add_graph_documents
(graph_documents[, ...])将GraphDocument作为输入,并使用它来构建图。
query
(query[, params])查询图。
刷新图形模式信息。
- __init__()¶
- abstract add_graph_documents(graph_documents: List[GraphDocument], include_source: bool = False) None [source]¶
将GraphDocument作为输入,并使用它来构建图。
- Parameters
graph_documents (List[GraphDocument]) –
include_source (bool) –
- Return type
None