wagtail / wagtail-vector-index

Store Wagtail pages & Django models as embeddings in vector databases
https://wagtail-vector-index.readthedocs.io/en/latest/
MIT License
20 stars 13 forks source link

PgVectorEmbedding objects out of sync with Embeddings #82

Open tomusher opened 2 months ago

tomusher commented 2 months ago

The PgVector backend uses its own model where embeddings are stored for indexing by pgvector.

It seems in some cases these models can get out of sync with the source Embedding models:

>>> PgvectorEmbedding.objects.all().count()
850
>>> Embedding.objects.all().count()
887

Cause to be investigated