Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.92 KB

File metadata and controls

55 lines (42 loc) · 1.92 KB
page_title launchdarkly_ai_config Data Source - launchdarkly
subcategory
description Provides a LaunchDarkly AI config data source. This data source allows you to retrieve AI configuration information from your LaunchDarkly project.

launchdarkly_ai_config (Data Source)

Provides a LaunchDarkly AI config data source.

This data source allows you to retrieve AI configuration information from your LaunchDarkly project.

Example Usage

data "launchdarkly_ai_config" "example" {
  key         = "customer-assistant"
  project_key = "example-project"
}

Schema

Required

  • key (String) The AI config's unique key.
  • project_key (String) The project key.

Read-Only

  • creation_date (Number) A timestamp of when the AI config was created.
  • description (String) The AI config's description.
  • evaluation_metric_key (String) The key of the evaluation metric associated with this AI config.
  • id (String) The ID of this resource.
  • is_inverted (Boolean) Whether the evaluation metric is inverted.
  • maintainer_id (String) The member ID of the maintainer for this AI config. Conflicts with maintainer_team_key.
  • maintainer_team_key (String) The team key of the maintainer team for this AI config. Conflicts with maintainer_id.
  • mode (String) The AI config's mode. Must be either completion or agent. Defaults to completion.
  • name (String) The AI config's human-readable name.
  • tags (Set of String) Tags associated with your 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.

Nested Schema for variations

Read-Only:

  • key (String)
  • name (String)
  • variation_id (String)