Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.71 KB

File metadata and controls

46 lines (39 loc) · 1.71 KB

ModelConfig

Properties

Name Type Description Notes
_access AiConfigsAccess [optional] [default to undefined]
name string Human readable name of the model [default to undefined]
key string Unique key for the model [default to undefined]
id string Identifier for the model, for use with third party providers [default to undefined]
icon string Icon for the model [optional] [default to undefined]
provider string Provider for the model [optional] [default to undefined]
global boolean Whether the model is global [default to undefined]
params object [optional] [default to undefined]
customParams object [optional] [default to undefined]
tags Array<string> [default to undefined]
version number [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]
isRestricted boolean Whether the model is restricted [default to undefined]

Example

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

const instance: ModelConfig = {
    _access,
    name,
    key,
    id,
    icon,
    provider,
    global,
    params,
    customParams,
    tags,
    version,
    costPerInputToken,
    costPerOutputToken,
    isRestricted,
};

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