Relationship#
- class langchain_community.graphs.graph_document.Relationship[source]#
Bases:
Serializable
Represents a directed relationship between two nodes in a graph.
- type#
The type of the relationship.
- Type:
str
- properties#
Additional properties associated with the relationship.
- Type:
dict
- param properties: dict [Optional]#
- param type: str [Required]#
Examples using Relationship