Skip to content

Latest commit

 

History

History
62 lines (55 loc) · 2.38 KB

File metadata and controls

62 lines (55 loc) · 2.38 KB

AgentOptimization

Properties

Name Type Description Notes
_access AiConfigsAccess [optional] [default to undefined]
_links ParentAndSelfLinks [optional] [default to undefined]
id string [default to undefined]
key string [default to undefined]
aiConfigKey string [default to undefined]
maxAttempts number [default to undefined]
modelChoices Array<string> [default to undefined]
judgeModel string [default to undefined]
variableChoices Array<{ [key: string]: any; }> [default to undefined]
acceptanceStatements Array<AgentOptimizationAcceptanceStatement> [default to undefined]
judges Array<AgentOptimizationJudge> [default to undefined]
userInputOptions Array<string> [default to undefined]
groundTruthResponses Array<string> [default to undefined]
metricKey string [optional] [default to undefined]
tokenLimit number [optional] [default to undefined]
variationKey string [optional] [default to undefined]
label string [optional] [default to undefined]
latencyOptimization boolean [optional] [default to undefined]
tokenOptimization boolean [optional] [default to undefined]
autoCommit boolean [optional] [default to undefined]
version number [default to undefined]
createdAt number [default to undefined]

Example

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

const instance: AgentOptimization = {
    _access,
    _links,
    id,
    key,
    aiConfigKey,
    maxAttempts,
    modelChoices,
    judgeModel,
    variableChoices,
    acceptanceStatements,
    judges,
    userInputOptions,
    groundTruthResponses,
    metricKey,
    tokenLimit,
    variationKey,
    label,
    latencyOptimization,
    tokenOptimization,
    autoCommit,
    version,
    createdAt,
};

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