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.
3.0 KiB
AiRoutingRewardResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Recorded | Pointer to bool | [optional] | |
| RequestId | Pointer to string | [optional] | |
| Reward | Pointer to float32 | [optional] |
Methods
NewAiRoutingRewardResult
func NewAiRoutingRewardResult() *AiRoutingRewardResult
NewAiRoutingRewardResult instantiates a new AiRoutingRewardResult 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
NewAiRoutingRewardResultWithDefaults
func NewAiRoutingRewardResultWithDefaults() *AiRoutingRewardResult
NewAiRoutingRewardResultWithDefaults instantiates a new AiRoutingRewardResult 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
GetRecorded
func (o *AiRoutingRewardResult) GetRecorded() bool
GetRecorded returns the Recorded field if non-nil, zero value otherwise.
GetRecordedOk
func (o *AiRoutingRewardResult) GetRecordedOk() (*bool, bool)
GetRecordedOk returns a tuple with the Recorded field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRecorded
func (o *AiRoutingRewardResult) SetRecorded(v bool)
SetRecorded sets Recorded field to given value.
HasRecorded
func (o *AiRoutingRewardResult) HasRecorded() bool
HasRecorded returns a boolean if a field has been set.
GetRequestId
func (o *AiRoutingRewardResult) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
GetRequestIdOk
func (o *AiRoutingRewardResult) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRequestId
func (o *AiRoutingRewardResult) SetRequestId(v string)
SetRequestId sets RequestId field to given value.
HasRequestId
func (o *AiRoutingRewardResult) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
GetReward
func (o *AiRoutingRewardResult) GetReward() float32
GetReward returns the Reward field if non-nil, zero value otherwise.
GetRewardOk
func (o *AiRoutingRewardResult) GetRewardOk() (*float32, bool)
GetRewardOk returns a tuple with the Reward field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReward
func (o *AiRoutingRewardResult) SetReward(v float32)
SetReward sets Reward field to given value.
HasReward
func (o *AiRoutingRewardResult) HasReward() bool
HasReward returns a boolean if a field has been set.