Class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams
- 
                    
                    - All Implemented Interfaces:
 
 public final class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classRunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.BuilderA builder for SamplingParams. public final classRunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.TextConfiguration options for a text response from the model. Can be plain text or structured JSON data. Learn more: 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<Long>maxCompletionTokens()The maximum number of tokens in the generated output. 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<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Text>text()Configuration options for a text response from the model. final Optional<List<Tool>>tools()An array of tools the model may call while generating a response. final Optional<Double>topP()An alternative to temperature for nucleus sampling; 1.0 includes all tokens. final JsonField<Long>_maxCompletionTokens()Returns the raw JSON value of maxCompletionTokens. 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<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Text>_text()Returns the raw JSON value of text. final JsonField<List<Tool>>_tools()Returns the raw JSON value of tools. final JsonField<Double>_topP()Returns the raw JSON value of topP. final Map<String, JsonValue>_additionalProperties()final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.BuildertoBuilder()final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParamsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Builderbuilder()Returns a mutable builder for constructing an instance of SamplingParams. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        maxCompletionTokensfinal Optional<Long> maxCompletionTokens() The maximum number of tokens in the generated output. 
 - 
                                        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. 
 - 
                                        textfinal Optional<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Text> text() Configuration options for a text response from the model. Can be plain text or structured JSON data. Learn more: 
 - 
                                        toolsfinal Optional<List<Tool>> tools() An array of tools the model may call while generating a response. You can specify which tool to use by setting the tool_choiceparameter.The two categories of tools you can provide the model are: - Built-in tools: Tools that are provided by OpenAI that extend the model's capabilities, like web search or file search. Learn more about built-in tools. 
- Function calls (custom tools): Functions that are defined by you, enabling the model to call your own code. Learn more about function calling. 
 
 - 
                                        topPfinal Optional<Double> topP() An alternative to temperature for nucleus sampling; 1.0 includes all tokens. 
 - 
                                        _maxCompletionTokensfinal JsonField<Long> _maxCompletionTokens() Returns the raw JSON value of maxCompletionTokens. Unlike maxCompletionTokens, 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. 
 - 
                                        _textfinal JsonField<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Text> _text() Returns the raw JSON value of text. Unlike text, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _toolsfinal JsonField<List<Tool>> _tools() Returns the raw JSON value of tools. Unlike tools, 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 RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Builder toBuilder() 
 - 
                                        validatefinal RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams validate() 
 - 
                                        builderfinal static RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams.Builder builder() Returns a mutable builder for constructing an instance of SamplingParams. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-