Class: RubyLLM::SemanticRouter::Router::InMemoryExample

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubyllm/semantic_router/router.rb

Overview

In-memory routing example for non-Rails usage

Instance Attribute Summary collapse

Instance Attribute Details

#agent_name ⇒ Object

Returns the value of attribute agent_name

Returns:

  • (Object) —

    the current value of agent_name



44
45
46
# File 'lib/rubyllm/semantic_router/router.rb', line 44

def agent_name
  @agent_name
end

#embedding ⇒ Object

Returns the value of attribute embedding

Returns:

  • (Object) —

    the current value of embedding



44
45
46
# File 'lib/rubyllm/semantic_router/router.rb', line 44

def embedding
  @embedding
end

#example_text ⇒ Object

Returns the value of attribute example_text

Returns:

  • (Object) —

    the current value of example_text



44
45
46
# File 'lib/rubyllm/semantic_router/router.rb', line 44

def example_text
  @example_text
end