OpenaiResponsesBuildingStep
class OpenaiResponsesBuildingStep(mokksy: MokksyServer, buildingStep: BuildingStep<CreateResponseRequest>) : AbstractBuildingStep<CreateResponseRequest, OpenaiResponsesResponseSpecification> (source)
Represents a building step in the MokksyServer framework for configuring OpenAI responses.
Author
Konstantin Pavlov
Parameters
mokksy
The instance of MokksyServer used for this building step.
buildingStep
The building step associated with configuring responses of type CreateResponseRequest.
See also
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open infix fun <R : Any> respondsError(block: Consumer<ResponseDefinitionBuilder<CreateResponseRequest, R>>)
open infix fun <T : Any> respondsError(block: suspend ResponseDefinitionBuilder<CreateResponseRequest, T>.() -> Unit)
open fun <T : Any> respondsError(responseType: KClass<T>, block: suspend ResponseDefinitionBuilder<CreateResponseRequest, T>.() -> Unit)