| page_title | launchdarkly_model_config Data Source - launchdarkly |
|---|---|
| subcategory | |
| description | Provides a LaunchDarkly model config data source. This data source allows you to retrieve AI model configuration information from your LaunchDarkly project. |
Provides a LaunchDarkly model config data source.
This data source allows you to retrieve AI model configuration information from your LaunchDarkly project.
data "launchdarkly_model_config" "example" {
key = "gpt-4-turbo"
project_key = "example-project"
}key(String) The model config's unique key.project_key(String) The project key.
cost_per_input_token(Number) The cost per input token for the model.cost_per_output_token(Number) The cost per output token for the model.custom_parameters(String) A JSON string representing custom parameters for the model config.global(Boolean) Whether the model config is available globally.icon(String) The icon for the model config.id(String) The ID of this resource.model_id(String) The model identifier (e.g.gpt-4,claude-3).model_provider(String) The provider name for the model config (e.g.openai,anthropic).name(String) The model config's human-readable name.params(String) A JSON string representing the model parameters (e.g.{"temperature": 0.7, "maxTokens": 4096}).tags(Set of String) Tags associated with your resource.version(Number) The version of the model config.