Interface Agent.Effect.FailureBuilder<Result>

Enclosing interface:
Agent.Effect<T>

public static interface Agent.Effect.FailureBuilder<Result>
  • Method Details

    • thenReply

      Agent.Effect<Result> thenReply()
      Reply with the response from the model.
      Returns:
      A message reply.
    • thenReply

      Agent.Effect<Result> thenReply(Metadata metadata)
      Reply with the response from the model.
      Parameters:
      metadata - The metadata for the message.
      Returns:
      A message reply.