mirror of
				https://github.com/discourse/discourse-ai.git
				synced 2025-10-31 06:28:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			455 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			455 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # frozen_string_literal: true
 | |
| module DiscourseAi
 | |
|   module AiHelper
 | |
|     class EntryPoint
 | |
|       def load_files
 | |
|         require_relative "llm_prompt"
 | |
|         require_relative "semantic_categorizer"
 | |
|       end
 | |
| 
 | |
|       def inject_into(plugin)
 | |
|         plugin.register_seedfu_fixtures(
 | |
|           Rails.root.join("plugins", "discourse-ai", "db", "fixtures", "ai_helper"),
 | |
|         )
 | |
|         plugin.register_svg_icon("discourse-sparkles")
 | |
|       end
 | |
|     end
 | |
|   end
 | |
| end
 |