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

Make Embedding models required for all indexes #56

Closed tomusher closed 7 months ago

tomusher commented 7 months ago

At the moment, the creation of Embedding models is not required when creating Documents, but there are backends like the pgvector backend that depends on them existing.

It probably makes sense for a Document to always need the ID of the Embedding object it relates to, forcing a converter to generate those objects.

tomusher commented 7 months ago

Resolved in #57