truefoundry / cognita

RAG (Retrieval Augmented Generation) Framework for building modular, open source applications for production by TrueFoundry
https://cognita.truefoundry.com
Apache License 2.0
3.2k stars 259 forks source link

Unassociate datasource from collection API should remove vector points from the required collection. #317

Open innoavator opened 3 weeks ago

innoavator commented 3 weeks ago

Current, aunassociate_data_source_with_collection function in prismastore.py removes only the datasource from the collection but does not remove the associated data points ingested in the vector DB. Ideally it should also remove the points.

Hence we would like to add this feature here.