Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 2.02 KB

ModelConfigPost.md

File metadata and controls

25 lines (17 loc) · 2.02 KB

ModelConfigPost

Properties

Name Type Description Notes
name String Human readable name of the model
key String Unique key for the model config in the project, in the format `Provider.model-id`. Config variations reject other formats. Keys of global catalog models are reserved.
id String Model ID that the provider's API uses. Cannot be changed after creation.
maintainerId String The member ID of the maintainer. Not applied on create. To set the maintainer, update the model config after you create it. [optional]
maintainerTeamKey String The key of the team that maintains the model config. Not applied on create. To set the maintainer, update the model config after you create it. [optional]
icon String Icon for the model [optional]
provider String Provider for the model. Use the provider prefix of `key`. Cannot be changed after creation. [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 [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]