diff --git a/lib/modules/embeddings/model.rb b/lib/modules/embeddings/model.rb index 28850925..e939e895 100644 --- a/lib/modules/embeddings/model.rb +++ b/lib/modules/embeddings/model.rb @@ -71,8 +71,7 @@ module DiscourseAi if name.start_with?("instructor") instructed_input = [ - SiteSetting.ai_embeddings_semantic_related_instruction, - truncated_input, + [SiteSetting.ai_embeddings_semantic_related_instruction, truncated_input], ] end