Package com.openai.models.responses
        Class ResponseOutputText.Logprob
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseOutputText.LogprobThe log probability of a token.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseOutputText.Logprob.BuilderA builder for Logprob.
public final classResponseOutputText.Logprob.TopLogprobThe top log probability of a token.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Stringtoken()final List<Long>bytes()final Doublelogprob()final List<ResponseOutputText.Logprob.TopLogprob>topLogprobs()final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<List<Long>>_bytes()Returns the raw JSON value of bytes. final JsonField<Double>_logprob()Returns the raw JSON value of logprob. final JsonField<List<ResponseOutputText.Logprob.TopLogprob>>_topLogprobs()Returns the raw JSON value of topLogprobs. final Map<String, JsonValue>_additionalProperties()final ResponseOutputText.Logprob.BuildertoBuilder()final ResponseOutputText.Logprobvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseOutputText.Logprob.Builderbuilder()Returns a mutable builder for constructing an instance of Logprob. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
topLogprobs
final List<ResponseOutputText.Logprob.TopLogprob> topLogprobs()
 
- 
                                        
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_bytes
final JsonField<List<Long>> _bytes()
Returns the raw JSON value of bytes.
Unlike bytes, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_logprob
final JsonField<Double> _logprob()
Returns the raw JSON value of logprob.
Unlike logprob, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_topLogprobs
final JsonField<List<ResponseOutputText.Logprob.TopLogprob>> _topLogprobs()
Returns the raw JSON value of topLogprobs.
Unlike topLogprobs, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ResponseOutputText.Logprob.Builder toBuilder()
 
- 
                                        
validate
final ResponseOutputText.Logprob validate()
 
- 
                                        
builder
final static ResponseOutputText.Logprob.Builder builder()
Returns a mutable builder for constructing an instance of Logprob.
The following fields are required:
.token() .bytes() .logprob() .topLogprobs() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -