openapi

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 20 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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) SetIds

func (o *AddEmbedding) SetIds(v []string)

SetIds sets field value

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

func (ApiAddRequest) Execute

func (r ApiAddRequest) Execute() (bool, *http.Response, error)

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 (ApiCountCollectionsRequest) Execute added in v0.1.0

func (ApiCountCollectionsRequest) Tenant added in v0.1.0

type ApiCountRequest

type ApiCountRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiCountRequest) Execute

func (r ApiCountRequest) Execute() (int32, *http.Response, error)

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 (ApiCreateCollectionRequest) Execute

func (ApiCreateCollectionRequest) Tenant added in v0.1.0

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 (ApiCreateDatabaseRequest) Tenant added in v0.1.0

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

func (ApiCreateTenantRequest) Execute added in v0.1.0

func (r ApiCreateTenantRequest) Execute() (*Tenant, *http.Response, error)

type ApiDeleteCollectionRequest

type ApiDeleteCollectionRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCollectionRequest) Database added in v0.1.0

func (ApiDeleteCollectionRequest) Execute

func (ApiDeleteCollectionRequest) Tenant added in v0.1.0

type ApiDeleteRequest

type ApiDeleteRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRequest) DeleteEmbedding

func (r ApiDeleteRequest) DeleteEmbedding(deleteEmbedding DeleteEmbedding) ApiDeleteRequest

func (ApiDeleteRequest) Execute

func (r ApiDeleteRequest) Execute() ([]string, *http.Response, error)

type ApiGetCollectionRequest

type ApiGetCollectionRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetCollectionRequest) Database added in v0.1.0

func (ApiGetCollectionRequest) Execute

func (ApiGetCollectionRequest) Tenant added in v0.1.0

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

type ApiGetNearestNeighborsRequest

type ApiGetNearestNeighborsRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetNearestNeighborsRequest) Execute

func (ApiGetNearestNeighborsRequest) QueryEmbedding

type ApiGetRequest

type ApiGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetRequest) Execute

func (r ApiGetRequest) Execute() (*GetResult, *http.Response, error)

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
}

func (ApiGetTenantRequest) Execute added in v0.1.0

func (r ApiGetTenantRequest) Execute() (*Tenant, *http.Response, error)

type ApiHeartbeatRequest

type ApiHeartbeatRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiHeartbeatRequest) Execute

func (r ApiHeartbeatRequest) Execute() (map[string]float32, *http.Response, error)

type ApiListCollectionsRequest

type ApiListCollectionsRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiListCollectionsRequest) Database added in v0.1.0

func (ApiListCollectionsRequest) Execute

func (ApiListCollectionsRequest) Tenant added in v0.1.0

type ApiPreFlightChecksRequest added in v0.1.0

type ApiPreFlightChecksRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiPreFlightChecksRequest) Execute added in v0.1.0

func (r ApiPreFlightChecksRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiResetRequest

type ApiResetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiResetRequest) Execute

func (r ApiResetRequest) Execute() (bool, *http.Response, error)

type ApiRootRequest

type ApiRootRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiRootRequest) Execute

func (r ApiRootRequest) Execute() (map[string]float32, *http.Response, error)

type ApiUpdateCollectionRequest

type ApiUpdateCollectionRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCollectionRequest) Execute

func (ApiUpdateCollectionRequest) UpdateCollection

func (r ApiUpdateCollectionRequest) UpdateCollection(updateCollection UpdateCollection) ApiUpdateCollectionRequest

type ApiUpdateRequest

type ApiUpdateRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRequest) Execute

func (r ApiUpdateRequest) Execute() (bool, *http.Response, error)

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

func (ApiUpsertRequest) Execute

func (r ApiUpsertRequest) Execute() (bool, *http.Response, error)

type ApiVersionRequest

type ApiVersionRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiVersionRequest) Execute

func (r ApiVersionRequest) Execute() (string, *http.Response, error)

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) GetId

func (o *Collection) GetId() string

GetId returns the Id field value

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) SetId

func (o *Collection) SetId(v string)

SetId sets field value

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) SetName

func (o *Collection) SetName(v string)

SetName sets field value

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

func (o *Database) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Database) GetIdOk added in v0.1.0

func (o *Database) GetIdOk() (*string, bool)

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

func (o *Database) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Database) GetNameOk added in v0.1.0

func (o *Database) GetNameOk() (*string, bool)

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

func (o *Database) GetTenant() string

GetTenant returns the Tenant field value if set, zero value otherwise.

func (*Database) GetTenantOk added in v0.1.0

func (o *Database) GetTenantOk() (*string, bool)

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) HasId added in v0.1.0

func (o *Database) HasId() bool

HasId returns a boolean if a field has been set.

func (*Database) HasName added in v0.1.0

func (o *Database) HasName() bool

HasName returns a boolean if a field has been set.

func (*Database) HasTenant added in v0.1.0

func (o *Database) HasTenant() bool

HasTenant returns a boolean if a field has been set.

func (Database) MarshalJSON added in v0.1.0

func (o Database) MarshalJSON() ([]byte, error)

func (*Database) SetId added in v0.1.0

func (o *Database) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Database) SetName added in v0.1.0

