LLMResponse Model
LLMResponse Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| LlmId | string | Unique identifier of the LLM | |
| DisplayName | string | User-facing name of the LLM | |
| Description | Pointer to NullableString | Description of the LLM | [optional] |
| ProviderType | LLMProviderType | ||
| EndpointUrl | string | API endpoint URL | |
| ApiPath | string | API path for chat/completions request | |
| ModelIdentifier | string | Model identifier | |
| SupportedModalities | Pointer to []Modality | Supported content modalities | [optional] |
| Labels | Pointer to map[string]string | User-defined labels for categorization | [optional] |
| Version | Pointer to NullableString | Version information | [optional] |
| MonitoringEndpoint | Pointer to NullableString | Monitoring endpoint URL | [optional] |
| Capabilities | LLMCapabilities | ||
| DefaultSamplingParams | Pointer to LLMSamplingParams | [optional] | |
| MaxContextLength | Pointer to NullableInt32 | Maximum context window size in tokens | [optional] |
| ClientConfig | Pointer to map[string]map[string]interface | Provider-specific client configuration | [optional] |
| OwnerId | string | Owner ID of the LLM | |
| CreatedAt | int64 | Creation timestamp (milliseconds since epoch) | |
| UpdatedAt | int64 | Last update timestamp (milliseconds since epoch) | |
| CreatedById | string | ID of the user who created the LLM | |
| UpdatedById | string | ID of the user who last updated the LLM |
Methods
NewLLMResponse
func NewLLMResponse(llmId string, displayName string, providerType LLMProviderType, endpointUrl string, apiPath string, modelIdentifier 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.
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.
HasSupportedModalities
func (o *LLMResponse) HasSupportedModalities() bool
HasSupportedModalities returns a boolean if a field has been set.
SetSupportedModalitiesNil
func (o *LLMResponse) SetSupportedModalitiesNil(b bool)
SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil
UnsetSupportedModalities
func (o *LLMResponse) UnsetSupportedModalities()
UnsetSupportedModalities ensures that no value is present for SupportedModalities, 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.
HasLabels
func (o *LLMResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
SetLabelsNil
func (o *LLMResponse) SetLabelsNil(b bool)
SetLabelsNil sets the value for Labels to be an explicit nil
UnsetLabels
func (o *LLMResponse) UnsetLabels()
UnsetLabels ensures that no value is present for Labels, not even an explicit nil
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.
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.
SetClientConfigNil
func (o *LLMResponse) SetClientConfigNil(b bool)
SetClientConfigNil sets the value for ClientConfig to be an explicit nil
UnsetClientConfig
func (o *LLMResponse) UnsetClientConfig()
UnsetClientConfig ensures that no value is present for ClientConfig, not even an explicit nil
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.