GoodMem
ReferenceClient SDKsGo SDKConfiguration

SpaceEmbedderConfig Configuration

SpaceEmbedderConfig Configuration documentation for Go SDK

Properties

NameTypeDescriptionNotes
EmbedderIdstringThe unique identifier for the embedder to associate with the space.
DefaultRetrievalWeightPointer to NullableFloat64Relative weight for this embedder used by default during retrieval. If omitted, defaults to 1.0; values need not sum to 1 and can be overridden per request.[optional]

Methods

NewSpaceEmbedderConfig

func NewSpaceEmbedderConfig(embedderId string, ) *SpaceEmbedderConfig

NewSpaceEmbedderConfig instantiates a new SpaceEmbedderConfig 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

NewSpaceEmbedderConfigWithDefaults

func NewSpaceEmbedderConfigWithDefaults() *SpaceEmbedderConfig

NewSpaceEmbedderConfigWithDefaults instantiates a new SpaceEmbedderConfig 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

GetEmbedderId

func (o *SpaceEmbedderConfig) GetEmbedderId() string

GetEmbedderId returns the EmbedderId field if non-nil, zero value otherwise.

GetEmbedderIdOk

func (o *SpaceEmbedderConfig) GetEmbedderIdOk() (*string, bool)

GetEmbedderIdOk returns a tuple with the EmbedderId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEmbedderId

func (o *SpaceEmbedderConfig) SetEmbedderId(v string)

SetEmbedderId sets EmbedderId field to given value.

GetDefaultRetrievalWeight

func (o *SpaceEmbedderConfig) GetDefaultRetrievalWeight() float64

GetDefaultRetrievalWeight returns the DefaultRetrievalWeight field if non-nil, zero value otherwise.

GetDefaultRetrievalWeightOk

func (o *SpaceEmbedderConfig) GetDefaultRetrievalWeightOk() (*float64, bool)

GetDefaultRetrievalWeightOk returns a tuple with the DefaultRetrievalWeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDefaultRetrievalWeight

func (o *SpaceEmbedderConfig) SetDefaultRetrievalWeight(v float64)

SetDefaultRetrievalWeight sets DefaultRetrievalWeight field to given value.

HasDefaultRetrievalWeight

func (o *SpaceEmbedderConfig) HasDefaultRetrievalWeight() bool

HasDefaultRetrievalWeight returns a boolean if a field has been set.

SetDefaultRetrievalWeightNil

func (o *SpaceEmbedderConfig) SetDefaultRetrievalWeightNil(b bool)

SetDefaultRetrievalWeightNil sets the value for DefaultRetrievalWeight to be an explicit nil

UnsetDefaultRetrievalWeight

func (o *SpaceEmbedderConfig) UnsetDefaultRetrievalWeight()

UnsetDefaultRetrievalWeight ensures that no value is present for DefaultRetrievalWeight, not even an explicit nil

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK