Package com.chatmotorapi.api.models
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 Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description MotorModelsRequest
build()
Constructs a newMotorModelsRequest
instance with the current setup.MotorModelsRequest.Builder
chatMotor(ChatMotor chatMotor)
Sets the ChatMotor instance to be used for the request.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chatMotor
Sets the ChatMotor instance to be used for the request.- Parameters:
chatMotor
- the ChatMotor instance- Returns:
- this Builder instance for chaining
-
build
Constructs a newMotorModelsRequest
instance with the current setup.- Returns:
- a new instance of MotorAiModels
-