Package-level declarations
Types
Link copied to clipboard
Common contract for agent optimizers: algorithms that improve a GraphAIAgent by learning from execution trajectories collected over a training dataset.
Link copied to clipboard
A training dataset: an ordered list of TrainSetItems an optimizer runs the agent on.
Link copied to clipboard
An optimizer requires dataset items to run an agent on them and collect execution trajectories. DatasetItems consist of a userQuery, which is being passed to the Agent, and a label, which is the golden answer. The one using an optimizer is in charge of providing an optimizer with a relevant metric that can evaluate the produced result over the golden label.