| page_title | launchdarkly_ai_config Resource - launchdarkly |
|---|---|
| subcategory | |
| description | Provides a LaunchDarkly AI Config resource. This resource allows you to create and manage AI Configurations within your LaunchDarkly project. |
Provides a LaunchDarkly AI Config resource.
This resource allows you to create and manage AI Configurations within your LaunchDarkly project.
resource "launchdarkly_ai_config" "example" {
project_key = launchdarkly_project.example.key
key = "customer-assistant"
name = "Customer Assistant"
description = "AI assistant for customer support"
mode = "completion"
tags = ["support"]
}key(String) The AI Config's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.name(String) The AI Config's human-readable name.project_key(String) The project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
description(String) The AI Config's description.evaluation_metric_key(String) The key of the evaluation metric associated with this AI Config.is_inverted(Boolean) Whether the evaluation metric is inverted.maintainer_id(String) The member ID of the maintainer for this AI Config. Conflicts withmaintainer_team_key.maintainer_team_key(String) The team key of the maintainer team for this AI Config. Conflicts withmaintainer_id.mode(String) The AI Config's mode. Must becompletion,agent, orjudge. Defaults tocompletion. A change in this field will force the destruction of the existing resource and the creation of a new one.tags(Set of String) Tags associated with your resource.
creation_date(Number) A timestamp of when the AI Config was created.id(String) The ID of this resource.variations(List of Object) A list of variation summaries for this AI Config. (see below for nested schema)version(Number) The version of the AI Config.
Read-Only:
key(String)name(String)variation_id(String)
Import is supported using the following syntax:
# LaunchDarkly AI Configs can be imported using the format `project_key/config_key`
terraform import launchdarkly_ai_config.example example-project/customer-assistant