GoodMem
ReferenceClient SDKsGo SDKRequests

LLMCreationRequest

LLMCreationRequest documentation for Go SDK

Properties

NameTypeDescriptionNotes
ValidatePointer to map[string]interface[optional]
DisplayNamestringUser-facing name of the LLM
DescriptionPointer to NullableStringDescription of the LLM[optional]
ProviderTypeLLMProviderType
EndpointUrlstringAPI endpoint URL
ApiPathPointer to NullableStringAPI path for chat/completions request (defaults to /v1/chat/completions if not provided)[optional]
ModelIdentifierstringModel identifier
SupportedModalitiesPointer to []ModalitySupported content modalities (defaults to TEXT if not provided)[optional]
CredentialsPointer to EndpointAuthentication[optional]
LabelsPointer to map[string]stringUser-defined labels for categorization[optional]
VersionPointer to NullableStringVersion information[optional]
MonitoringEndpointPointer to NullableStringMonitoring endpoint URL[optional]
CapabilitiesLLMCapabilities
DefaultSamplingParamsPointer to LLMSamplingParams[optional]
MaxContextLengthPointer to NullableInt32Maximum context window size in tokens[optional]
ClientConfigPointer to map[string]map[string]interfaceProvider-specific client configuration as flexible JSON structure[optional]
OwnerIdPointer to NullableStringOptional owner ID. If not provided, derived from the authentication context. Requires CREATE_LLM_ANY permission if specified.[optional]

Methods

NewLLMCreationRequest

func NewLLMCreationRequest(displayName string, providerType LLMProviderType, endpointUrl string, modelIdentifier string, capabilities LLMCapabilities, ) *LLMCreationRequest

NewLLMCreationRequest instantiates a new LLMCreationRequest 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

NewLLMCreationRequestWithDefaults

func NewLLMCreationRequestWithDefaults() *LLMCreationRequest

NewLLMCreationRequestWithDefaults instantiates a new LLMCreationRequest 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

GetValidate

func (o *LLMCreationRequest) GetValidate() map[string]interface{}

GetValidate returns the Validate field if non-nil, zero value otherwise.

GetValidateOk

func (o *LLMCreationRequest) GetValidateOk() (*map[string]interface{}, bool)

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

SetValidate

func (o *LLMCreationRequest) SetValidate(v map[string]interface{})

SetValidate sets Validate field to given value.

HasValidate

func (o *LLMCreationRequest) HasValidate() bool

HasValidate returns a boolean if a field has been set.

GetDisplayName

func (o *LLMCreationRequest) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *LLMCreationRequest) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *LLMCreationRequest) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

GetDescription

func (o *LLMCreationRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *LLMCreationRequest) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *LLMCreationRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *LLMCreationRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *LLMCreationRequest) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *LLMCreationRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetProviderType

func (o *LLMCreationRequest) GetProviderType() LLMProviderType

GetProviderType returns the ProviderType field if non-nil, zero value otherwise.

GetProviderTypeOk

func (o *LLMCreationRequest) GetProviderTypeOk() (*LLMProviderType, bool)

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

SetProviderType

func (o *LLMCreationRequest) SetProviderType(v LLMProviderType)

SetProviderType sets ProviderType field to given value.

GetEndpointUrl

func (o *LLMCreationRequest) GetEndpointUrl() string

GetEndpointUrl returns the EndpointUrl field if non-nil, zero value otherwise.

GetEndpointUrlOk

func (o *LLMCreationRequest) GetEndpointUrlOk() (*string, bool)

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

SetEndpointUrl

func (o *LLMCreationRequest) SetEndpointUrl(v string)

SetEndpointUrl sets EndpointUrl field to given value.

GetApiPath

func (o *LLMCreationRequest) GetApiPath() string

GetApiPath returns the ApiPath field if non-nil, zero value otherwise.

GetApiPathOk

func (o *LLMCreationRequest) GetApiPathOk() (*string, bool)

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

SetApiPath

func (o *LLMCreationRequest) SetApiPath(v string)

SetApiPath sets ApiPath field to given value.

HasApiPath

func (o *LLMCreationRequest) HasApiPath() bool

HasApiPath returns a boolean if a field has been set.

