SchemaCreate
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
Dynamic YES
Min length 1
Class name where your data will be stored
Dynamic YES
Min length 1
Connection URL
Example: localhost: 8080 or https://cluster-id.weaviate.network
Dynamic YES
API key to authenticate with a managed Weaviate cluster
If not provided, the anonymous authentication scheme will be used.
SubType array
Dynamic YES
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
Dynamic YES
Additional headers to add to the request e.g. to authenticate with OpenAI API
Indicates whether the schema creation was successful