Class: LlmMemory::Wernicke

Inherits:
Object
  • Object
show all
Defined in:
lib/llm_memory/wernicke.rb

Class Method Summary collapse

Class Method Details

.load(loader_name, *args) ⇒ Object



7
8
9
10
11
12
# File 'lib/llm_memory/wernicke.rb', line 7

def self.load(loader_name, *args)
  loader_class = LoaderManager.loaders[loader_name]
  raise "Loader '#{loader_name}' not found." unless loader_class
  loader_instance = loader_class.new
  loader_instance.load(*args)
end