Class: RubyLLM::Contract::Prompt::Nodes::SystemNode

Inherits:
RubyLLM::Contract::Prompt::Node show all
Defined in:
lib/ruby_llm/contract/prompt/nodes/system_node.rb

Instance Attribute Summary

Attributes inherited from RubyLLM::Contract::Prompt::Node

#content, #type

Instance Method Summary collapse

Methods inherited from RubyLLM::Contract::Prompt::Node

#==, #to_h

Constructor Details

#initialize(content) ⇒ SystemNode

Returns a new instance of SystemNode.



8
9
10
# File 'lib/ruby_llm/contract/prompt/nodes/system_node.rb', line 8

def initialize(content)
  super(type: :system, content: content)
end