| page_title | launchdarkly_ai_config_variation Data Source - launchdarkly |
|---|---|
| subcategory | |
| description | Provides a LaunchDarkly AI Config variation data source. This data source allows you to retrieve AI Config variation information from your LaunchDarkly project. |
Provides a LaunchDarkly AI Config variation data source.
This data source allows you to retrieve AI Config variation information from your LaunchDarkly project.
data "launchdarkly_ai_config_variation" "example" {
project_key = "example-project"
config_key = "customer-assistant"
key = "default"
}config_key(String) The AI Config key that this variation belongs to.key(String) The variation's unique key.project_key(String) The project key.
creation_date(Number) The creation timestamp of the variation.description(String) The variation's description (used in agent mode).id(String) The ID of this resource.instructions(String) The variation's instructions (used in agent mode).messages(List of Object) A list of messages for completion mode. Each message has aroleandcontent. (see below for nested schema)model(String) A JSON string representing the inline model configuration for the variation. Conflicts withmodel_config_key.model_config_key(String) The key of a model config resource to use for this variation. Conflicts withmodel.name(String) The variation's human-readable name.state(String) The state of the variation. Must bearchivedorpublished.tool_keys(Set of String) A set of AI tool keys to associate with this variation.variation_id(String) The internal ID of the variation.version(Number) The version number of the variation.
Read-Only:
content(String)role(String)