Method
Thereset method allows you to clear all vectors and metadata from a particular
namespace or all namespaces of an index.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
reset method allows you to clear all vectors and metadata from a particular
namespace or all namespaces of an index.
from upstash_vector import Index
index = Index.from_env()
index.reset()
from upstash_vector import Index
index = Index.from_env()
index.reset(namespace="ns")
from upstash_vector import Index
index = Index.from_env()
index.reset(all=True)
Was this page helpful?