mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-29 11:02:17 +00:00
FIX: Suggest category/tag was broken since 2e5a393 (#237)
This commit is contained in:
parent
102f47c1c4
commit
9d96c4d242
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user