Files
sdk/docs/OpenaiTopLogProbs.md
zeekay 6f6e5d1367 Regenerate: the AI surface says what it answers
288 of hanzoai/ai's 294 operations now declare a response, against 1 before.
GET /v1/models, POST /v1/chat/completions, /v1/embeddings, /v1/messages —
every address a client actually calls — used to reach this client untyped,
because cloud's relay carried an operation's sentence and dropped the shapes
it named. It carries both now.

Fleet-wide the document goes from 69% to 81% of operations declaring what
comes back, which is where the ~208 new models here come from.
2026-08-28 15:52:09 -07:00

2.8 KiB

OpenaiTopLogProbs

Properties

Name Type Description Notes
Bytes Pointer to string [optional]
Logprob Pointer to float32 [optional]
Token Pointer to string [optional]

Methods

NewOpenaiTopLogProbs

func NewOpenaiTopLogProbs() *OpenaiTopLogProbs

NewOpenaiTopLogProbs instantiates a new OpenaiTopLogProbs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewOpenaiTopLogProbsWithDefaults

func NewOpenaiTopLogProbsWithDefaults() *OpenaiTopLogProbs

NewOpenaiTopLogProbsWithDefaults instantiates a new OpenaiTopLogProbs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetBytes

func (o *OpenaiTopLogProbs) GetBytes() string

GetBytes returns the Bytes field if non-nil, zero value otherwise.

GetBytesOk

func (o *OpenaiTopLogProbs) GetBytesOk() (*string, bool)

GetBytesOk returns a tuple with the Bytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBytes

func (o *OpenaiTopLogProbs) SetBytes(v string)

SetBytes sets Bytes field to given value.

HasBytes

func (o *OpenaiTopLogProbs) HasBytes() bool

HasBytes returns a boolean if a field has been set.

GetLogprob

func (o *OpenaiTopLogProbs) GetLogprob() float32

GetLogprob returns the Logprob field if non-nil, zero value otherwise.

GetLogprobOk

func (o *OpenaiTopLogProbs) GetLogprobOk() (*float32, bool)

GetLogprobOk returns a tuple with the Logprob field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLogprob

func (o *OpenaiTopLogProbs) SetLogprob(v float32)

SetLogprob sets Logprob field to given value.

HasLogprob

func (o *OpenaiTopLogProbs) HasLogprob() bool

HasLogprob returns a boolean if a field has been set.

GetToken

func (o *OpenaiTopLogProbs) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *OpenaiTopLogProbs) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *OpenaiTopLogProbs) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *OpenaiTopLogProbs) HasToken() bool

HasToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]