RepeatUntilAcceptableBuilder

data class RepeatUntilAcceptableBuilder<INPUT, RESULT : Any, FEEDBACK : Feedback>(resultClass: Class<RESULT>, inputClass: Class<out INPUT>, feedbackClass: Class<FEEDBACK> = Feedback::class.java as Class<FEEDBACK>, maxIterations: Int = DEFAULT_MAX_ITERATIONS, scoreThreshold: Double = DEFAULT_SCORE_THRESHOLD) : WorkflowBuilderConsuming

Java friendly builder for RepeatUntilAcceptable workflow.

Constructors

Link copied to clipboard
constructor(resultClass: Class<RESULT>, inputClass: Class<out INPUT>, feedbackClass: Class<FEEDBACK> = Feedback::class.java as Class<FEEDBACK>, maxIterations: Int = DEFAULT_MAX_ITERATIONS, scoreThreshold: Double = DEFAULT_SCORE_THRESHOLD)

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Specify the input type for this workflow. Return a builder

Link copied to clipboard

Define the task to be repeated until an acceptable result is achieved.

Link copied to clipboard

Customize the feedback class for this RepeatUntil workflow.

Link copied to clipboard