Exception: RubyLLM::SemanticRouter::NoRoutingExamplesError
- Defined in:
- lib/rubyllm/semantic_router/errors.rb
Overview
Raised when routing examples are required but none exist
Instance Method Summary collapse
-
#initialize ⇒ NoRoutingExamplesError
constructor
A new instance of NoRoutingExamplesError.
Constructor Details
#initialize ⇒ NoRoutingExamplesError
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 |