Run more documents through the embeddings and add to the vector store.
The Links present in the document metadata field links will be extracted to
create the Node links.
Eg if nodes a and b are connected over a hyperlink https://some-url, the
function call would look like:
.. code-block:: python
store.add_documents(
[
Document(
id="a",
page_content="some text a",
metadata={
"links": [
Link.incoming(kind="hyperlink", tag="http://some-url")
]
}
),
Document(
id="b",
page_content="some text b",
metadata={
"links": [
Link.outgoing(kind="hyperlink", tag="http://some-url")
]
}
),
]
)