RAG.DROP
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.
Return value
Section titled “Return value”| Case | RESP2 | RESP3 |
|---|---|---|
| Pipeline deleted | Simple string OK |
Same |
Errors:
ERR pipeline not foundif the pipeline does not exist.ERR wrong number of arguments for 'rag.drop' commandif the argument count is wrong.NOLICENSE rag-pipeline requires a HotKV license. Contact sales@hotkv.comif your license does not include therag-pipelinefeature.
Examples
Section titled “Examples”127.0.0.1:6379> RAG.DROP faqOK127.0.0.1:6379> RAG.DROP faq(error) ERR pipeline not foundCompatibility
Section titled “Compatibility”HotKV-only command. Redis and Valkey have no equivalent.
See also
Section titled “See also”RAG.CREATE, RAG.INGEST, RAG.SEARCH, RAG.STATS, RAG.LIST, AI features guide
Was this page helpful?
Thanks for the feedback.