Package-level declarations
Types
Link copied to clipboard
class OpenaiResponsesBuildingStep(mokksy: MokksyServer, buildingStep: BuildingStep<CreateResponseRequest>) : AbstractBuildingStep<CreateResponseRequest, OpenaiResponsesResponseSpecification>
Represents a building step in the MokksyServer framework for configuring OpenAI responses.
Link copied to clipboard
open class OpenaiResponsesRequestSpecification(var seed: Int? = null) : AbstractInferenceRequestSpecification<CreateResponseRequest>
Defines specifications for building and validating OpenAI response requests. This class extends the functionalities provided by AbstractInferenceRequestSpecification to incorporate additional checks specific to handling OpenAI response-related requests.
Link copied to clipboard
class OpenaiResponsesResponseSpecification(var assistantContent: String = "", var responseFlow: Flow<String>? = null, var responseChunks: List<String>? = null, var delayBetweenChunks: Duration = Duration.ZERO, delay: Duration = Duration.ZERO, var finishReason: String = "stop") : AbstractResponseSpecification<CreateResponseRequest, Response>
Represents the specification for an OpenAI API response configuration. This class enables the customization of response properties, such as content, delays, and finishing behavior. It extends ChatResponseSpecification with additional properties and methods specific to the OpenAI API.