Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@romanrizzi
Copy link
Member

This change fixes two different problems.

First, we add a data migration to migrate the configuration of sites using Open AI's embedding model. There was a window between the embedding config changes and #1087, where sites could end up in a broken state due to an unconfigured selected model setting, as reported on https://meta.discourse.org/t/-/348964

The second fix drops pre-seeded search indexes of the models we didn't migrate and corrects the ones where the dimensions don't match. Since the index uses the model ID, new embedding configs could use one of these ones even when the dimensions no longer match.

@romanrizzi romanrizzi changed the title FIX: Open AI embeddings config migration & Seeded indexes cleanup & FIX: Open AI embeddings config migration & Seeded indexes cleanup Jan 27, 2025
@romanrizzi romanrizzi force-pushed the followup_embedding_config branch from 9c604f8 to 55743cb Compare January 27, 2025 17:32
This change fixes two different problems.

First, we add a data migration to migrate the configuration of sites using Open AI's embedding model. There was a window between the embedding config changes and #1087, where sites could end up in a broken state due to an unconfigured selected model setting, as reported on https://meta.discourse.org/t/-/348964

The second fix drops pre-seeded search indexes of the models we didn't migrate and corrects the ones where the dimensions don't match. Since the index uses the model ID, new embedding configs could use one of these ones even when the dimensions no longer match.
@romanrizzi romanrizzi force-pushed the followup_embedding_config branch from 55743cb to 538aaf5 Compare January 27, 2025 17:45
@romanrizzi romanrizzi merged commit a53719a into main Jan 27, 2025
6 checks passed
@romanrizzi romanrizzi deleted the followup_embedding_config branch January 27, 2025 18:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants