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.
9.6 KiB
Vector
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CreatedTime | Pointer to string | [optional] | |
| Currency | Pointer to string | [optional] | |
| Data | Pointer to []float32 | [optional] | |
| Dimension | Pointer to int32 | [optional] | |
| DisplayName | Pointer to string | [optional] | |
| File | Pointer to string | [optional] | |
| Index | Pointer to int32 | [optional] | |
| Name | Pointer to string | [optional] | |
| Owner | Pointer to string | [optional] | |
| Price | Pointer to float32 | [optional] | |
| Provider | Pointer to string | [optional] | |
| Score | Pointer to float32 | [optional] | |
| Store | Pointer to string | [optional] | |
| Text | Pointer to string | [optional] | |
| TokenCount | Pointer to int32 | [optional] |
Methods
NewVector
func NewVector() *Vector
NewVector instantiates a new Vector 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
NewVectorWithDefaults
func NewVectorWithDefaults() *Vector
NewVectorWithDefaults instantiates a new Vector 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
GetCreatedTime
func (o *Vector) GetCreatedTime() string
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
GetCreatedTimeOk
func (o *Vector) GetCreatedTimeOk() (*string, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedTime
func (o *Vector) SetCreatedTime(v string)
SetCreatedTime sets CreatedTime field to given value.
HasCreatedTime
func (o *Vector) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
GetCurrency
func (o *Vector) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
GetCurrencyOk
func (o *Vector) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCurrency
func (o *Vector) SetCurrency(v string)
SetCurrency sets Currency field to given value.
HasCurrency
func (o *Vector) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
GetData
func (o *Vector) GetData() []float32
GetData returns the Data field if non-nil, zero value otherwise.
GetDataOk
func (o *Vector) GetDataOk() (*[]float32, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetData
func (o *Vector) SetData(v []float32)
SetData sets Data field to given value.
HasData
func (o *Vector) HasData() bool
HasData returns a boolean if a field has been set.
GetDimension
func (o *Vector) GetDimension() int32
GetDimension returns the Dimension field if non-nil, zero value otherwise.
GetDimensionOk
func (o *Vector) GetDimensionOk() (*int32, bool)
GetDimensionOk returns a tuple with the Dimension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDimension
func (o *Vector) SetDimension(v int32)
SetDimension sets Dimension field to given value.
HasDimension
func (o *Vector) HasDimension() bool
HasDimension returns a boolean if a field has been set.
GetDisplayName
func (o *Vector) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *Vector) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDisplayName
func (o *Vector) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
HasDisplayName
func (o *Vector) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
GetFile
func (o *Vector) GetFile() string
GetFile returns the File field if non-nil, zero value otherwise.
GetFileOk
func (o *Vector) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFile
func (o *Vector) SetFile(v string)
SetFile sets File field to given value.
HasFile
func (o *Vector) HasFile() bool
HasFile returns a boolean if a field has been set.
GetIndex
func (o *Vector) GetIndex() int32
GetIndex returns the Index field if non-nil, zero value otherwise.
GetIndexOk
func (o *Vector) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIndex
func (o *Vector) SetIndex(v int32)
SetIndex sets Index field to given value.
HasIndex
func (o *Vector) HasIndex() bool
HasIndex returns a boolean if a field has been set.
GetName
func (o *Vector) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Vector) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *Vector) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *Vector) HasName() bool
HasName returns a boolean if a field has been set.
GetOwner
func (o *Vector) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
GetOwnerOk
func (o *Vector) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOwner
func (o *Vector) SetOwner(v string)
SetOwner sets Owner field to given value.
HasOwner
func (o *Vector) HasOwner() bool
HasOwner returns a boolean if a field has been set.
GetPrice
func (o *Vector) GetPrice() float32
GetPrice returns the Price field if non-nil, zero value otherwise.
GetPriceOk
func (o *Vector) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPrice
func (o *Vector) SetPrice(v float32)
SetPrice sets Price field to given value.
HasPrice
func (o *Vector) HasPrice() bool
HasPrice returns a boolean if a field has been set.
GetProvider
func (o *Vector) GetProvider() string
GetProvider returns the Provider field if non-nil, zero value otherwise.
GetProviderOk
func (o *Vector) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProvider
func (o *Vector) SetProvider(v string)
SetProvider sets Provider field to given value.
HasProvider
func (o *Vector) HasProvider() bool
HasProvider returns a boolean if a field has been set.
GetScore
func (o *Vector) GetScore() float32
GetScore returns the Score field if non-nil, zero value otherwise.
GetScoreOk
func (o *Vector) GetScoreOk() (*float32, bool)
GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetScore
func (o *Vector) SetScore(v float32)
SetScore sets Score field to given value.
HasScore
func (o *Vector) HasScore() bool
HasScore returns a boolean if a field has been set.
GetStore
func (o *Vector) GetStore() string
GetStore returns the Store field if non-nil, zero value otherwise.
GetStoreOk
func (o *Vector) GetStoreOk() (*string, bool)
GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStore
func (o *Vector) SetStore(v string)
SetStore sets Store field to given value.
HasStore
func (o *Vector) HasStore() bool
HasStore returns a boolean if a field has been set.
GetText
func (o *Vector) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
GetTextOk
func (o *Vector) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetText
func (o *Vector) SetText(v string)
SetText sets Text field to given value.
HasText
func (o *Vector) HasText() bool
HasText returns a boolean if a field has been set.
GetTokenCount
func (o *Vector) GetTokenCount() int32
GetTokenCount returns the TokenCount field if non-nil, zero value otherwise.
GetTokenCountOk
func (o *Vector) GetTokenCountOk() (*int32, bool)
GetTokenCountOk returns a tuple with the TokenCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTokenCount
func (o *Vector) SetTokenCount(v int32)
SetTokenCount sets TokenCount field to given value.
HasTokenCount
func (o *Vector) HasTokenCount() bool
HasTokenCount returns a boolean if a field has been set.