GoodMem
ReferenceClient SDKsGoModels

LLMResponse Model

LLMResponse Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
LlmIdstringUnique identifier of the LLM
DisplayNamestringUser-facing name of the LLM
DescriptionPointer to NullableStringDescription of the LLM[optional]
ProviderTypeLLMProviderTypeType of LLM provider
EndpointUrlstringAPI endpoint base URL
ApiPathPointer to NullableStringAPI path for chat/completions request[optional]
ModelIdentifierstringModel identifier
SupportedModalities[]ModalitySupported content modalities
CredentialsPointer to NullableEndpointAuthentication[optional]
Labelsmap[string]stringUser-defined labels for categorization
VersionPointer to NullableStringVersion information[optional]
MonitoringEndpointPointer to NullableStringMonitoring endpoint URL[optional]
CapabilitiesLLMCapabilitiesLLM capabilities defining supported features and modes
DefaultSamplingParamsPointer to NullableLLMSamplingParams[optional]
MaxContextLengthPointer to NullableInt32Maximum context window size in tokens[optional]
ClientConfigPointer to map[string]map[string]interfaceProvider-specific client configuration[optional]
OwnerIdstringOwner ID of the LLM
CreatedAtint64Creation timestamp (milliseconds since epoch)
UpdatedAtint64Last update timestamp (milliseconds since epoch)
CreatedByIdstringID of the user who created the LLM
UpdatedByIdstringID of the user who last updated the LLM

Methods

NewLLMResponse

func NewLLMResponse(llmId string, displayName string, providerType LLMProviderType, endpointUrl string, modelIdentifier string, supportedModalities []Modality, labels map[string]string, capabilities LLMCapabilities, ownerId string, createdAt int64, updatedAt int64, createdById string, updatedById string, ) *LLMResponse

NewLLMResponse instantiates a new LLMResponse 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

NewLLMResponseWithDefaults

func NewLLMResponseWithDefaults() *LLMResponse

NewLLMResponseWithDefaults instantiates a new LLMResponse 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

GetLlmId

func (o *LLMResponse) GetLlmId() string

GetLlmId returns the LlmId field if non-nil, zero value otherwise.

GetLlmIdOk

func (o *LLMResponse) GetLlmIdOk() (*string, bool)

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

SetLlmId

func (o *LLMResponse) SetLlmId(v string)

SetLlmId sets LlmId field to given value.

GetDisplayName

func (o *LLMResponse) GetDisplayName() string

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

GetDisplayNameOk

func (o *LLMResponse) 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 *LLMResponse) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

GetDescription

func (o *LLMResponse) GetDescription() string

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

GetDescriptionOk

func (o *LLMResponse) 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 *LLMResponse) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *LLMResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *LLMResponse) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *LLMResponse) UnsetDescription()

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

GetProviderType

func (o *LLMResponse) GetProviderType() LLMProviderType

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

GetProviderTypeOk

func (o *LLMResponse) 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 *LLMResponse) SetProviderType(v LLMProviderType)

SetProviderType sets ProviderType field to given value.

GetEndpointUrl

func (o *LLMResponse) GetEndpointUrl() string

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

GetEndpointUrlOk

func (o *LLMResponse) 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 *LLMResponse) SetEndpointUrl(v string)

SetEndpointUrl sets EndpointUrl field to given value.

GetApiPath

func (o *LLMResponse) GetApiPath() string

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

GetApiPathOk

func (o *LLMResponse) 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 *LLMResponse) SetApiPath(v string)

SetApiPath sets ApiPath field to given value.

HasApiPath

func (o *LLMResponse) HasApiPath() bool

HasApiPath returns a boolean if a field has been set.

SetApiPathNil

func (o *LLMResponse) SetApiPathNil(b bool)

SetApiPathNil sets the value for ApiPath to be an explicit nil

UnsetApiPath

func (o *LLMResponse) UnsetApiPath()

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

GetModelIdentifier

func (o *LLMResponse) GetModelIdentifier() string

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

GetModelIdentifierOk

func (o *LLMResponse) 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 *LLMResponse) SetModelIdentifier(v string)

SetModelIdentifier sets ModelIdentifier field to given value.

GetSupportedModalities

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

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

GetSupportedModalitiesOk

func (o *LLMResponse) 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 *LLMResponse) SetSupportedModalities(v []Modality)

SetSupportedModalities sets SupportedModalities field to given value.

GetCredentials

func (o *LLMResponse) GetCredentials() EndpointAuthentication

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

GetCredentialsOk

func (o *LLMResponse) 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 *LLMResponse) SetCredentials(v EndpointAuthentication)

SetCredentials sets Credentials field to given value.

HasCredentials

func (o *LLMResponse) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

SetCredentialsNil

func (o *LLMResponse) SetCredentialsNil(b bool)

SetCredentialsNil sets the value for Credentials to be an explicit nil

UnsetCredentials

func (o *LLMResponse) UnsetCredentials()

UnsetCredentials ensures that no value is present for Credentials, not even an explicit nil

