Class: Rubyagents::PromptTemplates

Inherits:
Data
  • Object
show all
Defined in:
lib/rubyagents/prompt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(system_prompt: nil, planning_initial: nil, planning_update: nil) ⇒ PromptTemplates

Returns a new instance of PromptTemplates.



5
# File 'lib/rubyagents/prompt.rb', line 5

def initialize(system_prompt: nil, planning_initial: nil, planning_update: nil) = super

Instance Attribute Details

#planning_initial ⇒ Object (readonly)

Returns the value of attribute planning_initial

Returns:

  • (Object) —

    the current value of planning_initial



4
5
6
# File 'lib/rubyagents/prompt.rb', line 4

def planning_initial
  @planning_initial
end

#planning_update ⇒ Object (readonly)

Returns the value of attribute planning_update

Returns:

  • (Object) —

    the current value of planning_update



4
5
6
# File 'lib/rubyagents/prompt.rb', line 4

def planning_update
  @planning_update
end

#system_prompt ⇒ Object (readonly)

Returns the value of attribute system_prompt

Returns:

  • (Object) —

    the current value of system_prompt



4
5
6
# File 'lib/rubyagents/prompt.rb', line 4

def system_prompt
  @system_prompt
end