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.
5.2 KiB
AiCostStats
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| BaselineModel | Pointer to string | [optional] | |
| CounterfactualIndex | Pointer to float32 | [optional] | |
| CumulativeSavedIndex | Pointer to float32 | [optional] | |
| PricedEvents | Pointer to int32 | [optional] | |
| RoutedIndex | Pointer to float32 | [optional] | |
| SavedPct | Pointer to float32 | [optional] |
Methods
NewAiCostStats
func NewAiCostStats() *AiCostStats
NewAiCostStats instantiates a new AiCostStats 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
NewAiCostStatsWithDefaults
func NewAiCostStatsWithDefaults() *AiCostStats
NewAiCostStatsWithDefaults instantiates a new AiCostStats 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
GetBaselineModel
func (o *AiCostStats) GetBaselineModel() string
GetBaselineModel returns the BaselineModel field if non-nil, zero value otherwise.
GetBaselineModelOk
func (o *AiCostStats) GetBaselineModelOk() (*string, bool)
GetBaselineModelOk returns a tuple with the BaselineModel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBaselineModel
func (o *AiCostStats) SetBaselineModel(v string)
SetBaselineModel sets BaselineModel field to given value.
HasBaselineModel
func (o *AiCostStats) HasBaselineModel() bool
HasBaselineModel returns a boolean if a field has been set.
GetCounterfactualIndex
func (o *AiCostStats) GetCounterfactualIndex() float32
GetCounterfactualIndex returns the CounterfactualIndex field if non-nil, zero value otherwise.
GetCounterfactualIndexOk
func (o *AiCostStats) GetCounterfactualIndexOk() (*float32, bool)
GetCounterfactualIndexOk returns a tuple with the CounterfactualIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCounterfactualIndex
func (o *AiCostStats) SetCounterfactualIndex(v float32)
SetCounterfactualIndex sets CounterfactualIndex field to given value.
HasCounterfactualIndex
func (o *AiCostStats) HasCounterfactualIndex() bool
HasCounterfactualIndex returns a boolean if a field has been set.
GetCumulativeSavedIndex
func (o *AiCostStats) GetCumulativeSavedIndex() float32
GetCumulativeSavedIndex returns the CumulativeSavedIndex field if non-nil, zero value otherwise.
GetCumulativeSavedIndexOk
func (o *AiCostStats) GetCumulativeSavedIndexOk() (*float32, bool)
GetCumulativeSavedIndexOk returns a tuple with the CumulativeSavedIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCumulativeSavedIndex
func (o *AiCostStats) SetCumulativeSavedIndex(v float32)
SetCumulativeSavedIndex sets CumulativeSavedIndex field to given value.
HasCumulativeSavedIndex
func (o *AiCostStats) HasCumulativeSavedIndex() bool
HasCumulativeSavedIndex returns a boolean if a field has been set.
GetPricedEvents
func (o *AiCostStats) GetPricedEvents() int32
GetPricedEvents returns the PricedEvents field if non-nil, zero value otherwise.
GetPricedEventsOk
func (o *AiCostStats) GetPricedEventsOk() (*int32, bool)
GetPricedEventsOk returns a tuple with the PricedEvents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPricedEvents
func (o *AiCostStats) SetPricedEvents(v int32)
SetPricedEvents sets PricedEvents field to given value.
HasPricedEvents
func (o *AiCostStats) HasPricedEvents() bool
HasPricedEvents returns a boolean if a field has been set.
GetRoutedIndex
func (o *AiCostStats) GetRoutedIndex() float32
GetRoutedIndex returns the RoutedIndex field if non-nil, zero value otherwise.
GetRoutedIndexOk
func (o *AiCostStats) GetRoutedIndexOk() (*float32, bool)
GetRoutedIndexOk returns a tuple with the RoutedIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRoutedIndex
func (o *AiCostStats) SetRoutedIndex(v float32)
SetRoutedIndex sets RoutedIndex field to given value.
HasRoutedIndex
func (o *AiCostStats) HasRoutedIndex() bool
HasRoutedIndex returns a boolean if a field has been set.
GetSavedPct
func (o *AiCostStats) GetSavedPct() float32
GetSavedPct returns the SavedPct field if non-nil, zero value otherwise.
GetSavedPctOk
func (o *AiCostStats) GetSavedPctOk() (*float32, bool)
GetSavedPctOk returns a tuple with the SavedPct field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSavedPct
func (o *AiCostStats) SetSavedPct(v float32)
SetSavedPct sets SavedPct field to given value.
HasSavedPct
func (o *AiCostStats) HasSavedPct() bool
HasSavedPct returns a boolean if a field has been set.