Node()Node in the GraphVectorStore.
Edges exist from nodes with an outgoing link to nodes with a matching incoming link.
For instance two nodes a and b connected over a hyperlink https://some-url
would look like:
.. code-block:: python
[
Node(
id="a",
text="some text a",
links= [
Link(kind="hyperlink", tag="https://some-url", direction="incoming")
],
),
Node(
id="b",
text="some text b",
links= [
Link(kind="hyperlink", tag="https://some-url", direction="outgoing")
],
)
]
Unique ID for the node. Will be generated by the GraphVectorStore if not set.
Text contained by the node.
Metadata for the node.
Links associated with the node.