R/genesis_refiner.R
Refiner.Rd
Refiner R6 Class
agent
The underlying Agent object
library
AgentLibrary reference
Refiner$new()
Refiner$refine()
Refiner$clone()
new()
Initialize Refiner
Refiner$new(capabilities_text, library, model)
capabilities_text
Formatted capabilities table
AgentLibrary instance
model
Model to use
refine()
Analyze failure and generate improvement strategy
Refiner$refine(task, plan, result, evaluation)
task
Original task description
plan
Execution plan that was used
result
Execution result
evaluation
Evaluation from Evaluator
List with refinement strategy
clone()
The objects of this class are cloneable with this method.
Refiner$clone(deep = FALSE)
deep
Whether to make a deep clone.