Delete Delete

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

Delete specific objects in a Weaviate database.

Examples

Send delete request to a Weaviate database. Use object ID or other properties.

yaml
id: "delete"
type: "io.kestra.plugin.weaviate.Delete"
url: https://demo-cluster-id.weaviate.network
className: WeaviateObject
filter:
  fieldName: field value to be deleted by

Properties

className

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

Class name for which you want to delete data

url

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

Connection URL

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

apiKey

  • Type: string
  • Dynamic: ✔️
  • Required:

API key to authenticate with a managed Weaviate cluster

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

filter

  • Type: object
  • Dynamic: ✔️
  • Required:

Attributes to filter by for deletion

headers

  • Type: object
  • SubType: string
  • Dynamic: ✔️
  • Required:

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

id

  • Type: string
  • Dynamic: ✔️
  • Required:

Id of the object to delete

Outputs

className

  • Type: string
  • Dynamic:
  • Required:

Class name of the deleted object

deletedCount

  • Type: integer
  • Dynamic:
  • Required:
  • Default: 0

Number of deleted objects

ids

  • Type: array
  • SubType: string
  • Dynamic:
  • Required:

IDs of deleted objects

success

  • Type: boolean
  • Dynamic:
  • Required:

Whether the delete operation was successful