Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.64 KB

File metadata and controls

40 lines (33 loc) · 1.64 KB

ModelConfigPatch

Properties

Name Type Description Notes
id string Immutable provider model identifier. To use a different model identifier, create a new model config. [optional] [default to undefined]
provider string Immutable model provider. To use a different provider, create a new model config. [optional] [default to undefined]
name string Human-readable name of the model [optional] [default to undefined]
costPerInputToken number Cost per input token in USD [optional] [default to undefined]
costPerOutputToken number Cost per output token in USD [optional] [default to undefined]
costPerCachedInputToken number Cost per cached input token in USD [optional] [default to undefined]
params object [optional] [default to undefined]
customParams object [optional] [default to undefined]
tags Array<string> [optional] [default to undefined]
maintainerId string [optional] [default to undefined]
maintainerTeamKey string [optional] [default to undefined]

Example

import { ModelConfigPatch } from 'launchdarkly-api-typescript';

const instance: ModelConfigPatch = {
    id,
    provider,
    name,
    costPerInputToken,
    costPerOutputToken,
    costPerCachedInputToken,
    params,
    customParams,
    tags,
    maintainerId,
    maintainerTeamKey,
};

[Back to Model list] [Back to API list] [Back to README]