GoodMem
ReferenceClient SDKsPython SDKRequests

LLMUpdateRequest

LLMUpdateRequest documentation for Python SDK

Request body for updating an existing LLM. All fields are optional - only specified fields will be updated.

Properties

NameTypeDescriptionNotes
validateobject[optional]
display_namestrUpdate display name[optional]
descriptionstrUpdate description[optional]
endpoint_urlstrUpdate endpoint URL (must be valid HTTP/HTTPS URL)[optional]
api_pathstrUpdate API path[optional]
model_identifierstrUpdate model identifier (cannot be empty)[optional]
supported_modalitiesList[Modality]Update supported modalities (if array contains ≥1 elements, replaces stored set; if empty or omitted, no change)[optional]
credentialsEndpointAuthentication[optional]
versionstrUpdate version information[optional]
monitoring_endpointstrUpdate monitoring endpoint URL[optional]
capabilitiesLLMCapabilities[optional]
default_sampling_paramsLLMSamplingParams[optional]
max_context_lengthintUpdate maximum context window size in tokens[optional]
client_configDict[str, object]Update provider-specific client configuration (replaces entire config; no merging)[optional]
replace_labelsDict[str, str]Replace all existing labels with this set. Empty map clears all labels. Cannot be used with mergeLabels.[optional]
merge_labelsDict[str, str]Merge with existing labels: upserts with overwrite. Labels not mentioned are preserved. Cannot be used with replaceLabels.[optional]

Example

from goodmem_client.models.llm_update_request import LLMUpdateRequest

# TODO update the JSON string below
json = "{}"
# create an instance of LLMUpdateRequest from a JSON string
llm_update_request_instance = LLMUpdateRequest.from_json(json)
# print the JSON string representation of the object
print(LLMUpdateRequest.to_json())

# convert the object into a dict
llm_update_request_dict = llm_update_request_instance.to_dict()
# create an instance of LLMUpdateRequest from a dict
llm_update_request_from_dict = LLMUpdateRequest.from_dict(llm_update_request_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page