func (o *Database) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Database) SetTenant added in v0.1.0

func (o *Database) SetTenant(v string)

SetTenant gets a reference to the given string and assigns it to the Tenant field.

func (Database) ToMap added in v0.1.0

func (o Database) ToMap() (map[string]interface{}, error)

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

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

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

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

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

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

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

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

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

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

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

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

type EmbeddingsInner struct {
	ArrayOfFloat32 *[]float32
	ArrayOfInt32   *[]int32
}

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

func (o *GetResult) GetDocuments() []string

GetDocuments returns the Documents field value

func (*GetResult) GetDocumentsOk

func (o *GetResult) GetDocumentsOk() ([]string, bool)

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) GetIds

func (o *GetResult) GetIds() []string

GetIds returns the Ids field value

func (*GetResult) GetIdsOk

func (o *GetResult) GetIdsOk() ([]string, bool)

GetIdsOk returns a tuple with the Ids field value and a boolean to check if the value has been set.

func (*GetResult) GetMetadatas

func (o *GetResult) GetMetadatas() []map[string]interface{}

GetMetadatas returns the Metadatas field value

func (*GetResult) GetMetadatasOk

func (o *GetResult) 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 (GetResult) MarshalJSON

func (o GetResult) MarshalJSON() ([]byte, error)

func (*GetResult) SetDocuments

func (o *GetResult) SetDocuments(v []string)

SetDocuments sets field value

func (*GetResult) SetEmbeddings

func (o *GetResult) SetEmbeddings(v []EmbeddingsInner)

SetEmbeddings sets field value

func (*GetResult) SetIds

func (o *GetResult) SetIds(v []string)

SetIds sets field value

func (*GetResult) SetMetadatas

func (o *GetResult) SetMetadatas(v []map[string]interface{})

SetMetadatas sets field value

func (GetResult) ToMap

func (o GetResult) ToMap() (map[string]interface{}, error)

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

type LocationInner struct {
	Int32  *int32
	String *string
}

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Metadata added in v0.1.0

type Metadata struct {
	Bool    *bool
	Float32 *float32
	Int32   *int32
	String  *string
}

Metadata struct for Metadata

func (*Metadata) MarshalJSON added in v0.1.0

func (src *Metadata) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Metadata) UnmarshalJSON added in v0.1.0

func (dst *Metadata) UnmarshalJSON(data []byte) error

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 (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 (NullableCreateCollection) IsSet

func (v NullableCreateCollection) IsSet() bool

func (NullableCreateCollection) MarshalJSON

func (v NullableCreateCollection) MarshalJSON() ([]byte, error)

func (*NullableCreateCollection) Set

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 (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 (*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 (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 (NullableDeleteEmbedding) IsSet

func (v NullableDeleteEmbedding) IsSet() bool

func (NullableDeleteEmbedding) MarshalJSON

func (v NullableDeleteEmbedding) MarshalJSON() ([]byte, error)

func (*NullableDeleteEmbedding) Set

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 (NullableEmbeddingsInner) IsSet

func (v NullableEmbeddingsInner) IsSet() bool

func (NullableEmbeddingsInner) MarshalJSON

func (v NullableEmbeddingsInner) MarshalJSON() ([]byte, error)

func (*NullableEmbeddingsInner) Set

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 (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 (NullableHTTPValidationError) IsSet

func (NullableHTTPValidationError) MarshalJSON

func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)

func (*NullableHTTPValidationError) Set

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 (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 (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 (NullableQueryEmbedding) IsSet

func (v NullableQueryEmbedding) IsSet() bool

func (NullableQueryEmbedding) MarshalJSON

func (v NullableQueryEmbedding) MarshalJSON() ([]byte, error)

func (*NullableQueryEmbedding) Set

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 (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 (NullableUpdateCollection) IsSet

func (v NullableUpdateCollection) IsSet() bool

func (NullableUpdateCollection) MarshalJSON

func (v NullableUpdateCollection) MarshalJSON() ([]byte, error)

func (*NullableUpdateCollection) Set

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 (NullableUpdateEmbedding) IsSet

func (v NullableUpdateEmbedding) IsSet() bool

func (NullableUpdateEmbedding) MarshalJSON

func (v NullableUpdateEmbedding) MarshalJSON() ([]byte, error)

func (*NullableUpdateEmbedding) Set

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 (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

func (v NullableValidationError) MarshalJSON() ([]byte, error)

func (*NullableValidationError) Set

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) SetIds

func (o *QueryResult) SetIds(v [][]string)

SetIds 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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

func (o *Tenant) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Tenant) GetNameOk added in v0.1.0

func (o *Tenant) GetNameOk() (*string, bool)

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) HasName added in v0.1.0

func (o *Tenant) HasName() bool

HasName returns a boolean if a field has been set.

func (Tenant) MarshalJSON added in v0.1.0

func (o Tenant) MarshalJSON() ([]byte, error)

func (*Tenant) SetName added in v0.1.0

func (o *Tenant) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Tenant) ToMap added in v0.1.0

func (o Tenant) ToMap() (map[string]interface{}, error)

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) SetMsg

func (o *ValidationError) SetMsg(v string)

SetMsg 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL