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.
DefaultRetrievalWeightfloat64The default weight for this embedder during retrieval operations.

Methods

NewSpaceEmbedderConfig

func NewSpaceEmbedderConfig(embedderId string, defaultRetrievalWeight float64, ) *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.

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