Redis Delete

Redis Delete

Certified

Remove elements from a Redis vector set

Runs VREM once per rendered element (VREM has no multi-element form, unlike DEL), counts removals, and can fail when not all elements are removed.

yaml
type: io.kestra.plugin.redis.vector.Delete

Remove an embedding from a vector set.

yaml
id: remove_embedding
namespace: company.team

tasks:
  - id: delete
    type: io.kestra.plugin.redis.vector.Delete
    url: "redis://:{{ secret('REDIS_PASSWORD') }}@{{ secret('REDIS_HOST') }}:6379"
    key: doc_embeddings
    elements:
      - doc_42
Properties
SubTypestring

Element ids to remove

Rendered list of element ids; each one is removed with its own VREM call.

Vector set key

Rendered before calling VREM.

Redis connection string

Defaultfalse

Fail when removals are missing

Defaults to false; when true, throws if fewer elements are removed than requested.

Reference (ref) of the pluginDefaults to apply to this task.

Removed count

Total number of elements actually removed.