SchemaCreate​Schema​Create

Create a class schema in a Weaviate database.

yaml
type: "io.kestra.plugin.weaviate.SchemaCreate"

Send schema creation request to a Weaviate database.

yaml
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
Min length 1

Class name where your data will be stored

Min length 1

Connection URL

Example: localhost: 8080 or https://cluster-id.weaviate.network

API key to authenticate with a managed Weaviate cluster

If not provided, the anonymous authentication scheme will be used.

SubType array

Fields to add to the class

Requires specified field name and a list of data types that will be stored in this field

SubType string

Additional headers to add to the request e.g. to authenticate with OpenAI API

Indicates whether the schema creation was successful