Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.98 KB

ModelConfigPatch.md

File metadata and controls

24 lines (16 loc) · 1.98 KB

ModelConfigPatch

Fields to update. Omitted fields keep their current values. params, customParams, and tags replace the current values. Global model configs cannot be updated.

Properties

Name Type Description Notes
id String Immutable provider model identifier. To use a different model identifier, create a new model config. [optional]
provider String Immutable model provider. To use a different provider, create a new model config. [optional]
name String Human-readable name of the model [optional]
costPerInputToken Double Cost per input token in USD [optional]
costPerOutputToken Double Cost per output token in USD [optional]
costPerCachedInputToken Double Cost per cached input token in USD [optional]
params Object Freeform JSON object. LaunchDarkly does not validate the keys. In a model config, `params` and `customParams` hold parameters that the provider's API accepts, for example `{"temperature": 0.7, "maxTokens": 4096}`. [optional]
customParams Object Freeform JSON object. LaunchDarkly does not validate the keys. In a model config, `params` and `customParams` hold parameters that the provider's API accepts, for example `{"temperature": 0.7, "maxTokens": 4096}`. [optional]
tags List<String> Tags for the model config. Replaces the current tags. [optional]
maintainerId String The member ID of the new maintainer. Set `maintainerId` or `maintainerTeamKey`, not both. An empty string removes the maintainer. [optional]
maintainerTeamKey String The key of the team to set as the new maintainer. Set `maintainerId` or `maintainerTeamKey`, not both. [optional]