Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

RAG.DROP

Last updated
RAG.DROP pipeline
Group
RAG
Complexity
O(N) where N is the number of chunks
Arity
2 (exactly, counting the command name)
Flags
write, slow
Keys
first 1, last 1, step 1
HotKV Cloud
Performance and Scale
On-Premise
requires the rag-pipeline license feature

A RAG pipeline splits your documents into chunks, keeps each chunk with the embedding you computed for it, and answers searches that combine keyword (BM25) relevance with vector similarity, all inside HotKV. RAG.DROP deletes a pipeline, its chunks and their embeddings.

Case RESP2 RESP3
Pipeline deleted Simple string OK Same

Errors:

  • ERR pipeline not found if the pipeline does not exist.
  • ERR wrong number of arguments for 'rag.drop' command if the argument count is wrong.
  • NOLICENSE rag-pipeline requires a HotKV license. Contact sales@hotkv.com if your license does not include the rag-pipeline feature.
127.0.0.1:6379> RAG.DROP faq
OK
127.0.0.1:6379> RAG.DROP faq
(error) ERR pipeline not found

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

RAG.CREATE, RAG.INGEST, RAG.SEARCH, RAG.STATS, RAG.LIST, AI features guide