wagtail / wagtail-vector-index

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

Make `object_type` be an attr of the index class #51

Closed mgax closed 6 months ago

mgax commented 6 months ago

This fixes the bug in https://github.com/wagtail/wagtail-vector-index/issues/18 where an index pulled from the registry is unable to perform search() and query() operations.

tomusher commented 6 months ago

Thanks @mgax - this seems like a sensible improvement to me. Aware merging this may cause some conflicts for #52 if we decide to merge that but let's get this in first.