Reset function for VectorDBs (#2584)
This commit is contained in:
@@ -285,3 +285,10 @@ class UpstashVector(VectorStoreBase):
|
||||
- Per-namespace vector and pending vector counts
|
||||
"""
|
||||
return self.client.info()
|
||||
|
||||
def reset(self):
|
||||
"""
|
||||
Reset the Upstash Vector index.
|
||||
"""
|
||||
self.delete_col()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user