AbstractBuildingStep
abstract class AbstractBuildingStep<P : Any, R : AbstractResponseSpecification<P, *>>(mokksy: MokksyServer, buildingStep: BuildingStep<P>)(source)
Defines a building step for constructing a mock response based on specific request scenarios within a mock server for large language model interactions.
This class provides methods to specify both expected responses and error responses for completions requests. It serves as a framework for configuring the behavior of a mock server's response mechanism.
Type Parameters
P
The type of the request body for the interaction.
R
A type that extends AbstractResponseSpecification, representing configuration for the expected response specification.