Package com.embabel.agent.api.common
Interface AgentFunction
-
- All Implemented Interfaces:
-
java.util.function.BiFunction
public interface AgentFunction<I extends Object, O extends Object> implements BiFunction<I, ProcessOptions, O>
Reusable AgentFunction. Allows use of AgentPlatform as a function from I to O, with different process options.
-
-
Method Summary
Modifier and Type Method Description abstract AgentScopegetAgentScope()abstract Class<O>getOutputClass()-
-
Method Detail
-
getAgentScope
abstract AgentScope getAgentScope()
-
getOutputClass
abstract Class<O> getOutputClass()
-
-
-
-