SchemaCreate
Create a class schema in a Weaviate database.
type: "io.kestra.plugin.weaviate.SchemaCreate"
Examples
Send schema creation request to a Weaviate database.
id: create_weaviate_schema
namespace: company.team
tasks:
- id: schema
type: io.kestra.plugin.weaviate.SchemaCreate
url: "https://demo-cluster-id.weaviate.network"
apiKey: "{{ secret('WEAVIATE_API_KEY') }}"
className: Movies
fields:
name:
- string
description:
- string
category:
- string
Properties
className *Requiredstring
1
Class name where your data will be stored
url *Requiredstring
1
Connection URL
Example: localhost: 8080 or https://cluster-id.weaviate.network
apiKey string
API key to authenticate with a managed Weaviate cluster
If not provided, the anonymous authentication scheme will be used.
fields object
Fields to add to the class
Requires specified field name and a list of data types that will be stored in this field
headers object
Additional headers to add to the request e.g. to authenticate with OpenAI API
Outputs
success boolean
Indicates whether the schema creation was successful