{% from "_macros.html" import date, trust, flagged, entity_link, facts_table %} {% if result is none %}

Search your files, mails, chats and contacts. Tier 0 matches words, not meaning: try synonyms, another language, a name, or a date range.

{% else %} {{ q }} · graph-me {% for person in result.facts %}

{{ entity_link(person.entity) }} {{ person.entity.kind }}

{{ facts_table(person.facts) }}
{% endfor %} {% if not result.answer_items and not result.facts %}

Nothing found for {{ q }}. Try other words, another language, a person's name, or no filters.

{% endif %} {% for it in result.answer_items %}

{{ it.title or "(untitled)" }} {{ flagged(it) }}

{{ it.kind }} {{ it.source }} · {{ date(it.date) }} · {{ trust(it.trust) }} {% if it.tier %}tier {{ it.tier }}{% endif %} {% if it.get("from") %}· from {{ it.from }}{% endif %} {% if it.get("to") %}· to {{ it.to|join(", ") }}{% endif %}

{% if it.path %}

{{ it.path }}

{% endif %}

{{ it.snippet|squeeze }}

{% for o in it.get("origin", []) %}

📎 came with {{ o.title or "(no subject)" }}{% if o.get("from") %} from {{ o.from }}{% endif %}, {{ date(o.date) }}

{% endfor %} {% for c in it.get("saved_as", []) %}

💾 saved as {{ c.path }}

{% endfor %} {% if it.get("attachments") %}

attachments: {{ it.attachments|map(attribute="filename")|join(", ") }}

{% endif %} {% if it.get("redacted") %}

redacted: {{ it.redacted|join(", ") }} (reveal with graph-me query --reveal in a terminal)

{% endif %}
{% endfor %} {% if result.truncated %}

More results were cut to fit the context budget.

{% endif %} {% endif %}