1 Resources suggestions_config
Forgejo Actions edited this page 2026-11-26 06:34:52 +00:00

openwebui_suggestions_config (Resource)

Manages default prompt suggestions shown in Open WebUI.

~> Note: The suggestions API does not expose a read endpoint. Terraform preserves state from the last apply and cannot detect out-of-band changes.

Example Usage

resource "openwebui_suggestions_config" "example" {
  suggestions = [
    {
      title   = ["Explain this", "in simple terms"]
      content = "Explain the following concept in simple terms that a non-expert could understand:"
    },
    {
      title   = ["Summarize"]
      content = "Summarize the following in 3 bullet points:"
    },
  ]
}

Schema

Required

Read-Only

  • id (String) Identifier of this singleton resource. Always suggestions.

Nested Schema for suggestions

Required:

  • content (String) Full prompt text sent when the user selects this suggestion.
  • title (List of String) Display title lines for the suggestion (list of strings).

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# The prompt suggestions are one configuration block, so this resource is a
# singleton. Import it under its fixed id. The suggestions API serves no read
# route, so the import adopts the id alone and the next apply writes the list
# from the configuration.
terraform import openwebui_suggestions_config.example suggestions