Delete Datasource
Remove a datasource and its vectors from a knowledge base.
Type
kb.delete-datasourceFolder
kbChannels
Any
Pipe
Value
Scope
Any
Delete Datasource (canvas label KB Delete Datasource) removes a datasource from a knowledge base and deletes its vectors. Other datasources stay in place.
To remove vectors without dropping the datasource record, use Delete.
Configure
| Setting | Description |
|---|---|
| Knowledge base | Store that owns the datasource (required) |
| Datasource ID | Datasource to remove (required) |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the datasource is removed |
Pipe schema
The next block continues after the delete. The data pipe value is an empty object.
Use case
- Drop a withdrawn document so it can no longer appear in search.
- Clean up a failed ingest after checking
erroron Get Datasource.