| Name |
Type |
Description |
Notes |
| maxAttempts |
number |
|
[optional] [default to undefined] |
| modelChoices |
Array<string> |
|
[optional] [default to undefined] |
| judgeModel |
string |
|
[optional] [default to undefined] |
| variableChoices |
Array<{ [key: string]: any; }> |
|
[optional] [default to undefined] |
| acceptanceStatements |
Array<AgentOptimizationAcceptanceStatement> |
|
[optional] [default to undefined] |
| judges |
Array<AgentOptimizationJudge> |
|
[optional] [default to undefined] |
| userInputOptions |
Array<string> |
|
[optional] [default to undefined] |
| groundTruthResponses |
Array<string> |
|
[optional] [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] |
import { AgentOptimizationPatch } from 'launchdarkly-api-typescript';
const instance: AgentOptimizationPatch = {
maxAttempts,
modelChoices,
judgeModel,
variableChoices,
acceptanceStatements,
judges,
userInputOptions,
groundTruthResponses,
metricKey,
tokenLimit,
variationKey,
label,
latencyOptimization,
tokenOptimization,
autoCommit,
};
[Back to Model list] [Back to API list] [Back to README]