Find answers from the community

Updated 6 months ago

@Logan M Hi, I'm testing supabase

At a glance

A community member is testing the Supabase vector store and is having an issue with deleting nodes. They are using the VectorStoreIndex.delete_ref_doc(doc_id) method, but it only deletes 10 rows of vectors, not all associated with the doc_id. Another community member suggests that the collection.query() method may have a default limit of 10 rows, and the original poster says they will check it out.

Useful resources
Hi, I'm testing supabase vectorstore, but have an issue with deleting nodes.

vector_store = SupabaseVectorStore( postgres_connection_string=DB_CONNECTION, collection_name='test', dimension=1536 ) index = VectorStoreIndex.from_vector_store(vector_store=vector_store) index.delete_ref_doc(doc_id)

It deletes only 10 rows of vectors, not all associated with doc_id.
I'm using llama_index version 0.8.68
L
M
3 comments
(I know nothing about supabase lol)
Thanks, will check it out!
Add a reply
Sign up and join the conversation on Discord