GetLabels

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

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

GetLabelsOk

func (o *LLMResponse) 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 *LLMResponse) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

GetVersion

func (o *LLMResponse) GetVersion() string

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

GetVersionOk

func (o *LLMResponse) 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 *LLMResponse) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *LLMResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

SetVersionNil

func (o *LLMResponse) SetVersionNil(b bool)

SetVersionNil sets the value for Version to be an explicit nil

UnsetVersion

func (o *LLMResponse) UnsetVersion()

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

GetMonitoringEndpoint

func (o *LLMResponse) GetMonitoringEndpoint() string

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

GetMonitoringEndpointOk

func (o *LLMResponse) 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 *LLMResponse) SetMonitoringEndpoint(v string)

SetMonitoringEndpoint sets MonitoringEndpoint field to given value.

HasMonitoringEndpoint

func (o *LLMResponse) HasMonitoringEndpoint() bool

HasMonitoringEndpoint returns a boolean if a field has been set.

SetMonitoringEndpointNil

func (o *LLMResponse) SetMonitoringEndpointNil(b bool)

SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil

UnsetMonitoringEndpoint

func (o *LLMResponse) UnsetMonitoringEndpoint()

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

GetCapabilities

func (o *LLMResponse) GetCapabilities() LLMCapabilities

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

GetCapabilitiesOk

func (o *LLMResponse) 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 *LLMResponse) SetCapabilities(v LLMCapabilities)

SetCapabilities sets Capabilities field to given value.

GetDefaultSamplingParams

func (o *LLMResponse) GetDefaultSamplingParams() LLMSamplingParams

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

GetDefaultSamplingParamsOk

func (o *LLMResponse) 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 *LLMResponse) SetDefaultSamplingParams(v LLMSamplingParams)

SetDefaultSamplingParams sets DefaultSamplingParams field to given value.

HasDefaultSamplingParams

func (o *LLMResponse) HasDefaultSamplingParams() bool

HasDefaultSamplingParams returns a boolean if a field has been set.

SetDefaultSamplingParamsNil

func (o *LLMResponse) SetDefaultSamplingParamsNil(b bool)

SetDefaultSamplingParamsNil sets the value for DefaultSamplingParams to be an explicit nil

UnsetDefaultSamplingParams

func (o *LLMResponse) UnsetDefaultSamplingParams()

UnsetDefaultSamplingParams ensures that no value is present for DefaultSamplingParams, not even an explicit nil

GetMaxContextLength

func (o *LLMResponse) GetMaxContextLength() int32

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

GetMaxContextLengthOk

func (o *LLMResponse) 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 *LLMResponse) SetMaxContextLength(v int32)

SetMaxContextLength sets MaxContextLength field to given value.

HasMaxContextLength

func (o *LLMResponse) HasMaxContextLength() bool

HasMaxContextLength returns a boolean if a field has been set.

SetMaxContextLengthNil

func (o *LLMResponse) SetMaxContextLengthNil(b bool)

SetMaxContextLengthNil sets the value for MaxContextLength to be an explicit nil

UnsetMaxContextLength

func (o *LLMResponse) UnsetMaxContextLength()

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

GetClientConfig

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

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

GetClientConfigOk

func (o *LLMResponse) 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 *LLMResponse) SetClientConfig(v map[string]map[string]interface{})

SetClientConfig sets ClientConfig field to given value.

HasClientConfig

func (o *LLMResponse) HasClientConfig() bool

HasClientConfig returns a boolean if a field has been set.

GetOwnerId

func (o *LLMResponse) GetOwnerId() string

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

GetOwnerIdOk

func (o *LLMResponse) 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 *LLMResponse) SetOwnerId(v string)

SetOwnerId sets OwnerId field to given value.

GetCreatedAt

func (o *LLMResponse) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *LLMResponse) GetCreatedAtOk() (*int64, bool)

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

SetCreatedAt

func (o *LLMResponse) SetCreatedAt(v int64)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *LLMResponse) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *LLMResponse) GetUpdatedAtOk() (*int64, bool)

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

SetUpdatedAt

func (o *LLMResponse) SetUpdatedAt(v int64)

SetUpdatedAt sets UpdatedAt field to given value.

GetCreatedById

func (o *LLMResponse) GetCreatedById() string

GetCreatedById returns the CreatedById field if non-nil, zero value otherwise.

GetCreatedByIdOk

func (o *LLMResponse) GetCreatedByIdOk() (*string, bool)

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

SetCreatedById

func (o *LLMResponse) SetCreatedById(v string)

SetCreatedById sets CreatedById field to given value.

GetUpdatedById

func (o *LLMResponse) GetUpdatedById() string

GetUpdatedById returns the UpdatedById field if non-nil, zero value otherwise.

GetUpdatedByIdOk

func (o *LLMResponse) GetUpdatedByIdOk() (*string, bool)

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

SetUpdatedById

func (o *LLMResponse) SetUpdatedById(v string)

SetUpdatedById sets UpdatedById field to given value.