Exception: RubyLLM::SemanticRouter::NoRoutingExamplesError

Inherits:
Error
  • Object
show all
Defined in:
lib/rubyllm/semantic_router/errors.rb

Overview

Raised when routing examples are required but none exist

Instance Method Summary collapse

Constructor Details

#initializeNoRoutingExamplesError

Returns a new instance of NoRoutingExamplesError.



31
32
33
# File 'lib/rubyllm/semantic_router/errors.rb', line 31

def initialize
  super("No routing examples found. Add examples using router.add_example or configure a fallback.")
end