Delete
Delete vectors from a knowledge base by id, ids, or metadata.
Type
kb.deleteFolder
kbChannels
Any
Pipe
Value
Scope
Any
Delete (canvas label KB Delete) removes vectors from a knowledge base. It does not remove the datasource record — use Delete Datasource when you want the source and its vectors gone together.
By metadata requires a filter. An empty filter is not allowed.
Configure
| Setting | Description |
|---|---|
| Knowledge base | Store to update (required) |
| Delete mode | By ID, By IDs, or By metadata |
| Vector ID | Shown in By ID — one vector id |
| Vector IDs (comma-separated) | Shown in By IDs — several ids |
| Metadata filter | Shown in By metadata — which vectors to remove |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the delete |
Pipe schema
The next block reads this on the data pipe (pipe.value). The value is an object:
| Key | Type | Description |
|---|---|---|
success | boolean | Whether the delete ran |
Use case
- Drop a single outdated FAQ by id.
- Clear all vectors tagged with a retired product using a metadata filter.