Class: Insika::ContextPackage
- Inherits:
-
Data
- Object
- Data
- Insika::ContextPackage
- Defined in:
- lib/insika/context/builder.rb
Overview
Builder output, consumed by the Executor in stage 5. system: String (final concatenation for with_instructions) history: [content:] (for seeding the chat) tool_context: String | nil fragments: [ContextFragment] post-cut, in canonical order (audit) budget: { cap:, used:, evicted: [source] }
Instance Attribute Summary collapse
-
#budget ⇒ Object
readonly
Returns the value of attribute budget.
-
#fragments ⇒ Object
readonly
Returns the value of attribute fragments.
-
#history ⇒ Object
readonly
Returns the value of attribute history.
-
#system ⇒ Object
readonly
Returns the value of attribute system.
-
#tool_context ⇒ Object
readonly
Returns the value of attribute tool_context.
Instance Attribute Details
#budget ⇒ Object (readonly)
Returns the value of attribute budget
13 14 15 |
# File 'lib/insika/context/builder.rb', line 13 def budget @budget end |
#fragments ⇒ Object (readonly)
Returns the value of attribute fragments
13 14 15 |
# File 'lib/insika/context/builder.rb', line 13 def fragments @fragments end |
#history ⇒ Object (readonly)
Returns the value of attribute history
13 14 15 |
# File 'lib/insika/context/builder.rb', line 13 def history @history end |
#system ⇒ Object (readonly)
Returns the value of attribute system
13 14 15 |
# File 'lib/insika/context/builder.rb', line 13 def system @system end |
#tool_context ⇒ Object (readonly)
Returns the value of attribute tool_context
13 14 15 |
# File 'lib/insika/context/builder.rb', line 13 def tool_context @tool_context end |