KnowledgeGraphNodeDetail

Full detail for one knowledge-graph node (viewer detail panel).

Properties

Name

Type

Description

Notes

node

KnowledgeGraphVizNode

edges

List[KnowledgeGraphVizEdge]

All edges incident to this node.

source_chunks

List[KnowledgeGraphSourceChunk]

Source chunks that produced this node (capped server-side).

Example

from h2ogpte.rest_sync.models.knowledge_graph_node_detail import KnowledgeGraphNodeDetail

# TODO update the JSON string below
json = "{}"
# create an instance of KnowledgeGraphNodeDetail from a JSON string
knowledge_graph_node_detail_instance = KnowledgeGraphNodeDetail.from_json(json)
# print the JSON string representation of the object
print(KnowledgeGraphNodeDetail.to_json())

# convert the object into a dict
knowledge_graph_node_detail_dict = knowledge_graph_node_detail_instance.to_dict()
# create an instance of KnowledgeGraphNodeDetail from a dict
knowledge_graph_node_detail_from_dict = KnowledgeGraphNodeDetail.from_dict(knowledge_graph_node_detail_dict)