Skip to content

Add batch_create_links method in Weaviate hook #42568

@harjeevanmaan

Description

@harjeevanmaan

Description

Add the batch_create_links method in the Weaviate hook to allow users batch create links from an object to anothe object through cross-references.

An example will be:

data = {
                    "collection_name": "TestCollection1",
                    "from_property": "property1",
                    "from_uuid": 1234455,
                    "to_uuid": 1245555,
                }
weaviate_hook.batch_create_links(data)

Use case/motivation

Currently basic batch import is already implemented. Using this method, users can create links between objects and also assign tenant as a kwarg.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions