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

Rationalise/simplify settings #59

Open tomusher opened 4 months ago

tomusher commented 4 months ago

We currently have two settings:

WAGTAIL_VECTOR_INDEX, where configuration for AI backends is managed. WAGTAIL_VECTOR_INDEX_VECTOR_BACKENDS, where storage backends are managed.

It probably makes sense to simplify these and move the vector backend config to be a key in the more general WAGTAIL_VECTOR_INDEX setting.

As part of this, we can also correct the example on https://wagtail-vector-index.readthedocs.io/en/latest/vector-backends/ which implies that setting is used to configure OpenAI as a backend.