# EMBED.DEDUP.DROP

> Delete an embedding de-duplication namespace and all of its entries.

URL: https://docs.hotkv.com/commands/embed-dedup-drop/

```
EMBED.DEDUP.DROP namespace
```

- Group: Embeddings
- Complexity: O(N) where N is the number of entries
- HotKV Cloud: Performance and Scale plans
- On-Premise: requires the embed-dedup license feature

Embedding de-duplication stores each embedding once per content hash and counts references to it, so the same content embedded by many users or documents is stored, and paid for, only once. You compute the content hash and the embedding; HotKV keeps them in named namespaces. `EMBED.DEDUP.DROP` deletes a namespace with its entries and
counters.

## Return value

| Case | RESP2 | RESP3 |
| --- | --- | --- |
| Namespace deleted | Integer `1` | Same |
| No such namespace | Integer `0` | Same |

Errors:

- `ERR wrong number of arguments for 'embed.dedup.drop' command` if the argument count is wrong.
- `NOLICENSE embed-dedup requires a HotKV license. Contact sales@hotkv.com` if your license does not include the `embed-dedup` feature.

## Examples

```
127.0.0.1:6379> EMBED.DEDUP.DROP org
(integer) 1
127.0.0.1:6379> EMBED.DEDUP.DROP org
(integer) 0
```

## Compatibility

HotKV-only command. Redis and Valkey have no equivalent.

## See also

[EMBED.DEDUP.PUT](https://docs.hotkv.com/commands/embed-dedup-put/index.md), [EMBED.DEDUP.GET](https://docs.hotkv.com/commands/embed-dedup-get/index.md), [EMBED.DEDUP.RELEASE](https://docs.hotkv.com/commands/embed-dedup-release/index.md), [EMBED.DEDUP.STATS](https://docs.hotkv.com/commands/embed-dedup-stats/index.md), [EMBED.DEDUP.PURGE](https://docs.hotkv.com/commands/embed-dedup-purge/index.md), [EMBED.DEDUP.LIST](https://docs.hotkv.com/commands/embed-dedup-list/index.md), [AI features guide](https://docs.hotkv.com/ai-features/index.md)