Back to Onyx

generated by https://github.com/hashicorp/terraform-plugin-docs

terraform-provider-onyx/docs/data-sources/llm_providers.md

4.6.0-cloud.01.6 KB
Original Source

onyx_llm_providers (Data Source)

All configured LLM providers plus the deployment default models. Secret fields (api_key, custom_config) are not exposed.

Example Usage

terraform
data "onyx_llm_providers" "all" {}

output "default_model" {
  value = data.onyx_llm_providers.all.default_text
}
<!-- schema generated by tfplugindocs -->

Schema

Read-Only

<a id="nestedatt--default_chat_naming"></a>

Nested Schema for default_chat_naming

Read-Only:

  • model_name (String)
  • provider_id (String)

<a id="nestedatt--default_text"></a>

Nested Schema for default_text

Read-Only:

  • model_name (String)
  • provider_id (String)

<a id="nestedatt--default_vision"></a>

Nested Schema for default_vision

Read-Only:

  • model_name (String)
  • provider_id (String)

<a id="nestedatt--providers"></a>

Nested Schema for providers

Read-Only:

  • api_base (String)
  • api_version (String)
  • deployment_name (String)
  • id (String)
  • is_auto_mode (Boolean)
  • is_public (Boolean)
  • model_names (Set of String)
  • name (String)
  • provider_type (String)