Does anyone know a way to delete all of the results from a namespace search query? I am using python.
Think I figured it out, for anyone who finds in the future:
results = vdb.query(vector=vector_input, top_k=7, namespace='implicit_long_term_memory')
ids_to_delete = [m['id'] for m in results['matches']]
vdb.delete(ids=ids_to_delete, namespace='implicit_long_term_memory')
1 Like
ah thank you, just what I was looking for.