copy_with_links# langchain_community.graph_vectorstores.links.copy_with_links( doc: Document, *links: Link | Iterable[Link], ) → Document[source]# Beta This feature is in beta. It is actively being worked on, so the API may change. Return a document with the given links added. Parameters: doc (Document) – The document to add the links to. *links (Link | Iterable[Link]) – The links to add to the document. Returns: A document with a shallow-copy of the metadata with the links added. Return type: Document