Class: RubyLLM::Contract::Prompt::Nodes::RuleNode
- Inherits:
-
RubyLLM::Contract::Prompt::Node
- Object
- RubyLLM::Contract::Prompt::Node
- RubyLLM::Contract::Prompt::Nodes::RuleNode
- Defined in:
- lib/ruby_llm/contract/prompt/nodes/rule_node.rb
Instance Attribute Summary
Attributes inherited from RubyLLM::Contract::Prompt::Node
Instance Method Summary collapse
-
#initialize(content) ⇒ RuleNode
constructor
A new instance of RuleNode.
Methods inherited from RubyLLM::Contract::Prompt::Node
Constructor Details
#initialize(content) ⇒ RuleNode
Returns a new instance of RuleNode.
8 9 10 |
# File 'lib/ruby_llm/contract/prompt/nodes/rule_node.rb', line 8 def initialize(content) super(type: :rule, content: content) end |