LaunchDarklyApi::AgentOptimizationPost
Name
Type
Description
Notes
key
String
ai_config_key
String
max_attempts
Integer
model_choices
Array<String>
[optional]
judge_model
String
variable_choices
Array<Hash<String, Object>>
[optional]
acceptance_statements
Array<AgentOptimizationAcceptanceStatement>
[optional]
judges
Array<AgentOptimizationJudge>
[optional]
user_input_options
Array<String>
[optional]
ground_truth_responses
Array<String>
[optional]
metric_key
String
[optional]
token_limit
Integer
[optional]
variation_key
String
[optional]
label
String
[optional]
latency_optimization
Boolean
[optional]
token_optimization
Boolean
[optional]
auto_commit
Boolean
[optional]
require 'launchdarkly_api'
instance = LaunchDarklyApi ::AgentOptimizationPost . new (
key : null ,
ai_config_key : null ,
max_attempts : null ,
model_choices : null ,
judge_model : null ,
variable_choices : null ,
acceptance_statements : null ,
judges : null ,
user_input_options : null ,
ground_truth_responses : null ,
metric_key : null ,
token_limit : null ,
variation_key : null ,
label : null ,
latency_optimization : null ,
token_optimization : null ,
auto_commit : null
)