Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AddEmbedding
- func (o *AddEmbedding) GetDocuments() []string
- func (o *AddEmbedding) GetDocumentsOk() ([]string, bool)
- func (o *AddEmbedding) GetEmbeddings() []EmbeddingsInner
- func (o *AddEmbedding) GetEmbeddingsOk() ([]EmbeddingsInner, bool)
- func (o *AddEmbedding) GetIds() []string
- func (o *AddEmbedding) GetIdsOk() ([]string, bool)
- func (o *AddEmbedding) GetMetadatas() []map[string]interface{}
- func (o *AddEmbedding) GetMetadatasOk() ([]map[string]interface{}, bool)
- func (o *AddEmbedding) HasDocuments() bool
- func (o *AddEmbedding) HasEmbeddings() bool
- func (o *AddEmbedding) HasMetadatas() bool
- func (o AddEmbedding) MarshalJSON() ([]byte, error)
- func (o *AddEmbedding) SetDocuments(v []string)
- func (o *AddEmbedding) SetEmbeddings(v []EmbeddingsInner)
- func (o *AddEmbedding) SetIds(v []string)
- func (o *AddEmbedding) SetMetadatas(v []map[string]interface{})
- func (o AddEmbedding) ToMap() (map[string]interface{}, error)
- type ApiAddRequest
- type ApiCountCollectionsRequest
- type ApiCountRequest
- type ApiCreateCollectionRequest
- func (r ApiCreateCollectionRequest) CreateCollection(createCollection CreateCollection) ApiCreateCollectionRequest
- func (r ApiCreateCollectionRequest) Database(database string) ApiCreateCollectionRequest
- func (r ApiCreateCollectionRequest) Execute() (*Collection, *http.Response, error)
- func (r ApiCreateCollectionRequest) Tenant(tenant string) ApiCreateCollectionRequest
- type ApiCreateDatabaseRequest
- type ApiCreateTenantRequest
- type ApiDeleteCollectionRequest
- type ApiDeleteRequest
- type ApiGetCollectionRequest
- type ApiGetDatabaseRequest
- type ApiGetNearestNeighborsRequest
- type ApiGetRequest
- type ApiGetTenantRequest
- type ApiHeartbeatRequest
- type ApiListCollectionsRequest
- type ApiPreFlightChecksRequest
- type ApiResetRequest
- type ApiRootRequest
- type ApiUpdateCollectionRequest
- type ApiUpdateRequest
- type ApiUpsertRequest
- type ApiVersionRequest
- type BasicAuth
- type Collection
- func (o *Collection) GetId() string
- func (o *Collection) GetIdOk() (*string, bool)
- func (o *Collection) GetMetadata() map[string]Metadata
- func (o *Collection) GetMetadataOk() (*map[string]Metadata, bool)
- func (o *Collection) GetName() string
- func (o *Collection) GetNameOk() (*string, bool)
- func (o *Collection) HasMetadata() bool
- func (o Collection) MarshalJSON() ([]byte, error)
- func (o *Collection) SetId(v string)
- func (o *Collection) SetMetadata(v map[string]Metadata)
- func (o *Collection) SetName(v string)
- func (o Collection) ToMap() (map[string]interface{}, error)
- type Configuration
- type CreateCollection
- func (o *CreateCollection) GetGetOrCreate() bool
- func (o *CreateCollection) GetGetOrCreateOk() (*bool, bool)
- func (o *CreateCollection) GetMetadata() map[string]interface{}
- func (o *CreateCollection) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CreateCollection) GetName() string
- func (o *CreateCollection) GetNameOk() (*string, bool)
- func (o *CreateCollection) HasGetOrCreate() bool
- func (o *CreateCollection) HasMetadata() bool
- func (o CreateCollection) MarshalJSON() ([]byte, error)
- func (o *CreateCollection) SetGetOrCreate(v bool)
- func (o *CreateCollection) SetMetadata(v map[string]interface{})
- func (o *CreateCollection) SetName(v string)
- func (o CreateCollection) ToMap() (map[string]interface{}, error)
- type CreateDatabase
- type CreateTenant
- type Database
- func (o *Database) GetId() string
- func (o *Database) GetIdOk() (*string, bool)
- func (o *Database) GetName() string
- func (o *Database) GetNameOk() (*string, bool)
- func (o *Database) GetTenant() string
- func (o *Database) GetTenantOk() (*string, bool)
- func (o *Database) HasId() bool
- func (o *Database) HasName() bool
- func (o *Database) HasTenant() bool
- func (o Database) MarshalJSON() ([]byte, error)
- func (o *Database) SetId(v string)
- func (o *Database) SetName(v string)
- func (o *Database) SetTenant(v string)
- func (o Database) ToMap() (map[string]interface{}, error)
- type DefaultApiService
- func (a *DefaultApiService) Add(ctx context.Context, collectionId string) ApiAddRequest
- func (a *DefaultApiService) AddExecute(r ApiAddRequest) (bool, *http.Response, error)
- func (a *DefaultApiService) Count(ctx context.Context, collectionId string) ApiCountRequest
- func (a *DefaultApiService) CountCollections(ctx context.Context) ApiCountCollectionsRequest
- func (a *DefaultApiService) CountCollectionsExecute(r ApiCountCollectionsRequest) (int32, *http.Response, error)
- func (a *DefaultApiService) CountExecute(r ApiCountRequest) (int32, *http.Response, error)
- func (a *DefaultApiService) CreateCollection(ctx context.Context) ApiCreateCollectionRequest
- func (a *DefaultApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)
- func (a *DefaultApiService) CreateDatabase(ctx context.Context) ApiCreateDatabaseRequest
- func (a *DefaultApiService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*Database, *http.Response, error)
- func (a *DefaultApiService) CreateTenant(ctx context.Context) ApiCreateTenantRequest
- func (a *DefaultApiService) CreateTenantExecute(r ApiCreateTenantRequest) (*Tenant, *http.Response, error)
- func (a *DefaultApiService) Delete(ctx context.Context, collectionId string) ApiDeleteRequest
- func (a *DefaultApiService) DeleteCollection(ctx context.Context, collectionName string) ApiDeleteCollectionRequest
- func (a *DefaultApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (*Collection, *http.Response, error)
- func (a *DefaultApiService) DeleteExecute(r ApiDeleteRequest) ([]string, *http.Response, error)
- func (a *DefaultApiService) Get(ctx context.Context, collectionId string) ApiGetRequest
- func (a *DefaultApiService) GetCollection(ctx context.Context, collectionName string) ApiGetCollectionRequest
- func (a *DefaultApiService) GetCollectionExecute(r ApiGetCollectionRequest) (*Collection, *http.Response, error)
- func (a *DefaultApiService) GetDatabase(ctx context.Context, database string) ApiGetDatabaseRequest
- func (a *DefaultApiService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*Database, *http.Response, error)
- func (a *DefaultApiService) GetExecute(r ApiGetRequest) (*GetResult, *http.Response, error)
- func (a *DefaultApiService) GetNearestNeighbors(ctx context.Context, collectionId string) ApiGetNearestNeighborsRequest
- func (a *DefaultApiService) GetNearestNeighborsExecute(r ApiGetNearestNeighborsRequest) (*QueryResult, *http.Response, error)
- func (a *DefaultApiService) GetTenant(ctx context.Context, tenant string) ApiGetTenantRequest
- func (a *DefaultApiService) GetTenantExecute(r ApiGetTenantRequest) (*Tenant, *http.Response, error)
- func (a *DefaultApiService) Heartbeat(ctx context.Context) ApiHeartbeatRequest
- func (a *DefaultApiService) HeartbeatExecute(r ApiHeartbeatRequest) (map[string]float32, *http.Response, error)
- func (a *DefaultApiService) ListCollections(ctx context.Context) ApiListCollectionsRequest
- func (a *DefaultApiService) ListCollectionsExecute(r ApiListCollectionsRequest) ([]Collection, *http.Response, error)
- func (a *DefaultApiService) PreFlightChecks(ctx context.Context) ApiPreFlightChecksRequest
- func (a *DefaultApiService) PreFlightChecksExecute(r ApiPreFlightChecksRequest) (map[string]interface{}, *http.Response, error)
- func (a *DefaultApiService) Reset(ctx context.Context) ApiResetRequest
- func (a *DefaultApiService) ResetExecute(r ApiResetRequest) (bool, *http.Response, error)
- func (a *DefaultApiService) Root(ctx context.Context) ApiRootRequest
- func (a *DefaultApiService) RootExecute(r ApiRootRequest) (map[string]float32, *http.Response, error)
- func (a *DefaultApiService) Update(ctx context.Context, collectionId string) ApiUpdateRequest
- func (a *DefaultApiService) UpdateCollection(ctx context.Context, collectionId string) ApiUpdateCollectionRequest
- func (a *DefaultApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)
- func (a *DefaultApiService) UpdateExecute(r ApiUpdateRequest) (bool, *http.Response, error)
- func (a *DefaultApiService) Upsert(ctx context.Context, collectionId string) ApiUpsertRequest
- func (a *DefaultApiService) UpsertExecute(r ApiUpsertRequest) (bool, *http.Response, error)
- func (a *DefaultApiService) Version(ctx context.Context) ApiVersionRequest
- func (a *DefaultApiService) VersionExecute(r ApiVersionRequest) (string, *http.Response, error)
- type DeleteEmbedding
- func (o *DeleteEmbedding) GetIds() []string
- func (o *DeleteEmbedding) GetIdsOk() ([]string, bool)
- func (o *DeleteEmbedding) GetWhere() map[string]interface{}
- func (o *DeleteEmbedding) GetWhereDocument() map[string]interface{}
- func (o *DeleteEmbedding) GetWhereDocumentOk() (map[string]interface{}, bool)
- func (o *DeleteEmbedding) GetWhereOk() (map[string]interface{}, bool)
- func (o *DeleteEmbedding) HasIds() bool
- func (o *DeleteEmbedding) HasWhere() bool
- func (o *DeleteEmbedding) HasWhereDocument() bool
- func (o DeleteEmbedding) MarshalJSON() ([]byte, error)
- func (o *DeleteEmbedding) SetIds(v []string)
- func (o *DeleteEmbedding) SetWhere(v map[string]interface{})
- func (o *DeleteEmbedding) SetWhereDocument(v map[string]interface{})
- func (o DeleteEmbedding) ToMap() (map[string]interface{}, error)
- type EmbeddingsInner
- type GenericOpenAPIError
- type GetEmbedding
- func (o *GetEmbedding) GetIds() []string
- func (o *GetEmbedding) GetIdsOk() ([]string, bool)
- func (o *GetEmbedding) GetInclude() []IncludeInner
- func (o *GetEmbedding) GetIncludeOk() ([]IncludeInner, bool)
- func (o *GetEmbedding) GetLimit() int32
- func (o *GetEmbedding) GetLimitOk() (*int32, bool)
- func (o *GetEmbedding) GetOffset() int32
- func (o *GetEmbedding) GetOffsetOk() (*int32, bool)
- func (o *GetEmbedding) GetSort() string
- func (o *GetEmbedding) GetSortOk() (*string, bool)
- func (o *GetEmbedding) GetWhere() map[string]interface{}
- func (o *GetEmbedding) GetWhereDocument() map[string]interface{}
- func (o *GetEmbedding) GetWhereDocumentOk() (map[string]interface{}, bool)
- func (o *GetEmbedding) GetWhereOk() (map[string]interface{}, bool)
- func (o *GetEmbedding) HasIds() bool
- func (o *GetEmbedding) HasInclude() bool
- func (o *GetEmbedding) HasLimit() bool
- func (o *GetEmbedding) HasOffset() bool
- func (o *GetEmbedding) HasSort() bool
- func (o *GetEmbedding) HasWhere() bool
- func (o *GetEmbedding) HasWhereDocument() bool
- func (o GetEmbedding) MarshalJSON() ([]byte, error)
- func (o *GetEmbedding) SetIds(v []string)
- func (o *GetEmbedding) SetInclude(v []IncludeInner)
- func (o *GetEmbedding) SetLimit(v int32)
- func (o *GetEmbedding) SetOffset(v int32)
- func (o *GetEmbedding) SetSort(v string)
- func (o *GetEmbedding) SetWhere(v map[string]interface{})
- func (o *GetEmbedding) SetWhereDocument(v map[string]interface{})
- func (o GetEmbedding) ToMap() (map[string]interface{}, error)
- type GetResult
- func (o *GetResult) GetDocuments() []string
- func (o *GetResult) GetDocumentsOk() ([]string, bool)
- func (o *GetResult) GetEmbeddings() []EmbeddingsInner
- func (o *GetResult) GetEmbeddingsOk() ([]EmbeddingsInner, bool)
- func (o *GetResult) GetIds() []string
- func (o *GetResult) GetIdsOk() ([]string, bool)
- func (o *GetResult) GetMetadatas() []map[string]interface{}
- func (o *GetResult) GetMetadatasOk() ([]map[string]interface{}, bool)
- func (o GetResult) MarshalJSON() ([]byte, error)
- func (o *GetResult) SetDocuments(v []string)
- func (o *GetResult) SetEmbeddings(v []EmbeddingsInner)
- func (o *GetResult) SetIds(v []string)
- func (o *GetResult) SetMetadatas(v []map[string]interface{})
- func (o GetResult) ToMap() (map[string]interface{}, error)
- type HTTPValidationError
- func (o *HTTPValidationError) GetDetail() []ValidationError
- func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
- func (o *HTTPValidationError) HasDetail() bool
- func (o HTTPValidationError) MarshalJSON() ([]byte, error)
- func (o *HTTPValidationError) SetDetail(v []ValidationError)
- func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
- type IncludeInner
- type LocationInner
- type MappedNullable
- type Metadata
- type NullableAddEmbedding
- func (v NullableAddEmbedding) Get() *AddEmbedding
- func (v NullableAddEmbedding) IsSet() bool
- func (v NullableAddEmbedding) MarshalJSON() ([]byte, error)
- func (v *NullableAddEmbedding) Set(val *AddEmbedding)
- func (v *NullableAddEmbedding) UnmarshalJSON(src []byte) error
- func (v *NullableAddEmbedding) Unset()
- type NullableBool
- type NullableCollection
- type NullableCreateCollection
- func (v NullableCreateCollection) Get() *CreateCollection
- func (v NullableCreateCollection) IsSet() bool
- func (v NullableCreateCollection) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCollection) Set(val *CreateCollection)
- func (v *NullableCreateCollection) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCollection) Unset()
- type NullableCreateDatabase
- func (v NullableCreateDatabase) Get() *CreateDatabase
- func (v NullableCreateDatabase) IsSet() bool
- func (v NullableCreateDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabase) Set(val *CreateDatabase)
- func (v *NullableCreateDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabase) Unset()
- type NullableCreateTenant
- func (v NullableCreateTenant) Get() *CreateTenant
- func (v NullableCreateTenant) IsSet() bool
- func (v NullableCreateTenant) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTenant) Set(val *CreateTenant)
- func (v *NullableCreateTenant) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTenant) Unset()
- type NullableDatabase
- type NullableDeleteEmbedding
- func (v NullableDeleteEmbedding) Get() *DeleteEmbedding
- func (v NullableDeleteEmbedding) IsSet() bool
- func (v NullableDeleteEmbedding) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteEmbedding) Set(val *DeleteEmbedding)
- func (v *NullableDeleteEmbedding) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteEmbedding) Unset()
- type NullableEmbeddingsInner
- func (v NullableEmbeddingsInner) Get() *EmbeddingsInner
- func (v NullableEmbeddingsInner) IsSet() bool
- func (v NullableEmbeddingsInner) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingsInner) Set(val *EmbeddingsInner)
- func (v *NullableEmbeddingsInner) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingsInner) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetEmbedding
- func (v NullableGetEmbedding) Get() *GetEmbedding
- func (v NullableGetEmbedding) IsSet() bool
- func (v NullableGetEmbedding) MarshalJSON() ([]byte, error)
- func (v *NullableGetEmbedding) Set(val *GetEmbedding)
- func (v *NullableGetEmbedding) UnmarshalJSON(src []byte) error
- func (v *NullableGetEmbedding) Unset()
- type NullableGetResult
- type NullableHTTPValidationError
- func (v NullableHTTPValidationError) Get() *HTTPValidationError
- func (v NullableHTTPValidationError) IsSet() bool
- func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
- func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableHTTPValidationError) Unset()
- type NullableIncludeInner
- func (v NullableIncludeInner) Get() *IncludeInner
- func (v NullableIncludeInner) IsSet() bool
- func (v NullableIncludeInner) MarshalJSON() ([]byte, error)
- func (v *NullableIncludeInner) Set(val *IncludeInner)
- func (v *NullableIncludeInner) UnmarshalJSON(src []byte) error
- func (v *NullableIncludeInner) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLocationInner
- func (v NullableLocationInner) Get() *LocationInner
- func (v NullableLocationInner) IsSet() bool
- func (v NullableLocationInner) MarshalJSON() ([]byte, error)
- func (v *NullableLocationInner) Set(val *LocationInner)
- func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
- func (v *NullableLocationInner) Unset()
- type NullableMetadata
- type NullableQueryEmbedding
- func (v NullableQueryEmbedding) Get() *QueryEmbedding
- func (v NullableQueryEmbedding) IsSet() bool
- func (v NullableQueryEmbedding) MarshalJSON() ([]byte, error)
- func (v *NullableQueryEmbedding) Set(val *QueryEmbedding)
- func (v *NullableQueryEmbedding) UnmarshalJSON(src []byte) error
- func (v *NullableQueryEmbedding) Unset()
- type NullableQueryResult
- func (v NullableQueryResult) Get() *QueryResult
- func (v NullableQueryResult) IsSet() bool
- func (v NullableQueryResult) MarshalJSON() ([]byte, error)
- func (v *NullableQueryResult) Set(val *QueryResult)
- func (v *NullableQueryResult) UnmarshalJSON(src []byte) error
- func (v *NullableQueryResult) Unset()
- type NullableString
- type NullableTenant
- type NullableTime
- type NullableUpdateCollection
- func (v NullableUpdateCollection) Get() *UpdateCollection
- func (v NullableUpdateCollection) IsSet() bool
- func (v NullableUpdateCollection) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCollection) Set(val *UpdateCollection)
- func (v *NullableUpdateCollection) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCollection) Unset()
- type NullableUpdateEmbedding
- func (v NullableUpdateEmbedding) Get() *UpdateEmbedding
- func (v NullableUpdateEmbedding) IsSet() bool
- func (v NullableUpdateEmbedding) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateEmbedding) Set(val *UpdateEmbedding)
- func (v *NullableUpdateEmbedding) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateEmbedding) Unset()
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type QueryEmbedding
- func (o *QueryEmbedding) GetInclude() []IncludeInner
- func (o *QueryEmbedding) GetIncludeOk() ([]IncludeInner, bool)
- func (o *QueryEmbedding) GetNResults() int32
- func (o *QueryEmbedding) GetNResultsOk() (*int32, bool)
- func (o *QueryEmbedding) GetQueryEmbeddings() []EmbeddingsInner
- func (o *QueryEmbedding) GetQueryEmbeddingsOk() ([]EmbeddingsInner, bool)
- func (o *QueryEmbedding) GetWhere() map[string]interface{}
- func (o *QueryEmbedding) GetWhereDocument() map[string]interface{}
- func (o *QueryEmbedding) GetWhereDocumentOk() (map[string]interface{}, bool)
- func (o *QueryEmbedding) GetWhereOk() (map[string]interface{}, bool)
- func (o *QueryEmbedding) HasInclude() bool
- func (o *QueryEmbedding) HasNResults() bool
- func (o *QueryEmbedding) HasWhere() bool
- func (o *QueryEmbedding) HasWhereDocument() bool
- func (o QueryEmbedding) MarshalJSON() ([]byte, error)
- func (o *QueryEmbedding) SetInclude(v []IncludeInner)
- func (o *QueryEmbedding) SetNResults(v int32)
- func (o *QueryEmbedding) SetQueryEmbeddings(v []EmbeddingsInner)
- func (o *QueryEmbedding) SetWhere(v map[string]interface{})
- func (o *QueryEmbedding) SetWhereDocument(v map[string]interface{})
- func (o QueryEmbedding) ToMap() (map[string]interface{}, error)
- type QueryResult
- func (o *QueryResult) GetDistances() [][]float32
- func (o *QueryResult) GetDistancesOk() ([][]float32, bool)
- func (o *QueryResult) GetDocuments() [][]string
- func (o *QueryResult) GetDocumentsOk() ([][]string, bool)
- func (o *QueryResult) GetEmbeddings() [][]EmbeddingsInner
- func (o *QueryResult) GetEmbeddingsOk() ([][]EmbeddingsInner, bool)
- func (o *QueryResult) GetIds() [][]string
- func (o *QueryResult) GetIdsOk() ([][]string, bool)
- func (o *QueryResult) GetMetadatas() [][]map[string]interface{}
- func (o *QueryResult) GetMetadatasOk() ([][]map[string]interface{}, bool)
- func (o QueryResult) MarshalJSON() ([]byte, error)
- func (o *QueryResult) SetDistances(v [][]float32)
- func (o *QueryResult) SetDocuments(v [][]string)
- func (o *QueryResult) SetEmbeddings(v [][]EmbeddingsInner)
- func (o *QueryResult) SetIds(v [][]string)
- func (o *QueryResult) SetMetadatas(v [][]map[string]interface{})
- func (o QueryResult) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Tenant
- type UpdateCollection
- func (o *UpdateCollection) GetNewMetadata() map[string]interface{}
- func (o *UpdateCollection) GetNewMetadataOk() (map[string]interface{}, bool)
- func (o *UpdateCollection) GetNewName() string
- func (o *UpdateCollection) GetNewNameOk() (*string, bool)
- func (o *UpdateCollection) HasNewMetadata() bool
- func (o *UpdateCollection) HasNewName() bool
- func (o UpdateCollection) MarshalJSON() ([]byte, error)
- func (o *UpdateCollection) SetNewMetadata(v map[string]interface{})
- func (o *UpdateCollection) SetNewName(v string)
- func (o UpdateCollection) ToMap() (map[string]interface{}, error)
- type UpdateEmbedding
- func (o *UpdateEmbedding) GetDocuments() []string
- func (o *UpdateEmbedding) GetDocumentsOk() ([]string, bool)
- func (o *UpdateEmbedding) GetEmbeddings() []EmbeddingsInner
- func (o *UpdateEmbedding) GetEmbeddingsOk() ([]EmbeddingsInner, bool)
- func (o *UpdateEmbedding) GetIds() []string
- func (o *UpdateEmbedding) GetIdsOk() ([]string, bool)
- func (o *UpdateEmbedding) GetMetadatas() []map[string]interface{}
- func (o *UpdateEmbedding) GetMetadatasOk() ([]map[string]interface{}, bool)
- func (o *UpdateEmbedding) HasDocuments() bool
- func (o *UpdateEmbedding) HasEmbeddings() bool
- func (o *UpdateEmbedding) HasMetadatas() bool
- func (o UpdateEmbedding) MarshalJSON() ([]byte, error)
- func (o *UpdateEmbedding) SetDocuments(v []string)
- func (o *UpdateEmbedding) SetEmbeddings(v []EmbeddingsInner)
- func (o *UpdateEmbedding) SetIds(v []string)
- func (o *UpdateEmbedding) SetMetadatas(v []map[string]interface{})
- func (o UpdateEmbedding) ToMap() (map[string]interface{}, error)
- type ValidationError
- func (o *ValidationError) GetLoc() []LocationInner
- func (o *ValidationError) GetLocOk() ([]LocationInner, bool)
- func (o *ValidationError) GetMsg() string
- func (o *ValidationError) GetMsgOk() (*string, bool)
- func (o *ValidationError) GetType() string
- func (o *ValidationError) GetTypeOk() (*string, bool)
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetLoc(v []LocationInner)
- func (o *ValidationError) SetMsg(v string)
- func (o *ValidationError) SetType(v string)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the ChromaDB API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AddEmbedding ¶
type AddEmbedding struct { Embeddings []EmbeddingsInner `json:"embeddings,omitempty"` Metadatas []map[string]interface{} `json:"metadatas,omitempty"` Documents []string `json:"documents,omitempty"` Ids []string `json:"ids"` }
AddEmbedding struct for AddEmbedding
func NewAddEmbedding ¶
func NewAddEmbedding(ids []string) *AddEmbedding
NewAddEmbedding instantiates a new AddEmbedding 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
func NewAddEmbeddingWithDefaults ¶
func NewAddEmbeddingWithDefaults() *AddEmbedding
NewAddEmbeddingWithDefaults instantiates a new AddEmbedding 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
func (*AddEmbedding) GetDocuments ¶
func (o *AddEmbedding) GetDocuments() []string
GetDocuments returns the Documents field value if set, zero value otherwise.
func (*AddEmbedding) GetDocumentsOk ¶
func (o *AddEmbedding) GetDocumentsOk() ([]string, bool)
GetDocumentsOk returns a tuple with the Documents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddEmbedding) GetEmbeddings ¶
func (o *AddEmbedding) GetEmbeddings() []EmbeddingsInner
GetEmbeddings returns the Embeddings field value if set, zero value otherwise.
func (*AddEmbedding) GetEmbeddingsOk ¶
func (o *AddEmbedding) GetEmbeddingsOk() ([]EmbeddingsInner, bool)
GetEmbeddingsOk returns a tuple with the Embeddings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddEmbedding) GetIds ¶
func (o *AddEmbedding) GetIds() []string
GetIds returns the Ids field value
func (*AddEmbedding) GetIdsOk ¶
func (o *AddEmbedding) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value and a boolean to check if the value has been set.
func (*AddEmbedding) GetMetadatas ¶
func (o *AddEmbedding) GetMetadatas() []map[string]interface{}
GetMetadatas returns the Metadatas field value if set, zero value otherwise.
func (*AddEmbedding) GetMetadatasOk ¶
func (o *AddEmbedding) GetMetadatasOk() ([]map[string]interface{}, bool)
GetMetadatasOk returns a tuple with the Metadatas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddEmbedding) HasDocuments ¶
func (o *AddEmbedding) HasDocuments() bool
HasDocuments returns a boolean if a field has been set.
func (*AddEmbedding) HasEmbeddings ¶
func (o *AddEmbedding) HasEmbeddings() bool
HasEmbeddings returns a boolean if a field has been set.
func (*AddEmbedding) HasMetadatas ¶
func (o *AddEmbedding) HasMetadatas() bool
HasMetadatas returns a boolean if a field has been set.
func (AddEmbedding) MarshalJSON ¶
func (o AddEmbedding) MarshalJSON() ([]byte, error)
func (*AddEmbedding) SetDocuments ¶
func (o *AddEmbedding) SetDocuments(v []string)
SetDocuments gets a reference to the given []string and assigns it to the Documents field.
func (*AddEmbedding) SetEmbeddings ¶
func (o *AddEmbedding) SetEmbeddings(v []EmbeddingsInner)
SetEmbeddings gets a reference to the given []EmbeddingsInner and assigns it to the Embeddings field.
func (*AddEmbedding) SetMetadatas ¶
func (o *AddEmbedding) SetMetadatas(v []map[string]interface{})
SetMetadatas gets a reference to the given []map[string]interface{} and assigns it to the Metadatas field.
func (AddEmbedding) ToMap ¶
func (o AddEmbedding) ToMap() (map[string]interface{}, error)
type ApiAddRequest ¶
type ApiAddRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiAddRequest) AddEmbedding ¶
func (r ApiAddRequest) AddEmbedding(addEmbedding AddEmbedding) ApiAddRequest
type ApiCountCollectionsRequest ¶ added in v0.1.0
type ApiCountCollectionsRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCountCollectionsRequest) Database ¶ added in v0.1.0
func (r ApiCountCollectionsRequest) Database(database string) ApiCountCollectionsRequest
func (ApiCountCollectionsRequest) Execute ¶ added in v0.1.0
func (r ApiCountCollectionsRequest) Execute() (int32, *http.Response, error)
func (ApiCountCollectionsRequest) Tenant ¶ added in v0.1.0
func (r ApiCountCollectionsRequest) Tenant(tenant string) ApiCountCollectionsRequest
type ApiCountRequest ¶
type ApiCountRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiCreateCollectionRequest ¶
type ApiCreateCollectionRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCreateCollectionRequest) CreateCollection ¶
func (r ApiCreateCollectionRequest) CreateCollection(createCollection CreateCollection) ApiCreateCollectionRequest
func (ApiCreateCollectionRequest) Database ¶ added in v0.1.0
func (r ApiCreateCollectionRequest) Database(database string) ApiCreateCollectionRequest
func (ApiCreateCollectionRequest) Execute ¶
func (r ApiCreateCollectionRequest) Execute() (*Collection, *http.Response, error)
func (ApiCreateCollectionRequest) Tenant ¶ added in v0.1.0
func (r ApiCreateCollectionRequest) Tenant(tenant string) ApiCreateCollectionRequest
type ApiCreateDatabaseRequest ¶ added in v0.1.0
type ApiCreateDatabaseRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCreateDatabaseRequest) CreateDatabase ¶ added in v0.1.0
func (r ApiCreateDatabaseRequest) CreateDatabase(createDatabase CreateDatabase) ApiCreateDatabaseRequest
func (ApiCreateDatabaseRequest) Execute ¶ added in v0.1.0
func (r ApiCreateDatabaseRequest) Execute() (*Database, *http.Response, error)
func (ApiCreateDatabaseRequest) Tenant ¶ added in v0.1.0
func (r ApiCreateDatabaseRequest) Tenant(tenant string) ApiCreateDatabaseRequest
type ApiCreateTenantRequest ¶ added in v0.1.0
type ApiCreateTenantRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCreateTenantRequest) CreateTenant ¶ added in v0.1.0
func (r ApiCreateTenantRequest) CreateTenant(createTenant CreateTenant) ApiCreateTenantRequest
type ApiDeleteCollectionRequest ¶
type ApiDeleteCollectionRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiDeleteCollectionRequest) Database ¶ added in v0.1.0
func (r ApiDeleteCollectionRequest) Database(database string) ApiDeleteCollectionRequest
func (ApiDeleteCollectionRequest) Execute ¶
func (r ApiDeleteCollectionRequest) Execute() (*Collection, *http.Response, error)
func (ApiDeleteCollectionRequest) Tenant ¶ added in v0.1.0
func (r ApiDeleteCollectionRequest) Tenant(tenant string) ApiDeleteCollectionRequest
type ApiDeleteRequest ¶
type ApiDeleteRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiDeleteRequest) DeleteEmbedding ¶
func (r ApiDeleteRequest) DeleteEmbedding(deleteEmbedding DeleteEmbedding) ApiDeleteRequest
type ApiGetCollectionRequest ¶
type ApiGetCollectionRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetCollectionRequest) Database ¶ added in v0.1.0
func (r ApiGetCollectionRequest) Database(database string) ApiGetCollectionRequest
func (ApiGetCollectionRequest) Execute ¶
func (r ApiGetCollectionRequest) Execute() (*Collection, *http.Response, error)
func (ApiGetCollectionRequest) Tenant ¶ added in v0.1.0
func (r ApiGetCollectionRequest) Tenant(tenant string) ApiGetCollectionRequest
type ApiGetDatabaseRequest ¶ added in v0.1.0
type ApiGetDatabaseRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetDatabaseRequest) Execute ¶ added in v0.1.0
func (r ApiGetDatabaseRequest) Execute() (*Database, *http.Response, error)
func (ApiGetDatabaseRequest) Tenant ¶ added in v0.1.0
func (r ApiGetDatabaseRequest) Tenant(tenant string) ApiGetDatabaseRequest
type ApiGetNearestNeighborsRequest ¶
type ApiGetNearestNeighborsRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetNearestNeighborsRequest) Execute ¶
func (r ApiGetNearestNeighborsRequest) Execute() (*QueryResult, *http.Response, error)
func (ApiGetNearestNeighborsRequest) QueryEmbedding ¶
func (r ApiGetNearestNeighborsRequest) QueryEmbedding(queryEmbedding QueryEmbedding) ApiGetNearestNeighborsRequest
type ApiGetRequest ¶
type ApiGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetRequest) GetEmbedding ¶
func (r ApiGetRequest) GetEmbedding(getEmbedding GetEmbedding) ApiGetRequest
type ApiGetTenantRequest ¶ added in v0.1.0
type ApiGetTenantRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiHeartbeatRequest ¶
type ApiHeartbeatRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiListCollectionsRequest ¶
type ApiListCollectionsRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiListCollectionsRequest) Database ¶ added in v0.1.0
func (r ApiListCollectionsRequest) Database(database string) ApiListCollectionsRequest
func (ApiListCollectionsRequest) Execute ¶
func (r ApiListCollectionsRequest) Execute() ([]Collection, *http.Response, error)
func (ApiListCollectionsRequest) Tenant ¶ added in v0.1.0
func (r ApiListCollectionsRequest) Tenant(tenant string) ApiListCollectionsRequest
type ApiPreFlightChecksRequest ¶ added in v0.1.0
type ApiPreFlightChecksRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiResetRequest ¶
type ApiResetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiRootRequest ¶
type ApiRootRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiUpdateCollectionRequest ¶
type ApiUpdateCollectionRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiUpdateCollectionRequest) Execute ¶
func (r ApiUpdateCollectionRequest) Execute() (*Collection, *http.Response, error)
func (ApiUpdateCollectionRequest) UpdateCollection ¶
func (r ApiUpdateCollectionRequest) UpdateCollection(updateCollection UpdateCollection) ApiUpdateCollectionRequest
type ApiUpdateRequest ¶
type ApiUpdateRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiUpdateRequest) UpdateEmbedding ¶
func (r ApiUpdateRequest) UpdateEmbedding(updateEmbedding UpdateEmbedding) ApiUpdateRequest
type ApiUpsertRequest ¶
type ApiUpsertRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiUpsertRequest) AddEmbedding ¶
func (r ApiUpsertRequest) AddEmbedding(addEmbedding AddEmbedding) ApiUpsertRequest
type ApiVersionRequest ¶
type ApiVersionRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Collection ¶
type Collection struct { Name string `json:"name"` Id string `json:"id"` Metadata *map[string]Metadata `json:"metadata,omitempty"` }
Collection struct for Collection
func NewCollection ¶
func NewCollection(name string, id string) *Collection
NewCollection instantiates a new Collection 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
func NewCollectionWithDefaults ¶
func NewCollectionWithDefaults() *Collection
NewCollectionWithDefaults instantiates a new Collection 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
func (*Collection) GetIdOk ¶
func (o *Collection) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Collection) GetMetadata ¶
func (o *Collection) GetMetadata() map[string]Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Collection) GetMetadataOk ¶
func (o *Collection) GetMetadataOk() (*map[string]Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Collection) GetName ¶
func (o *Collection) GetName() string
GetName returns the Name field value
func (*Collection) GetNameOk ¶
func (o *Collection) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Collection) HasMetadata ¶
func (o *Collection) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (Collection) MarshalJSON ¶
func (o Collection) MarshalJSON() ([]byte, error)
func (*Collection) SetMetadata ¶
func (o *Collection) SetMetadata(v map[string]Metadata)
SetMetadata gets a reference to the given map[string]Metadata and assigns it to the Metadata field.
func (Collection) ToMap ¶
func (o Collection) ToMap() (map[string]interface{}, error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateCollection ¶
type CreateCollection struct { Name string `json:"name"` Metadata map[string]interface{} `json:"metadata,omitempty"` GetOrCreate *bool `json:"get_or_create,omitempty"` }
CreateCollection struct for CreateCollection
func NewCreateCollection ¶
func NewCreateCollection(name string) *CreateCollection
NewCreateCollection instantiates a new CreateCollection 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
func NewCreateCollectionWithDefaults ¶
func NewCreateCollectionWithDefaults() *CreateCollection
NewCreateCollectionWithDefaults instantiates a new CreateCollection 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
func (*CreateCollection) GetGetOrCreate ¶
func (o *CreateCollection) GetGetOrCreate() bool
GetGetOrCreate returns the GetOrCreate field value if set, zero value otherwise.
func (*CreateCollection) GetGetOrCreateOk ¶
func (o *CreateCollection) GetGetOrCreateOk() (*bool, bool)
GetGetOrCreateOk returns a tuple with the GetOrCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCollection) GetMetadata ¶
func (o *CreateCollection) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CreateCollection) GetMetadataOk ¶
func (o *CreateCollection) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCollection) GetName ¶
func (o *CreateCollection) GetName() string
GetName returns the Name field value
func (*CreateCollection) GetNameOk ¶
func (o *CreateCollection) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateCollection) HasGetOrCreate ¶
func (o *CreateCollection) HasGetOrCreate() bool
HasGetOrCreate returns a boolean if a field has been set.
func (*CreateCollection) HasMetadata ¶
func (o *CreateCollection) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (CreateCollection) MarshalJSON ¶
func (o CreateCollection) MarshalJSON() ([]byte, error)
func (*CreateCollection) SetGetOrCreate ¶
func (o *CreateCollection) SetGetOrCreate(v bool)
SetGetOrCreate gets a reference to the given bool and assigns it to the GetOrCreate field.
func (*CreateCollection) SetMetadata ¶
func (o *CreateCollection) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CreateCollection) SetName ¶
func (o *CreateCollection) SetName(v string)
SetName sets field value
func (CreateCollection) ToMap ¶
func (o CreateCollection) ToMap() (map[string]interface{}, error)
type CreateDatabase ¶ added in v0.1.0
type CreateDatabase struct {
Name string `json:"name"`
}
CreateDatabase struct for CreateDatabase
func NewCreateDatabase ¶ added in v0.1.0
func NewCreateDatabase(name string) *CreateDatabase
NewCreateDatabase instantiates a new CreateDatabase 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
func NewCreateDatabaseWithDefaults ¶ added in v0.1.0
func NewCreateDatabaseWithDefaults() *CreateDatabase
NewCreateDatabaseWithDefaults instantiates a new CreateDatabase 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
func (*CreateDatabase) GetName ¶ added in v0.1.0
func (o *CreateDatabase) GetName() string
GetName returns the Name field value
func (*CreateDatabase) GetNameOk ¶ added in v0.1.0
func (o *CreateDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateDatabase) MarshalJSON ¶ added in v0.1.0
func (o CreateDatabase) MarshalJSON() ([]byte, error)
func (*CreateDatabase) SetName ¶ added in v0.1.0
func (o *CreateDatabase) SetName(v string)
SetName sets field value
func (CreateDatabase) ToMap ¶ added in v0.1.0
func (o CreateDatabase) ToMap() (map[string]interface{}, error)
type CreateTenant ¶ added in v0.1.0
type CreateTenant struct {
Name string `json:"name"`
}
CreateTenant struct for CreateTenant
func NewCreateTenant ¶ added in v0.1.0
func NewCreateTenant(name string) *CreateTenant
NewCreateTenant instantiates a new CreateTenant 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
func NewCreateTenantWithDefaults ¶ added in v0.1.0
func NewCreateTenantWithDefaults() *CreateTenant
NewCreateTenantWithDefaults instantiates a new CreateTenant 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
func (*CreateTenant) GetName ¶ added in v0.1.0
func (o *CreateTenant) GetName() string
GetName returns the Name field value
func (*CreateTenant) GetNameOk ¶ added in v0.1.0
func (o *CreateTenant) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateTenant) MarshalJSON ¶ added in v0.1.0
func (o CreateTenant) MarshalJSON() ([]byte, error)
func (*CreateTenant) SetName ¶ added in v0.1.0
func (o *CreateTenant) SetName(v string)
SetName sets field value
func (CreateTenant) ToMap ¶ added in v0.1.0
func (o CreateTenant) ToMap() (map[string]interface{}, error)
type Database ¶ added in v0.1.0
type Database struct { Name *string `json:"name,omitempty"` Id *string `json:"id,omitempty"` Tenant *string `json:"tenant,omitempty"` }
Database struct for Database
func NewDatabase ¶ added in v0.1.0
func NewDatabase() *Database
NewDatabase instantiates a new Database 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
func NewDatabaseWithDefaults ¶ added in v0.1.0
func NewDatabaseWithDefaults() *Database
NewDatabaseWithDefaults instantiates a new Database 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
func (*Database) GetId ¶ added in v0.1.0
GetId returns the Id field value if set, zero value otherwise.
func (*Database) GetIdOk ¶ added in v0.1.0
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetName ¶ added in v0.1.0
GetName returns the Name field value if set, zero value otherwise.
func (*Database) GetNameOk ¶ added in v0.1.0
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetTenant ¶ added in v0.1.0
GetTenant returns the Tenant field value if set, zero value otherwise.
func (*Database) GetTenantOk ¶ added in v0.1.0
GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise and a boolean to check if the value has been set.
func (Database) MarshalJSON ¶ added in v0.1.0
func (*Database) SetId ¶ added in v0.1.0
SetId gets a reference to the given string and assigns it to the Id field.
func (*Database) SetName ¶ added in v0.1.0
SetName gets a reference to the given string and assigns it to the Name field.
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) Add ¶
func (a *DefaultApiService) Add(ctx context.Context, collectionId string) ApiAddRequest
Add Add
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiAddRequest
func (*DefaultApiService) AddExecute ¶
func (a *DefaultApiService) AddExecute(r ApiAddRequest) (bool, *http.Response, error)
Execute executes the request
@return bool
func (*DefaultApiService) Count ¶
func (a *DefaultApiService) Count(ctx context.Context, collectionId string) ApiCountRequest
Count Count
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiCountRequest
func (*DefaultApiService) CountCollections ¶ added in v0.1.0
func (a *DefaultApiService) CountCollections(ctx context.Context) ApiCountCollectionsRequest
CountCollections Count Collections
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCountCollectionsRequest
func (*DefaultApiService) CountCollectionsExecute ¶ added in v0.1.0
func (a *DefaultApiService) CountCollectionsExecute(r ApiCountCollectionsRequest) (int32, *http.Response, error)
Execute executes the request
@return int32
func (*DefaultApiService) CountExecute ¶
func (a *DefaultApiService) CountExecute(r ApiCountRequest) (int32, *http.Response, error)
Execute executes the request
@return int32
func (*DefaultApiService) CreateCollection ¶
func (a *DefaultApiService) CreateCollection(ctx context.Context) ApiCreateCollectionRequest
CreateCollection Create Collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCollectionRequest
func (*DefaultApiService) CreateCollectionExecute ¶
func (a *DefaultApiService) CreateCollectionExecute(r ApiCreateCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*DefaultApiService) CreateDatabase ¶ added in v0.1.0
func (a *DefaultApiService) CreateDatabase(ctx context.Context) ApiCreateDatabaseRequest
CreateDatabase Create Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDatabaseRequest
func (*DefaultApiService) CreateDatabaseExecute ¶ added in v0.1.0
func (a *DefaultApiService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*Database, *http.Response, error)
Execute executes the request
@return Database
func (*DefaultApiService) CreateTenant ¶ added in v0.1.0
func (a *DefaultApiService) CreateTenant(ctx context.Context) ApiCreateTenantRequest
CreateTenant Create Tenant
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateTenantRequest
func (*DefaultApiService) CreateTenantExecute ¶ added in v0.1.0
func (a *DefaultApiService) CreateTenantExecute(r ApiCreateTenantRequest) (*Tenant, *http.Response, error)
Execute executes the request
@return Tenant
func (*DefaultApiService) Delete ¶
func (a *DefaultApiService) Delete(ctx context.Context, collectionId string) ApiDeleteRequest
Delete Delete
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiDeleteRequest
func (*DefaultApiService) DeleteCollection ¶
func (a *DefaultApiService) DeleteCollection(ctx context.Context, collectionName string) ApiDeleteCollectionRequest
DeleteCollection Delete Collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionName @return ApiDeleteCollectionRequest
func (*DefaultApiService) DeleteCollectionExecute ¶
func (a *DefaultApiService) DeleteCollectionExecute(r ApiDeleteCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*DefaultApiService) DeleteExecute ¶
func (a *DefaultApiService) DeleteExecute(r ApiDeleteRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*DefaultApiService) Get ¶
func (a *DefaultApiService) Get(ctx context.Context, collectionId string) ApiGetRequest
Get Get
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiGetRequest
func (*DefaultApiService) GetCollection ¶
func (a *DefaultApiService) GetCollection(ctx context.Context, collectionName string) ApiGetCollectionRequest
GetCollection Get Collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionName @return ApiGetCollectionRequest
func (*DefaultApiService) GetCollectionExecute ¶
func (a *DefaultApiService) GetCollectionExecute(r ApiGetCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*DefaultApiService) GetDatabase ¶ added in v0.1.0
func (a *DefaultApiService) GetDatabase(ctx context.Context, database string) ApiGetDatabaseRequest
GetDatabase Get Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param database @return ApiGetDatabaseRequest
func (*DefaultApiService) GetDatabaseExecute ¶ added in v0.1.0
func (a *DefaultApiService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*Database, *http.Response, error)
Execute executes the request
@return Database
func (*DefaultApiService) GetExecute ¶
func (a *DefaultApiService) GetExecute(r ApiGetRequest) (*GetResult, *http.Response, error)
Execute executes the request
@return GetResult
func (*DefaultApiService) GetNearestNeighbors ¶
func (a *DefaultApiService) GetNearestNeighbors(ctx context.Context, collectionId string) ApiGetNearestNeighborsRequest
GetNearestNeighbors Get Nearest Neighbors
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiGetNearestNeighborsRequest
func (*DefaultApiService) GetNearestNeighborsExecute ¶
func (a *DefaultApiService) GetNearestNeighborsExecute(r ApiGetNearestNeighborsRequest) (*QueryResult, *http.Response, error)
Execute executes the request
@return QueryResult
func (*DefaultApiService) GetTenant ¶ added in v0.1.0
func (a *DefaultApiService) GetTenant(ctx context.Context, tenant string) ApiGetTenantRequest
GetTenant Get Tenant
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param tenant @return ApiGetTenantRequest
func (*DefaultApiService) GetTenantExecute ¶ added in v0.1.0
func (a *DefaultApiService) GetTenantExecute(r ApiGetTenantRequest) (*Tenant, *http.Response, error)
Execute executes the request
@return Tenant
func (*DefaultApiService) Heartbeat ¶
func (a *DefaultApiService) Heartbeat(ctx context.Context) ApiHeartbeatRequest
Heartbeat Heartbeat
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHeartbeatRequest
func (*DefaultApiService) HeartbeatExecute ¶
func (a *DefaultApiService) HeartbeatExecute(r ApiHeartbeatRequest) (map[string]float32, *http.Response, error)
Execute executes the request
@return map[string]float32
func (*DefaultApiService) ListCollections ¶
func (a *DefaultApiService) ListCollections(ctx context.Context) ApiListCollectionsRequest
ListCollections List Collections
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCollectionsRequest
func (*DefaultApiService) ListCollectionsExecute ¶
func (a *DefaultApiService) ListCollectionsExecute(r ApiListCollectionsRequest) ([]Collection, *http.Response, error)
Execute executes the request
@return []Collection
func (*DefaultApiService) PreFlightChecks ¶ added in v0.1.0
func (a *DefaultApiService) PreFlightChecks(ctx context.Context) ApiPreFlightChecksRequest
PreFlightChecks Pre Flight Checks
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPreFlightChecksRequest
func (*DefaultApiService) PreFlightChecksExecute ¶ added in v0.1.0
func (a *DefaultApiService) PreFlightChecksExecute(r ApiPreFlightChecksRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultApiService) Reset ¶
func (a *DefaultApiService) Reset(ctx context.Context) ApiResetRequest
Reset Reset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiResetRequest
func (*DefaultApiService) ResetExecute ¶
func (a *DefaultApiService) ResetExecute(r ApiResetRequest) (bool, *http.Response, error)
Execute executes the request
@return bool
func (*DefaultApiService) Root ¶
func (a *DefaultApiService) Root(ctx context.Context) ApiRootRequest
Root Root
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRootRequest
func (*DefaultApiService) RootExecute ¶
func (a *DefaultApiService) RootExecute(r ApiRootRequest) (map[string]float32, *http.Response, error)
Execute executes the request
@return map[string]float32
func (*DefaultApiService) Update ¶
func (a *DefaultApiService) Update(ctx context.Context, collectionId string) ApiUpdateRequest
Update Update
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiUpdateRequest
func (*DefaultApiService) UpdateCollection ¶
func (a *DefaultApiService) UpdateCollection(ctx context.Context, collectionId string) ApiUpdateCollectionRequest
UpdateCollection Update Collection
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiUpdateCollectionRequest
func (*DefaultApiService) UpdateCollectionExecute ¶
func (a *DefaultApiService) UpdateCollectionExecute(r ApiUpdateCollectionRequest) (*Collection, *http.Response, error)
Execute executes the request
@return Collection
func (*DefaultApiService) UpdateExecute ¶
func (a *DefaultApiService) UpdateExecute(r ApiUpdateRequest) (bool, *http.Response, error)
Execute executes the request
@return bool
func (*DefaultApiService) Upsert ¶
func (a *DefaultApiService) Upsert(ctx context.Context, collectionId string) ApiUpsertRequest
Upsert Upsert
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param collectionId @return ApiUpsertRequest
func (*DefaultApiService) UpsertExecute ¶
func (a *DefaultApiService) UpsertExecute(r ApiUpsertRequest) (bool, *http.Response, error)
Execute executes the request
@return bool
func (*DefaultApiService) Version ¶
func (a *DefaultApiService) Version(ctx context.Context) ApiVersionRequest
Version Version
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVersionRequest
func (*DefaultApiService) VersionExecute ¶
func (a *DefaultApiService) VersionExecute(r ApiVersionRequest) (string, *http.Response, error)
Execute executes the request
@return string
type DeleteEmbedding ¶
type DeleteEmbedding struct { Ids []string `json:"ids,omitempty"` Where map[string]interface{} `json:"where,omitempty"` WhereDocument map[string]interface{} `json:"where_document,omitempty"` }
DeleteEmbedding struct for DeleteEmbedding
func NewDeleteEmbedding ¶
func NewDeleteEmbedding() *DeleteEmbedding
NewDeleteEmbedding instantiates a new DeleteEmbedding 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
func NewDeleteEmbeddingWithDefaults ¶
func NewDeleteEmbeddingWithDefaults() *DeleteEmbedding
NewDeleteEmbeddingWithDefaults instantiates a new DeleteEmbedding 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
func (*DeleteEmbedding) GetIds ¶
func (o *DeleteEmbedding) GetIds() []string
GetIds returns the Ids field value if set, zero value otherwise.
func (*DeleteEmbedding) GetIdsOk ¶
func (o *DeleteEmbedding) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteEmbedding) GetWhere ¶
func (o *DeleteEmbedding) GetWhere() map[string]interface{}
GetWhere returns the Where field value if set, zero value otherwise.
func (*DeleteEmbedding) GetWhereDocument ¶
func (o *DeleteEmbedding) GetWhereDocument() map[string]interface{}
GetWhereDocument returns the WhereDocument field value if set, zero value otherwise.
func (*DeleteEmbedding) GetWhereDocumentOk ¶
func (o *DeleteEmbedding) GetWhereDocumentOk() (map[string]interface{}, bool)
GetWhereDocumentOk returns a tuple with the WhereDocument field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteEmbedding) GetWhereOk ¶
func (o *DeleteEmbedding) GetWhereOk() (map[string]interface{}, bool)
GetWhereOk returns a tuple with the Where field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteEmbedding) HasIds ¶
func (o *DeleteEmbedding) HasIds() bool
HasIds returns a boolean if a field has been set.
func (*DeleteEmbedding) HasWhere ¶
func (o *DeleteEmbedding) HasWhere() bool
HasWhere returns a boolean if a field has been set.
func (*DeleteEmbedding) HasWhereDocument ¶
func (o *DeleteEmbedding) HasWhereDocument() bool
HasWhereDocument returns a boolean if a field has been set.
func (DeleteEmbedding) MarshalJSON ¶
func (o DeleteEmbedding) MarshalJSON() ([]byte, error)
func (*DeleteEmbedding) SetIds ¶
func (o *DeleteEmbedding) SetIds(v []string)
SetIds gets a reference to the given []string and assigns it to the Ids field.
func (*DeleteEmbedding) SetWhere ¶
func (o *DeleteEmbedding) SetWhere(v map[string]interface{})
SetWhere gets a reference to the given map[string]interface{} and assigns it to the Where field.
func (*DeleteEmbedding) SetWhereDocument ¶
func (o *DeleteEmbedding) SetWhereDocument(v map[string]interface{})
SetWhereDocument gets a reference to the given map[string]interface{} and assigns it to the WhereDocument field.
func (DeleteEmbedding) ToMap ¶
func (o DeleteEmbedding) ToMap() (map[string]interface{}, error)
type EmbeddingsInner ¶
EmbeddingsInner struct for EmbeddingsInner
func (*EmbeddingsInner) MarshalJSON ¶
func (src *EmbeddingsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*EmbeddingsInner) UnmarshalJSON ¶
func (dst *EmbeddingsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetEmbedding ¶
type GetEmbedding struct { Ids []string `json:"ids,omitempty"` Where map[string]interface{} `json:"where,omitempty"` WhereDocument map[string]interface{} `json:"where_document,omitempty"` Sort *string `json:"sort,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` Include []IncludeInner `json:"include,omitempty"` }
GetEmbedding struct for GetEmbedding
func NewGetEmbedding ¶
func NewGetEmbedding() *GetEmbedding
NewGetEmbedding instantiates a new GetEmbedding 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
func NewGetEmbeddingWithDefaults ¶
func NewGetEmbeddingWithDefaults() *GetEmbedding
NewGetEmbeddingWithDefaults instantiates a new GetEmbedding 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
func (*GetEmbedding) GetIds ¶
func (o *GetEmbedding) GetIds() []string
GetIds returns the Ids field value if set, zero value otherwise.
func (*GetEmbedding) GetIdsOk ¶
func (o *GetEmbedding) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) GetInclude ¶
func (o *GetEmbedding) GetInclude() []IncludeInner
GetInclude returns the Include field value if set, zero value otherwise.
func (*GetEmbedding) GetIncludeOk ¶
func (o *GetEmbedding) GetIncludeOk() ([]IncludeInner, bool)
GetIncludeOk returns a tuple with the Include field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) GetLimit ¶
func (o *GetEmbedding) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*GetEmbedding) GetLimitOk ¶
func (o *GetEmbedding) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) GetOffset ¶
func (o *GetEmbedding) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*GetEmbedding) GetOffsetOk ¶
func (o *GetEmbedding) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) GetSort ¶
func (o *GetEmbedding) GetSort() string
GetSort returns the Sort field value if set, zero value otherwise.
func (*GetEmbedding) GetSortOk ¶
func (o *GetEmbedding) GetSortOk() (*string, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) GetWhere ¶
func (o *GetEmbedding) GetWhere() map[string]interface{}
GetWhere returns the Where field value if set, zero value otherwise.
func (*GetEmbedding) GetWhereDocument ¶
func (o *GetEmbedding) GetWhereDocument() map[string]interface{}
GetWhereDocument returns the WhereDocument field value if set, zero value otherwise.
func (*GetEmbedding) GetWhereDocumentOk ¶
func (o *GetEmbedding) GetWhereDocumentOk() (map[string]interface{}, bool)
GetWhereDocumentOk returns a tuple with the WhereDocument field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) GetWhereOk ¶
func (o *GetEmbedding) GetWhereOk() (map[string]interface{}, bool)
GetWhereOk returns a tuple with the Where field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEmbedding) HasIds ¶
func (o *GetEmbedding) HasIds() bool
HasIds returns a boolean if a field has been set.
func (*GetEmbedding) HasInclude ¶
func (o *GetEmbedding) HasInclude() bool
HasInclude returns a boolean if a field has been set.
func (*GetEmbedding) HasLimit ¶
func (o *GetEmbedding) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*GetEmbedding) HasOffset ¶
func (o *GetEmbedding) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*GetEmbedding) HasSort ¶
func (o *GetEmbedding) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*GetEmbedding) HasWhere ¶
func (o *GetEmbedding) HasWhere() bool
HasWhere returns a boolean if a field has been set.
func (*GetEmbedding) HasWhereDocument ¶
func (o *GetEmbedding) HasWhereDocument() bool
HasWhereDocument returns a boolean if a field has been set.
func (GetEmbedding) MarshalJSON ¶
func (o GetEmbedding) MarshalJSON() ([]byte, error)
func (*GetEmbedding) SetIds ¶
func (o *GetEmbedding) SetIds(v []string)
SetIds gets a reference to the given []string and assigns it to the Ids field.
func (*GetEmbedding) SetInclude ¶
func (o *GetEmbedding) SetInclude(v []IncludeInner)
SetInclude gets a reference to the given []IncludeInner and assigns it to the Include field.
func (*GetEmbedding) SetLimit ¶
func (o *GetEmbedding) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*GetEmbedding) SetOffset ¶
func (o *GetEmbedding) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*GetEmbedding) SetSort ¶
func (o *GetEmbedding) SetSort(v string)
SetSort gets a reference to the given string and assigns it to the Sort field.
func (*GetEmbedding) SetWhere ¶
func (o *GetEmbedding) SetWhere(v map[string]interface{})
SetWhere gets a reference to the given map[string]interface{} and assigns it to the Where field.
func (*GetEmbedding) SetWhereDocument ¶
func (o *GetEmbedding) SetWhereDocument(v map[string]interface{})
SetWhereDocument gets a reference to the given map[string]interface{} and assigns it to the WhereDocument field.
func (GetEmbedding) ToMap ¶
func (o GetEmbedding) ToMap() (map[string]interface{}, error)
type GetResult ¶
type GetResult struct { Ids []string `json:"ids"` Embeddings []EmbeddingsInner `json:"embeddings"` Documents []string `json:"documents"` Metadatas []map[string]interface{} `json:"metadatas"` }
GetResult struct for GetResult
func NewGetResult ¶
func NewGetResult(ids []string, embeddings []EmbeddingsInner, documents []string, metadatas []map[string]interface{}) *GetResult
NewGetResult instantiates a new GetResult 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
func NewGetResultWithDefaults ¶
func NewGetResultWithDefaults() *GetResult
NewGetResultWithDefaults instantiates a new GetResult 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
func (*GetResult) GetDocuments ¶
GetDocuments returns the Documents field value
func (*GetResult) GetDocumentsOk ¶
GetDocumentsOk returns a tuple with the Documents field value and a boolean to check if the value has been set.
func (*GetResult) GetEmbeddings ¶
func (o *GetResult) GetEmbeddings() []EmbeddingsInner
GetEmbeddings returns the Embeddings field value
func (*GetResult) GetEmbeddingsOk ¶
func (o *GetResult) GetEmbeddingsOk() ([]EmbeddingsInner, bool)
GetEmbeddingsOk returns a tuple with the Embeddings field value and a boolean to check if the value has been set.
func (*GetResult) GetIdsOk ¶
GetIdsOk returns a tuple with the Ids field value and a boolean to check if the value has been set.
func (*GetResult) GetMetadatas ¶
GetMetadatas returns the Metadatas field value
func (*GetResult) GetMetadatasOk ¶
GetMetadatasOk returns a tuple with the Metadatas field value and a boolean to check if the value has been set.
func (GetResult) MarshalJSON ¶
func (*GetResult) SetDocuments ¶
SetDocuments sets field value
func (*GetResult) SetEmbeddings ¶
func (o *GetResult) SetEmbeddings(v []EmbeddingsInner)
SetEmbeddings sets field value
func (*GetResult) SetMetadatas ¶
SetMetadatas sets field value
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail []ValidationError `json:"detail,omitempty"`
}
HTTPValidationError struct for HTTPValidationError
func NewHTTPValidationError ¶
func NewHTTPValidationError() *HTTPValidationError
NewHTTPValidationError instantiates a new HTTPValidationError 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
func NewHTTPValidationErrorWithDefaults ¶
func NewHTTPValidationErrorWithDefaults() *HTTPValidationError
NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError 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
func (*HTTPValidationError) GetDetail ¶
func (o *HTTPValidationError) GetDetail() []ValidationError
GetDetail returns the Detail field value if set, zero value otherwise.
func (*HTTPValidationError) GetDetailOk ¶
func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPValidationError) HasDetail ¶
func (o *HTTPValidationError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (HTTPValidationError) MarshalJSON ¶
func (o HTTPValidationError) MarshalJSON() ([]byte, error)
func (*HTTPValidationError) SetDetail ¶
func (o *HTTPValidationError) SetDetail(v []ValidationError)
SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.
func (HTTPValidationError) ToMap ¶
func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
type IncludeInner ¶
type IncludeInner struct {
String *string
}
IncludeInner struct for IncludeInner
func (*IncludeInner) MarshalJSON ¶
func (src *IncludeInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*IncludeInner) UnmarshalJSON ¶
func (dst *IncludeInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type LocationInner ¶
LocationInner struct for LocationInner
func (*LocationInner) MarshalJSON ¶
func (src *LocationInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*LocationInner) UnmarshalJSON ¶
func (dst *LocationInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type MappedNullable ¶
type Metadata ¶ added in v0.1.0
Metadata struct for Metadata
func (*Metadata) MarshalJSON ¶ added in v0.1.0
Marshal data from the first non-nil pointers in the struct to JSON
func (*Metadata) UnmarshalJSON ¶ added in v0.1.0
Unmarshal JSON data into any of the pointers in the struct
type NullableAddEmbedding ¶
type NullableAddEmbedding struct {
// contains filtered or unexported fields
}
func NewNullableAddEmbedding ¶
func NewNullableAddEmbedding(val *AddEmbedding) *NullableAddEmbedding
func (NullableAddEmbedding) Get ¶
func (v NullableAddEmbedding) Get() *AddEmbedding
func (NullableAddEmbedding) IsSet ¶
func (v NullableAddEmbedding) IsSet() bool
func (NullableAddEmbedding) MarshalJSON ¶
func (v NullableAddEmbedding) MarshalJSON() ([]byte, error)
func (*NullableAddEmbedding) Set ¶
func (v *NullableAddEmbedding) Set(val *AddEmbedding)
func (*NullableAddEmbedding) UnmarshalJSON ¶
func (v *NullableAddEmbedding) UnmarshalJSON(src []byte) error
func (*NullableAddEmbedding) Unset ¶
func (v *NullableAddEmbedding) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCollection ¶
type NullableCollection struct {
// contains filtered or unexported fields
}
func NewNullableCollection ¶
func NewNullableCollection(val *Collection) *NullableCollection
func (NullableCollection) Get ¶
func (v NullableCollection) Get() *Collection
func (NullableCollection) IsSet ¶
func (v NullableCollection) IsSet() bool
func (NullableCollection) MarshalJSON ¶
func (v NullableCollection) MarshalJSON() ([]byte, error)
func (*NullableCollection) Set ¶
func (v *NullableCollection) Set(val *Collection)
func (*NullableCollection) UnmarshalJSON ¶
func (v *NullableCollection) UnmarshalJSON(src []byte) error
func (*NullableCollection) Unset ¶
func (v *NullableCollection) Unset()
type NullableCreateCollection ¶
type NullableCreateCollection struct {
// contains filtered or unexported fields
}
func NewNullableCreateCollection ¶
func NewNullableCreateCollection(val *CreateCollection) *NullableCreateCollection
func (NullableCreateCollection) Get ¶
func (v NullableCreateCollection) Get() *CreateCollection
func (NullableCreateCollection) IsSet ¶
func (v NullableCreateCollection) IsSet() bool
func (NullableCreateCollection) MarshalJSON ¶
func (v NullableCreateCollection) MarshalJSON() ([]byte, error)
func (*NullableCreateCollection) Set ¶
func (v *NullableCreateCollection) Set(val *CreateCollection)
func (*NullableCreateCollection) UnmarshalJSON ¶
func (v *NullableCreateCollection) UnmarshalJSON(src []byte) error
func (*NullableCreateCollection) Unset ¶
func (v *NullableCreateCollection) Unset()
type NullableCreateDatabase ¶ added in v0.1.0
type NullableCreateDatabase struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabase ¶ added in v0.1.0
func NewNullableCreateDatabase(val *CreateDatabase) *NullableCreateDatabase
func (NullableCreateDatabase) Get ¶ added in v0.1.0
func (v NullableCreateDatabase) Get() *CreateDatabase
func (NullableCreateDatabase) IsSet ¶ added in v0.1.0
func (v NullableCreateDatabase) IsSet() bool
func (NullableCreateDatabase) MarshalJSON ¶ added in v0.1.0
func (v NullableCreateDatabase) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabase) Set ¶ added in v0.1.0
func (v *NullableCreateDatabase) Set(val *CreateDatabase)
func (*NullableCreateDatabase) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableCreateDatabase) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabase) Unset ¶ added in v0.1.0
func (v *NullableCreateDatabase) Unset()
type NullableCreateTenant ¶ added in v0.1.0
type NullableCreateTenant struct {
// contains filtered or unexported fields
}
func NewNullableCreateTenant ¶ added in v0.1.0
func NewNullableCreateTenant(val *CreateTenant) *NullableCreateTenant
func (NullableCreateTenant) Get ¶ added in v0.1.0
func (v NullableCreateTenant) Get() *CreateTenant
func (NullableCreateTenant) IsSet ¶ added in v0.1.0
func (v NullableCreateTenant) IsSet() bool
func (NullableCreateTenant) MarshalJSON ¶ added in v0.1.0
func (v NullableCreateTenant) MarshalJSON() ([]byte, error)
func (*NullableCreateTenant) Set ¶ added in v0.1.0
func (v *NullableCreateTenant) Set(val *CreateTenant)
func (*NullableCreateTenant) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableCreateTenant) UnmarshalJSON(src []byte) error
func (*NullableCreateTenant) Unset ¶ added in v0.1.0
func (v *NullableCreateTenant) Unset()
type NullableDatabase ¶ added in v0.1.0
type NullableDatabase struct {
// contains filtered or unexported fields
}
func NewNullableDatabase ¶ added in v0.1.0
func NewNullableDatabase(val *Database) *NullableDatabase
func (NullableDatabase) Get ¶ added in v0.1.0
func (v NullableDatabase) Get() *Database
func (NullableDatabase) IsSet ¶ added in v0.1.0
func (v NullableDatabase) IsSet() bool
func (NullableDatabase) MarshalJSON ¶ added in v0.1.0
func (v NullableDatabase) MarshalJSON() ([]byte, error)
func (*NullableDatabase) Set ¶ added in v0.1.0
func (v *NullableDatabase) Set(val *Database)
func (*NullableDatabase) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableDatabase) UnmarshalJSON(src []byte) error
func (*NullableDatabase) Unset ¶ added in v0.1.0
func (v *NullableDatabase) Unset()
type NullableDeleteEmbedding ¶
type NullableDeleteEmbedding struct {
// contains filtered or unexported fields
}
func NewNullableDeleteEmbedding ¶
func NewNullableDeleteEmbedding(val *DeleteEmbedding) *NullableDeleteEmbedding
func (NullableDeleteEmbedding) Get ¶
func (v NullableDeleteEmbedding) Get() *DeleteEmbedding
func (NullableDeleteEmbedding) IsSet ¶
func (v NullableDeleteEmbedding) IsSet() bool
func (NullableDeleteEmbedding) MarshalJSON ¶
func (v NullableDeleteEmbedding) MarshalJSON() ([]byte, error)
func (*NullableDeleteEmbedding) Set ¶
func (v *NullableDeleteEmbedding) Set(val *DeleteEmbedding)
func (*NullableDeleteEmbedding) UnmarshalJSON ¶
func (v *NullableDeleteEmbedding) UnmarshalJSON(src []byte) error
func (*NullableDeleteEmbedding) Unset ¶
func (v *NullableDeleteEmbedding) Unset()
type NullableEmbeddingsInner ¶
type NullableEmbeddingsInner struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingsInner ¶
func NewNullableEmbeddingsInner(val *EmbeddingsInner) *NullableEmbeddingsInner
func (NullableEmbeddingsInner) Get ¶
func (v NullableEmbeddingsInner) Get() *EmbeddingsInner
func (NullableEmbeddingsInner) IsSet ¶
func (v NullableEmbeddingsInner) IsSet() bool
func (NullableEmbeddingsInner) MarshalJSON ¶
func (v NullableEmbeddingsInner) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingsInner) Set ¶
func (v *NullableEmbeddingsInner) Set(val *EmbeddingsInner)
func (*NullableEmbeddingsInner) UnmarshalJSON ¶
func (v *NullableEmbeddingsInner) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingsInner) Unset ¶
func (v *NullableEmbeddingsInner) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetEmbedding ¶
type NullableGetEmbedding struct {
// contains filtered or unexported fields
}
func NewNullableGetEmbedding ¶
func NewNullableGetEmbedding(val *GetEmbedding) *NullableGetEmbedding
func (NullableGetEmbedding) Get ¶
func (v NullableGetEmbedding) Get() *GetEmbedding
func (NullableGetEmbedding) IsSet ¶
func (v NullableGetEmbedding) IsSet() bool
func (NullableGetEmbedding) MarshalJSON ¶
func (v NullableGetEmbedding) MarshalJSON() ([]byte, error)
func (*NullableGetEmbedding) Set ¶
func (v *NullableGetEmbedding) Set(val *GetEmbedding)
func (*NullableGetEmbedding) UnmarshalJSON ¶
func (v *NullableGetEmbedding) UnmarshalJSON(src []byte) error
func (*NullableGetEmbedding) Unset ¶
func (v *NullableGetEmbedding) Unset()
type NullableGetResult ¶
type NullableGetResult struct {
// contains filtered or unexported fields
}
func NewNullableGetResult ¶
func NewNullableGetResult(val *GetResult) *NullableGetResult
func (NullableGetResult) Get ¶
func (v NullableGetResult) Get() *GetResult
func (NullableGetResult) IsSet ¶
func (v NullableGetResult) IsSet() bool
func (NullableGetResult) MarshalJSON ¶
func (v NullableGetResult) MarshalJSON() ([]byte, error)
func (*NullableGetResult) Set ¶
func (v *NullableGetResult) Set(val *GetResult)
func (*NullableGetResult) UnmarshalJSON ¶
func (v *NullableGetResult) UnmarshalJSON(src []byte) error
func (*NullableGetResult) Unset ¶
func (v *NullableGetResult) Unset()
type NullableHTTPValidationError ¶
type NullableHTTPValidationError struct {
// contains filtered or unexported fields
}
func NewNullableHTTPValidationError ¶
func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError
func (NullableHTTPValidationError) Get ¶
func (v NullableHTTPValidationError) Get() *HTTPValidationError
func (NullableHTTPValidationError) IsSet ¶
func (v NullableHTTPValidationError) IsSet() bool
func (NullableHTTPValidationError) MarshalJSON ¶
func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
func (*NullableHTTPValidationError) Set ¶
func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
func (*NullableHTTPValidationError) UnmarshalJSON ¶
func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
func (*NullableHTTPValidationError) Unset ¶
func (v *NullableHTTPValidationError) Unset()
type NullableIncludeInner ¶
type NullableIncludeInner struct {
// contains filtered or unexported fields
}
func NewNullableIncludeInner ¶
func NewNullableIncludeInner(val *IncludeInner) *NullableIncludeInner
func (NullableIncludeInner) Get ¶
func (v NullableIncludeInner) Get() *IncludeInner
func (NullableIncludeInner) IsSet ¶
func (v NullableIncludeInner) IsSet() bool
func (NullableIncludeInner) MarshalJSON ¶
func (v NullableIncludeInner) MarshalJSON() ([]byte, error)
func (*NullableIncludeInner) Set ¶
func (v *NullableIncludeInner) Set(val *IncludeInner)
func (*NullableIncludeInner) UnmarshalJSON ¶
func (v *NullableIncludeInner) UnmarshalJSON(src []byte) error
func (*NullableIncludeInner) Unset ¶
func (v *NullableIncludeInner) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLocationInner ¶
type NullableLocationInner struct {
// contains filtered or unexported fields
}
func NewNullableLocationInner ¶
func NewNullableLocationInner(val *LocationInner) *NullableLocationInner
func (NullableLocationInner) Get ¶
func (v NullableLocationInner) Get() *LocationInner
func (NullableLocationInner) IsSet ¶
func (v NullableLocationInner) IsSet() bool
func (NullableLocationInner) MarshalJSON ¶
func (v NullableLocationInner) MarshalJSON() ([]byte, error)
func (*NullableLocationInner) Set ¶
func (v *NullableLocationInner) Set(val *LocationInner)
func (*NullableLocationInner) UnmarshalJSON ¶
func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
func (*NullableLocationInner) Unset ¶
func (v *NullableLocationInner) Unset()
type NullableMetadata ¶ added in v0.1.0
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶ added in v0.1.0
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶ added in v0.1.0
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶ added in v0.1.0
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶ added in v0.1.0
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶ added in v0.1.0
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶ added in v0.1.0
func (v *NullableMetadata) Unset()
type NullableQueryEmbedding ¶
type NullableQueryEmbedding struct {
// contains filtered or unexported fields
}
func NewNullableQueryEmbedding ¶
func NewNullableQueryEmbedding(val *QueryEmbedding) *NullableQueryEmbedding
func (NullableQueryEmbedding) Get ¶
func (v NullableQueryEmbedding) Get() *QueryEmbedding
func (NullableQueryEmbedding) IsSet ¶
func (v NullableQueryEmbedding) IsSet() bool
func (NullableQueryEmbedding) MarshalJSON ¶
func (v NullableQueryEmbedding) MarshalJSON() ([]byte, error)
func (*NullableQueryEmbedding) Set ¶
func (v *NullableQueryEmbedding) Set(val *QueryEmbedding)
func (*NullableQueryEmbedding) UnmarshalJSON ¶
func (v *NullableQueryEmbedding) UnmarshalJSON(src []byte) error
func (*NullableQueryEmbedding) Unset ¶
func (v *NullableQueryEmbedding) Unset()
type NullableQueryResult ¶
type NullableQueryResult struct {
// contains filtered or unexported fields
}
func NewNullableQueryResult ¶
func NewNullableQueryResult(val *QueryResult) *NullableQueryResult
func (NullableQueryResult) Get ¶
func (v NullableQueryResult) Get() *QueryResult
func (NullableQueryResult) IsSet ¶
func (v NullableQueryResult) IsSet() bool
func (NullableQueryResult) MarshalJSON ¶
func (v NullableQueryResult) MarshalJSON() ([]byte, error)
func (*NullableQueryResult) Set ¶
func (v *NullableQueryResult) Set(val *QueryResult)
func (*NullableQueryResult) UnmarshalJSON ¶
func (v *NullableQueryResult) UnmarshalJSON(src []byte) error
func (*NullableQueryResult) Unset ¶
func (v *NullableQueryResult) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTenant ¶ added in v0.1.0
type NullableTenant struct {
// contains filtered or unexported fields
}
func NewNullableTenant ¶ added in v0.1.0
func NewNullableTenant(val *Tenant) *NullableTenant
func (NullableTenant) Get ¶ added in v0.1.0
func (v NullableTenant) Get() *Tenant
func (NullableTenant) IsSet ¶ added in v0.1.0
func (v NullableTenant) IsSet() bool
func (NullableTenant) MarshalJSON ¶ added in v0.1.0
func (v NullableTenant) MarshalJSON() ([]byte, error)
func (*NullableTenant) Set ¶ added in v0.1.0
func (v *NullableTenant) Set(val *Tenant)
func (*NullableTenant) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableTenant) UnmarshalJSON(src []byte) error
func (*NullableTenant) Unset ¶ added in v0.1.0
func (v *NullableTenant) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateCollection ¶
type NullableUpdateCollection struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCollection ¶
func NewNullableUpdateCollection(val *UpdateCollection) *NullableUpdateCollection
func (NullableUpdateCollection) Get ¶
func (v NullableUpdateCollection) Get() *UpdateCollection
func (NullableUpdateCollection) IsSet ¶
func (v NullableUpdateCollection) IsSet() bool
func (NullableUpdateCollection) MarshalJSON ¶
func (v NullableUpdateCollection) MarshalJSON() ([]byte, error)
func (*NullableUpdateCollection) Set ¶
func (v *NullableUpdateCollection) Set(val *UpdateCollection)
func (*NullableUpdateCollection) UnmarshalJSON ¶
func (v *NullableUpdateCollection) UnmarshalJSON(src []byte) error
func (*NullableUpdateCollection) Unset ¶
func (v *NullableUpdateCollection) Unset()
type NullableUpdateEmbedding ¶
type NullableUpdateEmbedding struct {
// contains filtered or unexported fields
}
func NewNullableUpdateEmbedding ¶
func NewNullableUpdateEmbedding(val *UpdateEmbedding) *NullableUpdateEmbedding
func (NullableUpdateEmbedding) Get ¶
func (v NullableUpdateEmbedding) Get() *UpdateEmbedding
func (NullableUpdateEmbedding) IsSet ¶
func (v NullableUpdateEmbedding) IsSet() bool
func (NullableUpdateEmbedding) MarshalJSON ¶
func (v NullableUpdateEmbedding) MarshalJSON() ([]byte, error)
func (*NullableUpdateEmbedding) Set ¶
func (v *NullableUpdateEmbedding) Set(val *UpdateEmbedding)
func (*NullableUpdateEmbedding) UnmarshalJSON ¶
func (v *NullableUpdateEmbedding) UnmarshalJSON(src []byte) error
func (*NullableUpdateEmbedding) Unset ¶
func (v *NullableUpdateEmbedding) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type QueryEmbedding ¶
type QueryEmbedding struct { Where map[string]interface{} `json:"where,omitempty"` WhereDocument map[string]interface{} `json:"where_document,omitempty"` QueryEmbeddings []EmbeddingsInner `json:"query_embeddings"` NResults *int32 `json:"n_results,omitempty"` Include []IncludeInner `json:"include,omitempty"` }
QueryEmbedding struct for QueryEmbedding
func NewQueryEmbedding ¶
func NewQueryEmbedding(queryEmbeddings []EmbeddingsInner) *QueryEmbedding
NewQueryEmbedding instantiates a new QueryEmbedding 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
func NewQueryEmbeddingWithDefaults ¶
func NewQueryEmbeddingWithDefaults() *QueryEmbedding
NewQueryEmbeddingWithDefaults instantiates a new QueryEmbedding 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
func (*QueryEmbedding) GetInclude ¶
func (o *QueryEmbedding) GetInclude() []IncludeInner
GetInclude returns the Include field value if set, zero value otherwise.
func (*QueryEmbedding) GetIncludeOk ¶
func (o *QueryEmbedding) GetIncludeOk() ([]IncludeInner, bool)
GetIncludeOk returns a tuple with the Include field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryEmbedding) GetNResults ¶
func (o *QueryEmbedding) GetNResults() int32
GetNResults returns the NResults field value if set, zero value otherwise.
func (*QueryEmbedding) GetNResultsOk ¶
func (o *QueryEmbedding) GetNResultsOk() (*int32, bool)
GetNResultsOk returns a tuple with the NResults field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryEmbedding) GetQueryEmbeddings ¶
func (o *QueryEmbedding) GetQueryEmbeddings() []EmbeddingsInner
GetQueryEmbeddings returns the QueryEmbeddings field value
func (*QueryEmbedding) GetQueryEmbeddingsOk ¶
func (o *QueryEmbedding) GetQueryEmbeddingsOk() ([]EmbeddingsInner, bool)
GetQueryEmbeddingsOk returns a tuple with the QueryEmbeddings field value and a boolean to check if the value has been set.
func (*QueryEmbedding) GetWhere ¶
func (o *QueryEmbedding) GetWhere() map[string]interface{}
GetWhere returns the Where field value if set, zero value otherwise.
func (*QueryEmbedding) GetWhereDocument ¶
func (o *QueryEmbedding) GetWhereDocument() map[string]interface{}
GetWhereDocument returns the WhereDocument field value if set, zero value otherwise.
func (*QueryEmbedding) GetWhereDocumentOk ¶
func (o *QueryEmbedding) GetWhereDocumentOk() (map[string]interface{}, bool)
GetWhereDocumentOk returns a tuple with the WhereDocument field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryEmbedding) GetWhereOk ¶
func (o *QueryEmbedding) GetWhereOk() (map[string]interface{}, bool)
GetWhereOk returns a tuple with the Where field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryEmbedding) HasInclude ¶
func (o *QueryEmbedding) HasInclude() bool
HasInclude returns a boolean if a field has been set.
func (*QueryEmbedding) HasNResults ¶
func (o *QueryEmbedding) HasNResults() bool
HasNResults returns a boolean if a field has been set.
func (*QueryEmbedding) HasWhere ¶
func (o *QueryEmbedding) HasWhere() bool
HasWhere returns a boolean if a field has been set.
func (*QueryEmbedding) HasWhereDocument ¶
func (o *QueryEmbedding) HasWhereDocument() bool
HasWhereDocument returns a boolean if a field has been set.
func (QueryEmbedding) MarshalJSON ¶
func (o QueryEmbedding) MarshalJSON() ([]byte, error)
func (*QueryEmbedding) SetInclude ¶
func (o *QueryEmbedding) SetInclude(v []IncludeInner)
SetInclude gets a reference to the given []IncludeInner and assigns it to the Include field.
func (*QueryEmbedding) SetNResults ¶
func (o *QueryEmbedding) SetNResults(v int32)
SetNResults gets a reference to the given int32 and assigns it to the NResults field.
func (*QueryEmbedding) SetQueryEmbeddings ¶
func (o *QueryEmbedding) SetQueryEmbeddings(v []EmbeddingsInner)
SetQueryEmbeddings sets field value
func (*QueryEmbedding) SetWhere ¶
func (o *QueryEmbedding) SetWhere(v map[string]interface{})
SetWhere gets a reference to the given map[string]interface{} and assigns it to the Where field.
func (*QueryEmbedding) SetWhereDocument ¶
func (o *QueryEmbedding) SetWhereDocument(v map[string]interface{})
SetWhereDocument gets a reference to the given map[string]interface{} and assigns it to the WhereDocument field.
func (QueryEmbedding) ToMap ¶
func (o QueryEmbedding) ToMap() (map[string]interface{}, error)
type QueryResult ¶
type QueryResult struct { Ids [][]string `json:"ids"` Embeddings [][]EmbeddingsInner `json:"embeddings"` Documents [][]string `json:"documents"` Metadatas [][]map[string]interface{} `json:"metadatas"` Distances [][]float32 `json:"distances"` }
QueryResult struct for QueryResult
func NewQueryResult ¶
func NewQueryResult(ids [][]string, embeddings [][]EmbeddingsInner, documents [][]string, metadatas [][]map[string]interface{}, distances [][]float32) *QueryResult
NewQueryResult instantiates a new QueryResult 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
func NewQueryResultWithDefaults ¶
func NewQueryResultWithDefaults() *QueryResult
NewQueryResultWithDefaults instantiates a new QueryResult 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
func (*QueryResult) GetDistances ¶
func (o *QueryResult) GetDistances() [][]float32
GetDistances returns the Distances field value
func (*QueryResult) GetDistancesOk ¶
func (o *QueryResult) GetDistancesOk() ([][]float32, bool)
GetDistancesOk returns a tuple with the Distances field value and a boolean to check if the value has been set.
func (*QueryResult) GetDocuments ¶
func (o *QueryResult) GetDocuments() [][]string
GetDocuments returns the Documents field value
func (*QueryResult) GetDocumentsOk ¶
func (o *QueryResult) GetDocumentsOk() ([][]string, bool)
GetDocumentsOk returns a tuple with the Documents field value and a boolean to check if the value has been set.
func (*QueryResult) GetEmbeddings ¶
func (o *QueryResult) GetEmbeddings() [][]EmbeddingsInner
GetEmbeddings returns the Embeddings field value
func (*QueryResult) GetEmbeddingsOk ¶
func (o *QueryResult) GetEmbeddingsOk() ([][]EmbeddingsInner, bool)
GetEmbeddingsOk returns a tuple with the Embeddings field value and a boolean to check if the value has been set.
func (*QueryResult) GetIds ¶
func (o *QueryResult) GetIds() [][]string
GetIds returns the Ids field value
func (*QueryResult) GetIdsOk ¶
func (o *QueryResult) GetIdsOk() ([][]string, bool)
GetIdsOk returns a tuple with the Ids field value and a boolean to check if the value has been set.
func (*QueryResult) GetMetadatas ¶
func (o *QueryResult) GetMetadatas() [][]map[string]interface{}
GetMetadatas returns the Metadatas field value
func (*QueryResult) GetMetadatasOk ¶
func (o *QueryResult) GetMetadatasOk() ([][]map[string]interface{}, bool)
GetMetadatasOk returns a tuple with the Metadatas field value and a boolean to check if the value has been set.
func (QueryResult) MarshalJSON ¶
func (o QueryResult) MarshalJSON() ([]byte, error)
func (*QueryResult) SetDistances ¶
func (o *QueryResult) SetDistances(v [][]float32)
SetDistances sets field value
func (*QueryResult) SetDocuments ¶
func (o *QueryResult) SetDocuments(v [][]string)
SetDocuments sets field value
func (*QueryResult) SetEmbeddings ¶
func (o *QueryResult) SetEmbeddings(v [][]EmbeddingsInner)
SetEmbeddings sets field value
func (*QueryResult) SetMetadatas ¶
func (o *QueryResult) SetMetadatas(v [][]map[string]interface{})
SetMetadatas sets field value
func (QueryResult) ToMap ¶
func (o QueryResult) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Tenant ¶ added in v0.1.0
type Tenant struct {
Name *string `json:"name,omitempty"`
}
Tenant struct for Tenant
func NewTenant ¶ added in v0.1.0
func NewTenant() *Tenant
NewTenant instantiates a new Tenant 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
func NewTenantWithDefaults ¶ added in v0.1.0
func NewTenantWithDefaults() *Tenant
NewTenantWithDefaults instantiates a new Tenant 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
func (*Tenant) GetName ¶ added in v0.1.0
GetName returns the Name field value if set, zero value otherwise.
func (*Tenant) GetNameOk ¶ added in v0.1.0
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (Tenant) MarshalJSON ¶ added in v0.1.0
type UpdateCollection ¶
type UpdateCollection struct { NewName *string `json:"new_name,omitempty"` NewMetadata map[string]interface{} `json:"new_metadata,omitempty"` }
UpdateCollection struct for UpdateCollection
func NewUpdateCollection ¶
func NewUpdateCollection() *UpdateCollection
NewUpdateCollection instantiates a new UpdateCollection 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
func NewUpdateCollectionWithDefaults ¶
func NewUpdateCollectionWithDefaults() *UpdateCollection
NewUpdateCollectionWithDefaults instantiates a new UpdateCollection 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
func (*UpdateCollection) GetNewMetadata ¶
func (o *UpdateCollection) GetNewMetadata() map[string]interface{}
GetNewMetadata returns the NewMetadata field value if set, zero value otherwise.
func (*UpdateCollection) GetNewMetadataOk ¶
func (o *UpdateCollection) GetNewMetadataOk() (map[string]interface{}, bool)
GetNewMetadataOk returns a tuple with the NewMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCollection) GetNewName ¶
func (o *UpdateCollection) GetNewName() string
GetNewName returns the NewName field value if set, zero value otherwise.
func (*UpdateCollection) GetNewNameOk ¶
func (o *UpdateCollection) GetNewNameOk() (*string, bool)
GetNewNameOk returns a tuple with the NewName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCollection) HasNewMetadata ¶
func (o *UpdateCollection) HasNewMetadata() bool
HasNewMetadata returns a boolean if a field has been set.
func (*UpdateCollection) HasNewName ¶
func (o *UpdateCollection) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (UpdateCollection) MarshalJSON ¶
func (o UpdateCollection) MarshalJSON() ([]byte, error)
func (*UpdateCollection) SetNewMetadata ¶
func (o *UpdateCollection) SetNewMetadata(v map[string]interface{})
SetNewMetadata gets a reference to the given map[string]interface{} and assigns it to the NewMetadata field.
func (*UpdateCollection) SetNewName ¶
func (o *UpdateCollection) SetNewName(v string)
SetNewName gets a reference to the given string and assigns it to the NewName field.
func (UpdateCollection) ToMap ¶
func (o UpdateCollection) ToMap() (map[string]interface{}, error)
type UpdateEmbedding ¶
type UpdateEmbedding struct { Embeddings []EmbeddingsInner `json:"embeddings,omitempty"` Metadatas []map[string]interface{} `json:"metadatas,omitempty"` Documents []string `json:"documents,omitempty"` Ids []string `json:"ids"` }
UpdateEmbedding struct for UpdateEmbedding
func NewUpdateEmbedding ¶
func NewUpdateEmbedding(ids []string) *UpdateEmbedding
NewUpdateEmbedding instantiates a new UpdateEmbedding 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
func NewUpdateEmbeddingWithDefaults ¶
func NewUpdateEmbeddingWithDefaults() *UpdateEmbedding
NewUpdateEmbeddingWithDefaults instantiates a new UpdateEmbedding 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
func (*UpdateEmbedding) GetDocuments ¶
func (o *UpdateEmbedding) GetDocuments() []string
GetDocuments returns the Documents field value if set, zero value otherwise.
func (*UpdateEmbedding) GetDocumentsOk ¶
func (o *UpdateEmbedding) GetDocumentsOk() ([]string, bool)
GetDocumentsOk returns a tuple with the Documents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateEmbedding) GetEmbeddings ¶
func (o *UpdateEmbedding) GetEmbeddings() []EmbeddingsInner
GetEmbeddings returns the Embeddings field value if set, zero value otherwise.
func (*UpdateEmbedding) GetEmbeddingsOk ¶
func (o *UpdateEmbedding) GetEmbeddingsOk() ([]EmbeddingsInner, bool)
GetEmbeddingsOk returns a tuple with the Embeddings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateEmbedding) GetIds ¶
func (o *UpdateEmbedding) GetIds() []string
GetIds returns the Ids field value
func (*UpdateEmbedding) GetIdsOk ¶
func (o *UpdateEmbedding) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value and a boolean to check if the value has been set.
func (*UpdateEmbedding) GetMetadatas ¶
func (o *UpdateEmbedding) GetMetadatas() []map[string]interface{}
GetMetadatas returns the Metadatas field value if set, zero value otherwise.
func (*UpdateEmbedding) GetMetadatasOk ¶
func (o *UpdateEmbedding) GetMetadatasOk() ([]map[string]interface{}, bool)
GetMetadatasOk returns a tuple with the Metadatas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateEmbedding) HasDocuments ¶
func (o *UpdateEmbedding) HasDocuments() bool
HasDocuments returns a boolean if a field has been set.
func (*UpdateEmbedding) HasEmbeddings ¶
func (o *UpdateEmbedding) HasEmbeddings() bool
HasEmbeddings returns a boolean if a field has been set.
func (*UpdateEmbedding) HasMetadatas ¶
func (o *UpdateEmbedding) HasMetadatas() bool
HasMetadatas returns a boolean if a field has been set.
func (UpdateEmbedding) MarshalJSON ¶
func (o UpdateEmbedding) MarshalJSON() ([]byte, error)
func (*UpdateEmbedding) SetDocuments ¶
func (o *UpdateEmbedding) SetDocuments(v []string)
SetDocuments gets a reference to the given []string and assigns it to the Documents field.
func (*UpdateEmbedding) SetEmbeddings ¶
func (o *UpdateEmbedding) SetEmbeddings(v []EmbeddingsInner)
SetEmbeddings gets a reference to the given []EmbeddingsInner and assigns it to the Embeddings field.
func (*UpdateEmbedding) SetIds ¶
func (o *UpdateEmbedding) SetIds(v []string)
SetIds sets field value
func (*UpdateEmbedding) SetMetadatas ¶
func (o *UpdateEmbedding) SetMetadatas(v []map[string]interface{})
SetMetadatas gets a reference to the given []map[string]interface{} and assigns it to the Metadatas field.
func (UpdateEmbedding) ToMap ¶
func (o UpdateEmbedding) ToMap() (map[string]interface{}, error)
type ValidationError ¶
type ValidationError struct { Loc []LocationInner `json:"loc"` Msg string `json:"msg"` Type string `json:"type"` }
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(loc []LocationInner, msg string, type_ string) *ValidationError
NewValidationError instantiates a new ValidationError 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
func NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError 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
func (*ValidationError) GetLoc ¶
func (o *ValidationError) GetLoc() []LocationInner
GetLoc returns the Loc field value
func (*ValidationError) GetLocOk ¶
func (o *ValidationError) GetLocOk() ([]LocationInner, bool)
GetLocOk returns a tuple with the Loc field value and a boolean to check if the value has been set.
func (*ValidationError) GetMsg ¶
func (o *ValidationError) GetMsg() string
GetMsg returns the Msg field value
func (*ValidationError) GetMsgOk ¶
func (o *ValidationError) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (*ValidationError) GetType ¶
func (o *ValidationError) GetType() string
GetType returns the Type field value
func (*ValidationError) GetTypeOk ¶
func (o *ValidationError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetLoc ¶
func (o *ValidationError) SetLoc(v []LocationInner)
SetLoc sets field value
func (*ValidationError) SetType ¶
func (o *ValidationError) SetType(v string)
SetType sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_add_embedding.go
- model_collection.go
- model_create_collection.go
- model_create_database.go
- model_create_tenant.go
- model_database.go
- model_delete_embedding.go
- model_embeddings_inner.go
- model_get_embedding.go
- model_get_result.go
- model_http_validation_error.go
- model_include_inner.go
- model_location_inner.go
- model_metadata.go
- model_query_embedding.go
- model_query_result.go
- model_tenant.go
- model_update_collection.go
- model_update_embedding.go
- model_validation_error.go
- response.go
- utils.go