FIX: Suggest category/tag was broken since 2e5a393 (#237)

This commit is contained in:
Rafael dos Santos Silva 2023-10-02 16:36:56 -03:00 committed by GitHub
parent 102f47c1c4
commit 9d96c4d242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@
module DiscourseAi module DiscourseAi
module AiHelper module AiHelper
class SemanticCategorizer class SemanticCategorizer
def initialize(text, user) def initialize(input, user)
@user = user @user = user
@text = text @text = input[:text]
end end
def categories def categories