Class MotorModelsRequest.Builder

java.lang.Object
com.chatmotorapi.api.models.MotorModelsRequest.Builder
Enclosing class:
MotorModelsRequest

public static class MotorModelsRequest.Builder
extends Object
Builder class for creating MotorModelsRequest instances. Provides a flexible way to create various configurations of MotorAiModels.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • chatMotor

      public MotorModelsRequest.Builder chatMotor​(ChatMotor chatMotor)
      Sets the ChatMotor instance to be used for the request.
      Parameters:
      chatMotor - the ChatMotor instance
      Returns:
      this Builder instance for chaining
    • build

      public MotorModelsRequest build()
      Constructs a new MotorModelsRequest instance with the current setup.
      Returns:
      a new instance of MotorAiModels