load Optimized Agent
open override fun loadOptimizedAgent(baseAgent: GraphAIAgent<Input, Output>): GraphAIAgent<Input, Output>
Loads training artifacts produced by train and applies them to the given baseAgent.
Note: there is an implicit contract to first call train and only then call this method. Otherwise, behavior is not defined, but expect some exception, likely FileNotFound.
Return
An optimized version of baseAgent.