Class ScoreModelGrader.SamplingParams
- 
                    
                    - All Implemented Interfaces:
 
 public final class ScoreModelGrader.SamplingParamsThe sampling parameters for the model. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classScoreModelGrader.SamplingParams.BuilderA builder for SamplingParams. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<Long>maxCompletionsTokens()The maximum number of tokens the grader model may generate in its response. final Optional<ReasoningEffort>reasoningEffort()Constrains effort on reasoning for reasoning models. final Optional<Long>seed()A seed value to initialize the randomness, during sampling. final Optional<Double>temperature()A higher temperature increases randomness in the outputs. final Optional<Double>topP()An alternative to temperature for nucleus sampling; 1.0 includes all tokens. final JsonField<Long>_maxCompletionsTokens()Returns the raw JSON value of maxCompletionsTokens. final JsonField<ReasoningEffort>_reasoningEffort()Returns the raw JSON value of reasoningEffort. final JsonField<Long>_seed()Returns the raw JSON value of seed. final JsonField<Double>_temperature()Returns the raw JSON value of temperature. final JsonField<Double>_topP()Returns the raw JSON value of topP. final Map<String, JsonValue>_additionalProperties()final ScoreModelGrader.SamplingParams.BuildertoBuilder()final ScoreModelGrader.SamplingParamsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScoreModelGrader.SamplingParams.Builderbuilder()Returns a mutable builder for constructing an instance of SamplingParams. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        maxCompletionsTokensfinal Optional<Long> maxCompletionsTokens() The maximum number of tokens the grader model may generate in its response. 
 - 
                                        reasoningEffortfinal Optional<ReasoningEffort> reasoningEffort() Constrains effort on reasoning for reasoning models. Currently supported values are minimal,low,medium, andhigh. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.Note: The gpt-5-promodel defaults to (and only supports)highreasoning effort.
 - 
                                        temperaturefinal Optional<Double> temperature() A higher temperature increases randomness in the outputs. 
 - 
                                        topPfinal Optional<Double> topP() An alternative to temperature for nucleus sampling; 1.0 includes all tokens. 
 - 
                                        _maxCompletionsTokensfinal JsonField<Long> _maxCompletionsTokens() Returns the raw JSON value of maxCompletionsTokens. Unlike maxCompletionsTokens, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _reasoningEffortfinal JsonField<ReasoningEffort> _reasoningEffort() Returns the raw JSON value of reasoningEffort. Unlike reasoningEffort, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _seedfinal JsonField<Long> _seed() Returns the raw JSON value of seed. Unlike seed, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _temperaturefinal JsonField<Double> _temperature() Returns the raw JSON value of temperature. Unlike temperature, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _topPfinal JsonField<Double> _topP() Returns the raw JSON value of topP. Unlike topP, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ScoreModelGrader.SamplingParams.Builder toBuilder() 
 - 
                                        validatefinal ScoreModelGrader.SamplingParams validate() 
 - 
                                        builderfinal static ScoreModelGrader.SamplingParams.Builder builder() Returns a mutable builder for constructing an instance of SamplingParams. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-