The component definition and tasks are defined in the definition.yaml and tasks.yaml files respectively.
Setup
In order to communicate with Weaviate, the following connection details need to be
provided. You may specify them directly in a pipeline recipe as key-value pairs
within the component's setup block, or you can create a Connection from
the Integration Settings
page and reference the whole setup as setup: ${connection.<my-connection-id>}.
Field
Field ID
Type
Note
API Key (required)
api-key
string
Fill in your Weaviate API key. Please refer to clusters in Weaviate Console.
Weaviate URL Endpoint (required)
url
string
Fill in your Weaviate base URL without https:// or http://. Please refer to clusters in Weaviate Console.
Supported Tasks
Vector Search
Perform a vector search on a collection
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_VECTOR_SEARCH
Collection Name (required)
collection-name
string
The name of the collection to perform vector search on.
Vector
vector
array[number]
An array of dimensions for the vector query, optional. If not provided, all objects will be returned.
Limit
limit
integer
The limit of objects, empty for all objects.
Fields
fields
array[string]
The fields to return in the objects. If empty then all fields will be returned.
Filter
filter
object
The properties filter to be applied to the data with GraphQL queries, which starts with WHERE field, please refer to here.