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 `object_type` be an attr of the index class #51

Closed mgax closed 8 months ago

mgax commented 8 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 8 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.