Class DpoMethod.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class DpoMethod.BuilderA builder for DpoMethod.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final DpoMethod.Builderhyperparameters(DpoHyperparameters hyperparameters)The hyperparameters used for the DPO fine-tuning job. final DpoMethod.Builderhyperparameters(JsonField<DpoHyperparameters> hyperparameters)Sets Builder.hyperparameters to an arbitrary JSON value. final DpoMethod.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final DpoMethod.BuilderputAdditionalProperty(String key, JsonValue value)final DpoMethod.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final DpoMethod.BuilderremoveAdditionalProperty(String key)final DpoMethod.BuilderremoveAllAdditionalProperties(Set<String> keys)final DpoMethodbuild()Returns an immutable instance of DpoMethod. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
hyperparameters
final DpoMethod.Builder hyperparameters(DpoHyperparameters hyperparameters)
The hyperparameters used for the DPO fine-tuning job.
 
- 
                                        
hyperparameters
final DpoMethod.Builder hyperparameters(JsonField<DpoHyperparameters> hyperparameters)
Sets Builder.hyperparameters to an arbitrary JSON value.
You should usually call Builder.hyperparameters with a well-typed DpoHyperparameters value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final DpoMethod.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final DpoMethod.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final DpoMethod.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final DpoMethod.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final DpoMethod.Builder removeAllAdditionalProperties(Set<String> keys)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -