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.
4.0 KiB
RagEmbedResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Chunks | Pointer to int32 | [optional] | |
| FileId | Pointer to string | [optional] | |
| Filename | Pointer to string | [optional] | |
| IndexName | Pointer to string | [optional] | |
| Store | Pointer to string | [optional] |
Methods
NewRagEmbedResult
func NewRagEmbedResult() *RagEmbedResult
NewRagEmbedResult instantiates a new RagEmbedResult 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
NewRagEmbedResultWithDefaults
func NewRagEmbedResultWithDefaults() *RagEmbedResult
NewRagEmbedResultWithDefaults instantiates a new RagEmbedResult 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
GetChunks
func (o *RagEmbedResult) GetChunks() int32
GetChunks returns the Chunks field if non-nil, zero value otherwise.
GetChunksOk
func (o *RagEmbedResult) GetChunksOk() (*int32, bool)
GetChunksOk returns a tuple with the Chunks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChunks
func (o *RagEmbedResult) SetChunks(v int32)
SetChunks sets Chunks field to given value.
HasChunks
func (o *RagEmbedResult) HasChunks() bool
HasChunks returns a boolean if a field has been set.
GetFileId
func (o *RagEmbedResult) GetFileId() string
GetFileId returns the FileId field if non-nil, zero value otherwise.
GetFileIdOk
func (o *RagEmbedResult) GetFileIdOk() (*string, bool)
GetFileIdOk returns a tuple with the FileId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFileId
func (o *RagEmbedResult) SetFileId(v string)
SetFileId sets FileId field to given value.
HasFileId
func (o *RagEmbedResult) HasFileId() bool
HasFileId returns a boolean if a field has been set.
GetFilename
func (o *RagEmbedResult) GetFilename() string
GetFilename returns the Filename field if non-nil, zero value otherwise.
GetFilenameOk
func (o *RagEmbedResult) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFilename
func (o *RagEmbedResult) SetFilename(v string)
SetFilename sets Filename field to given value.
HasFilename
func (o *RagEmbedResult) HasFilename() bool
HasFilename returns a boolean if a field has been set.
GetIndexName
func (o *RagEmbedResult) GetIndexName() string
GetIndexName returns the IndexName field if non-nil, zero value otherwise.
GetIndexNameOk
func (o *RagEmbedResult) GetIndexNameOk() (*string, bool)
GetIndexNameOk returns a tuple with the IndexName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIndexName
func (o *RagEmbedResult) SetIndexName(v string)
SetIndexName sets IndexName field to given value.
HasIndexName
func (o *RagEmbedResult) HasIndexName() bool
HasIndexName returns a boolean if a field has been set.
GetStore
func (o *RagEmbedResult) GetStore() string
GetStore returns the Store field if non-nil, zero value otherwise.
GetStoreOk
func (o *RagEmbedResult) 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 *RagEmbedResult) SetStore(v string)
SetStore sets Store field to given value.
HasStore
func (o *RagEmbedResult) HasStore() bool
HasStore returns a boolean if a field has been set.