From b3273131156a39b7ae730226d9b1dc094bf4c6ba Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Thu, 14 Mar 2024 15:19:28 -0300 Subject: [PATCH] DEV: Fix module namespace breaking reloads (#530) --- lib/embeddings/entry_point.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/embeddings/entry_point.rb b/lib/embeddings/entry_point.rb index 11d8f851..1fd15b7a 100644 --- a/lib/embeddings/entry_point.rb +++ b/lib/embeddings/entry_point.rb @@ -20,7 +20,10 @@ module DiscourseAi end @related_topics ||= - SemanticTopicQuery.new(@user).list_semantic_related_topics(topic).topics + ::DiscourseAi::Embeddings::SemanticTopicQuery + .new(@user) + .list_semantic_related_topics(topic) + .topics end %i[topic_view TopicViewPosts].each do |serializer|