SetApiPathNil

func (o *LLMCreationRequest) SetApiPathNil(b bool)

SetApiPathNil sets the value for ApiPath to be an explicit nil

UnsetApiPath

func (o *LLMCreationRequest) UnsetApiPath()

UnsetApiPath ensures that no value is present for ApiPath, not even an explicit nil

GetModelIdentifier

func (o *LLMCreationRequest) GetModelIdentifier() string

GetModelIdentifier returns the ModelIdentifier field if non-nil, zero value otherwise.

GetModelIdentifierOk

func (o *LLMCreationRequest) GetModelIdentifierOk() (*string, bool)

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

SetModelIdentifier

func (o *LLMCreationRequest) SetModelIdentifier(v string)

SetModelIdentifier sets ModelIdentifier field to given value.

GetSupportedModalities

func (o *LLMCreationRequest) GetSupportedModalities() []Modality

GetSupportedModalities returns the SupportedModalities field if non-nil, zero value otherwise.

GetSupportedModalitiesOk

func (o *LLMCreationRequest) GetSupportedModalitiesOk() (*[]Modality, bool)

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

SetSupportedModalities

func (o *LLMCreationRequest) SetSupportedModalities(v []Modality)

SetSupportedModalities sets SupportedModalities field to given value.

HasSupportedModalities

func (o *LLMCreationRequest) HasSupportedModalities() bool

HasSupportedModalities returns a boolean if a field has been set.

SetSupportedModalitiesNil

func (o *LLMCreationRequest) SetSupportedModalitiesNil(b bool)

SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil

UnsetSupportedModalities

func (o *LLMCreationRequest) UnsetSupportedModalities()

UnsetSupportedModalities ensures that no value is present for SupportedModalities, not even an explicit nil

GetCredentials

func (o *LLMCreationRequest) GetCredentials() EndpointAuthentication

GetCredentials returns the Credentials field if non-nil, zero value otherwise.

GetCredentialsOk

func (o *LLMCreationRequest) GetCredentialsOk() (*EndpointAuthentication, bool)

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

SetCredentials

func (o *LLMCreationRequest) SetCredentials(v EndpointAuthentication)

SetCredentials sets Credentials field to given value.

HasCredentials

func (o *LLMCreationRequest) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

GetLabels

func (o *LLMCreationRequest) GetLabels() map[string]string

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *LLMCreationRequest) GetLabelsOk() (*map[string]string, bool)

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

SetLabels

func (o *LLMCreationRequest) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

HasLabels

func (o *LLMCreationRequest) HasLabels() bool

HasLabels returns a boolean if a field has been set.

SetLabelsNil

func (o *LLMCreationRequest) SetLabelsNil(b bool)

SetLabelsNil sets the value for Labels to be an explicit nil

UnsetLabels

func (o *LLMCreationRequest) UnsetLabels()

UnsetLabels ensures that no value is present for Labels, not even an explicit nil

GetVersion

func (o *LLMCreationRequest) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *LLMCreationRequest) GetVersionOk() (*string, bool)

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

SetVersion

func (o *LLMCreationRequest) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *LLMCreationRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

SetVersionNil

func (o *LLMCreationRequest) SetVersionNil(b bool)

SetVersionNil sets the value for Version to be an explicit nil

UnsetVersion

func (o *LLMCreationRequest) UnsetVersion()

UnsetVersion ensures that no value is present for Version, not even an explicit nil

GetMonitoringEndpoint

func (o *LLMCreationRequest) GetMonitoringEndpoint() string

GetMonitoringEndpoint returns the MonitoringEndpoint field if non-nil, zero value otherwise.

GetMonitoringEndpointOk

func (o *LLMCreationRequest) GetMonitoringEndpointOk() (*string, bool)

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

SetMonitoringEndpoint

func (o *LLMCreationRequest) SetMonitoringEndpoint(v string)

SetMonitoringEndpoint sets MonitoringEndpoint field to given value.

HasMonitoringEndpoint

func (o *LLMCreationRequest) HasMonitoringEndpoint() bool

HasMonitoringEndpoint returns a boolean if a field has been set.

SetMonitoringEndpointNil

