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: weaviate_delete_flow
namespace: company.team

tasks:
  - 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

id

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Validation regExp: ^[a-zA-Z0-9][a-zA-Z0-9_-]*
  • Min length: 1

Id of the object to delete

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:
  • Default: {}

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

Outputs

className

  • Type: string
  • Required:

Class name of the deleted object

deletedCount

  • Type: integer
  • Required:
  • Default: 0

Number of deleted objects

ids

  • Type: array
  • SubType: string
  • Required:

IDs of deleted objects

success

  • Type: boolean
  • Required:

Whether the delete operation was successful

Definitions

Was this page helpful?