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.
2.8 KiB
OpenaiEmbedding
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Embedding | Pointer to []float32 | [optional] | |
| Index | Pointer to int32 | [optional] | |
| Object | Pointer to string | [optional] |
Methods
NewOpenaiEmbedding
func NewOpenaiEmbedding() *OpenaiEmbedding
NewOpenaiEmbedding instantiates a new OpenaiEmbedding 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
NewOpenaiEmbeddingWithDefaults
func NewOpenaiEmbeddingWithDefaults() *OpenaiEmbedding
NewOpenaiEmbeddingWithDefaults instantiates a new OpenaiEmbedding 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
GetEmbedding
func (o *OpenaiEmbedding) GetEmbedding() []float32
GetEmbedding returns the Embedding field if non-nil, zero value otherwise.
GetEmbeddingOk
func (o *OpenaiEmbedding) GetEmbeddingOk() (*[]float32, bool)
GetEmbeddingOk returns a tuple with the Embedding field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEmbedding
func (o *OpenaiEmbedding) SetEmbedding(v []float32)
SetEmbedding sets Embedding field to given value.
HasEmbedding
func (o *OpenaiEmbedding) HasEmbedding() bool
HasEmbedding returns a boolean if a field has been set.
GetIndex
func (o *OpenaiEmbedding) GetIndex() int32
GetIndex returns the Index field if non-nil, zero value otherwise.
GetIndexOk
func (o *OpenaiEmbedding) 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 *OpenaiEmbedding) SetIndex(v int32)
SetIndex sets Index field to given value.
HasIndex
func (o *OpenaiEmbedding) HasIndex() bool
HasIndex returns a boolean if a field has been set.
GetObject
func (o *OpenaiEmbedding) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
GetObjectOk
func (o *OpenaiEmbedding) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetObject
func (o *OpenaiEmbedding) SetObject(v string)
SetObject sets Object field to given value.
HasObject
func (o *OpenaiEmbedding) HasObject() bool
HasObject returns a boolean if a field has been set.