Class: RubyLLM::SemanticRouter::AgentConfig

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

Overview

Internal representation of agent config (extracted from chat objects)

Instance Attribute Summary collapse

Instance Attribute Details

#instructionsObject

Returns the value of attribute instructions

Returns:

  • (Object)

    the current value of instructions



18
19
20
# File 'lib/rubyllm/semantic_router/router.rb', line 18

def instructions
  @instructions
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



18
19
20
# File 'lib/rubyllm/semantic_router/router.rb', line 18

def model
  @model
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/rubyllm/semantic_router/router.rb', line 18

def name
  @name
end

#temperatureObject

Returns the value of attribute temperature

Returns:

  • (Object)

    the current value of temperature



18
19
20
# File 'lib/rubyllm/semantic_router/router.rb', line 18

def temperature
  @temperature
end

#toolsObject

Returns the value of attribute tools

Returns:

  • (Object)

    the current value of tools



18
19
20
# File 'lib/rubyllm/semantic_router/router.rb', line 18

def tools
  @tools
end