Class ChainStepAgent<Request,Response>

java.lang.Object
com.javaaidev.agenticpatterns.core.Agent
com.javaaidev.agenticpatterns.taskexecution.TaskExecutionAgent<Request,Response>
com.javaaidev.agenticpatterns.chainworkflow.ChainStepAgent<Request,Response>
Type Parameters:
Request - Task input type
Response - Task output type
All Implemented Interfaces:
Function<Request,Response>, org.springframework.core.Ordered

public abstract class ChainStepAgent<Request,Response> extends TaskExecutionAgent<Request,Response> implements org.springframework.core.Ordered
A step in the chain
  • Constructor Details

    • ChainStepAgent

      protected ChainStepAgent(org.springframework.ai.chat.client.ChatClient chatClient, @Nullable io.micrometer.observation.ObservationRegistry observationRegistry)
    • ChainStepAgent

      protected ChainStepAgent(org.springframework.ai.chat.client.ChatClient chatClient, @Nullable Type responseType, @Nullable io.micrometer.observation.ObservationRegistry observationRegistry)
  • Method Details