OpenaiEmbedBuildingStep

constructor(mokksy: MokksyServer, buildingStep: BuildingStep<CreateEmbeddingsRequest>)(source)

Initializes the building step with the provided mock server instance and a higher-level building step for configuring embedding responses.

Parameters

mokksy

The mock server instance used for handling mock request and response lifecycle.

buildingStep

The underlying building step for managing and supporting response configurations for OpenAI Embedding requests.