llm_text content provider

blackstork/builtin, v0.4.2

The llm_text content provider is built into the BlackStork engine. It is available out-of-the-box and requires no installation or dependency declaration.

Configuration

This content provider accepts the following configuration arguments within a config content llm_text block:

config content llm_text {
  # LLM vendor name
  #
  # Required string.
  # Must be one of: "google", "openai", "anthropic", "ollama", "xai"
  #
  # For example:
  vendor = "google"

  # Model name
  #
  # Required string.
  #
  # For example:
  model = "googleai/gemini-3-flash"

  # Required string.
  #
  # For example:
  api_key = "key_value"

  # Optional string.
  # Default value:
  system_prompt = null
}

Usage

This content provider accepts the following arguments within a content llm_text block:

content llm_text {
  # Required string.
  #
  # For example:
  prompt = "Summarize the following text: {{.vars.text_to_summarize}}"
}