{{/* InfluxDB Version Detector Modal Trigger Shortcode Usage: {{< influxdb-version-detector >}} Usage with Ask AI integration: {{< influxdb-version-detector context="grafana" ai_instruction="Help me use [context] with [influxdb_version]" >}} This shortcode creates a button that opens a modal with the InfluxDB version detector component. The component helps users identify which InfluxDB product they're using through a guided questionnaire. Parameters: - context: Optional context for Ask AI integration (e.g., "grafana") - ai_instruction: Optional instruction template for Ask AI with placeholders [context] and [influxdb_version] */}} {{ $context := .Get "context" }} {{ $aiInstruction := .Get "ai_instruction" }}

Identify your InfluxDB version

If you are unsure which InfluxDB product you are using, use our interactive version detector to help identify it:

{{ if $context }} Detect my InfluxDB version {{ else }} Detect my InfluxDB version {{ end }}

{{ if and $context $aiInstruction }} {{ end }}