discourse-ai/spec
Roman Rizzi a53719ab8e
FIX: Open AI embeddings config migration & Seeded indexes cleanup & (#1092)
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.
2025-01-27 15:24:43 -03:00
..
configuration FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
db/migrate FIX: Open AI embeddings config migration & Seeded indexes cleanup & (#1092) 2025-01-27 15:24:43 -03:00
fabricators FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
fixtures FEATURE: AI Usage page (#964) 2024-11-29 06:26:48 +11:00
jobs FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
lib FEATURE: track duration of AI calls (#1082) 2025-01-23 11:32:12 +11:00
models FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
requests FEATURE: Formalize support for matryoshka dimensions. (#1083) 2025-01-22 11:26:46 -03:00
serializers DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
services FIX: Make summaries backfill job more resilient. (#1071) 2025-01-16 09:42:53 -03:00
shared FEATURE: Gemini Tokenizer (#1088) 2025-01-23 18:20:35 -03:00
support FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
system UX: improve embeddings config styles (#1085) 2025-01-24 16:24:59 +11:00
tasks DEV: Add rake task to send topics or posts to spam scanner (#1059) 2025-01-15 11:48:57 +08:00
plugin_helper.rb DEV: Fix mismatched column types (#868) 2024-10-28 15:36:42 +02:00
plugin_spec.rb FEATURE: smart date support for AI helper (#1044) 2024-12-31 08:04:25 +11:00