fromAgent
Converts a given GraphAIAgent instance into an AIAgentService instance.
Return
An AIAgentService instance constructed from the provided GraphAIAgent.
Parameters
The GraphAIAgent to be converted into a service instance.
Type Parameters
The input type that the agent processes.
The output type that the agent produces.
Creates a new instance of AIAgentService by transforming a given FunctionalAIAgent.
Return
A new AIAgentService instance configured with the parameters of the provided agent.
Parameters
The FunctionalAIAgent to be transformed into an AIAgentService.
Type Parameters
The type of input data expected by the agent.
The type of output data produced by the agent.
Converts a given GraphAIAgent instance into an AIAgentService instance.
Return
An AIAgentService instance constructed from the provided GraphAIAgent.
Parameters
The GraphAIAgent to be converted into a service instance.
Type Parameters
The input type that the agent processes.
The output type that the agent produces.
Creates a new instance of AIAgentService by transforming a given FunctionalAIAgent.
Return
A new AIAgentService instance configured with the parameters of the provided agent.
Parameters
The FunctionalAIAgent to be transformed into an AIAgentService.
Type Parameters
The type of input data expected by the agent.
The type of output data produced by the agent.
Converts a given GraphAIAgent instance into an AIAgentService instance.
Return
An AIAgentService instance constructed from the provided GraphAIAgent.
Parameters
The GraphAIAgent to be converted into a service instance.
Type Parameters
The input type that the agent processes.
The output type that the agent produces.
Creates a new instance of AIAgentService by transforming a given FunctionalAIAgent.
Return
A new AIAgentService instance configured with the parameters of the provided agent.
Parameters
The FunctionalAIAgent to be transformed into an AIAgentService.
Type Parameters
The type of input data expected by the agent.
The type of output data produced by the agent.