Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.78 KB

File metadata and controls

44 lines (35 loc) · 1.78 KB

AIConfig

Properties

Name Type Description Notes
access AiConfigsAccess [optional]
links ParentAndSelfLinks [optional]
description str
key str
maintainer AIConfigMaintainer [optional]
mode str [optional] [default to 'completion']
name str
tags List[str]
version int
variations List[AIConfigVariation]
created_at int
updated_at int
evaluation_metric_key str Evaluation metric key for this AI Config [optional]
evaluation_metric_keys List[str] List of evaluation metric keys for this AI Config [optional]
is_inverted bool Whether the evaluation metric is inverted, meaning a lower value is better if set as true [optional]
dependencies List[AIConfigDependency] Resources that depend on this AI Config, grouped by type [optional]

Example

from launchdarkly_api.models.ai_config import AIConfig

# TODO update the JSON string below
json = "{}"
# create an instance of AIConfig from a JSON string
ai_config_instance = AIConfig.from_json(json)
# print the JSON string representation of the object
print(AIConfig.to_json())

# convert the object into a dict
ai_config_dict = ai_config_instance.to_dict()
# create an instance of AIConfig from a dict
ai_config_from_dict = AIConfig.from_dict(ai_config_dict)

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