func (o *LLMCreationRequest) SetMonitoringEndpointNil(b bool)

SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil

UnsetMonitoringEndpoint

func (o *LLMCreationRequest) UnsetMonitoringEndpoint()

UnsetMonitoringEndpoint ensures that no value is present for MonitoringEndpoint, not even an explicit nil

GetCapabilities

func (o *LLMCreationRequest) GetCapabilities() LLMCapabilities

GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.

GetCapabilitiesOk

func (o *LLMCreationRequest) GetCapabilitiesOk() (*LLMCapabilities, bool)

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

SetCapabilities

func (o *LLMCreationRequest) SetCapabilities(v LLMCapabilities)

SetCapabilities sets Capabilities field to given value.

GetDefaultSamplingParams

func (o *LLMCreationRequest) GetDefaultSamplingParams() LLMSamplingParams

GetDefaultSamplingParams returns the DefaultSamplingParams field if non-nil, zero value otherwise.

GetDefaultSamplingParamsOk

func (o *LLMCreationRequest) GetDefaultSamplingParamsOk() (*LLMSamplingParams, bool)

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

SetDefaultSamplingParams

func (o *LLMCreationRequest) SetDefaultSamplingParams(v LLMSamplingParams)

SetDefaultSamplingParams sets DefaultSamplingParams field to given value.

HasDefaultSamplingParams

func (o *LLMCreationRequest) HasDefaultSamplingParams() bool

HasDefaultSamplingParams returns a boolean if a field has been set.

GetMaxContextLength

func (o *LLMCreationRequest) GetMaxContextLength() int32

GetMaxContextLength returns the MaxContextLength field if non-nil, zero value otherwise.

GetMaxContextLengthOk

func (o *LLMCreationRequest) GetMaxContextLengthOk() (*int32, bool)

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

SetMaxContextLength

func (o *LLMCreationRequest) SetMaxContextLength(v int32)

SetMaxContextLength sets MaxContextLength field to given value.

HasMaxContextLength

func (o *LLMCreationRequest) HasMaxContextLength() bool

HasMaxContextLength returns a boolean if a field has been set.

SetMaxContextLengthNil

func (o *LLMCreationRequest) SetMaxContextLengthNil(b bool)

SetMaxContextLengthNil sets the value for MaxContextLength to be an explicit nil

UnsetMaxContextLength

func (o *LLMCreationRequest) UnsetMaxContextLength()

UnsetMaxContextLength ensures that no value is present for MaxContextLength, not even an explicit nil

GetClientConfig

func (o *LLMCreationRequest) GetClientConfig() map[string]map[string]interface{}

GetClientConfig returns the ClientConfig field if non-nil, zero value otherwise.

GetClientConfigOk

func (o *LLMCreationRequest) GetClientConfigOk() (*map[string]map[string]interface{}, bool)

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

SetClientConfig

func (o *LLMCreationRequest) SetClientConfig(v map[string]map[string]interface{})

SetClientConfig sets ClientConfig field to given value.

HasClientConfig

func (o *LLMCreationRequest) HasClientConfig() bool

HasClientConfig returns a boolean if a field has been set.

SetClientConfigNil

func (o *LLMCreationRequest) SetClientConfigNil(b bool)

SetClientConfigNil sets the value for ClientConfig to be an explicit nil

UnsetClientConfig

func (o *LLMCreationRequest) UnsetClientConfig()

UnsetClientConfig ensures that no value is present for ClientConfig, not even an explicit nil

GetOwnerId

func (o *LLMCreationRequest) GetOwnerId() string

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

GetOwnerIdOk

func (o *LLMCreationRequest) GetOwnerIdOk() (*string, bool)

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

SetOwnerId

func (o *LLMCreationRequest) SetOwnerId(v string)

SetOwnerId sets OwnerId field to given value.

HasOwnerId

func (o *LLMCreationRequest) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

SetOwnerIdNil

func (o *LLMCreationRequest) SetOwnerIdNil(b bool)

SetOwnerIdNil sets the value for OwnerId to be an explicit nil

UnsetOwnerId

func (o *LLMCreationRequest) UnsetOwnerId()

UnsetOwnerId ensures that no value is present for OwnerId, not even an explicit nil

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