{# WA1: answer fragment — error | prose + results table + show-cypher. #} {% if error %}

{{ error }}

{% else %} {% if result.prose %}
{{ result.prose }}
{% else %}

No summary was generated.

{% endif %} {% set rows = result.rows %} {% include "ask/_table.html" %} {% if result.cypher %}
Show Cypher
{{ result.cypher }}
{# WA2: editable Cypher + re-run (B3-guarded, read-only). #}
{% endif %} {# WA3: save the Q&A to the Obsidian Connections folder. The full answer is embedded as one JSON string so /ask/save never re-runs the pipeline. Single-quoted value attr because tojson emits double-quotes. #}
{% endif %}