{% extends "base.html" %} {% block content %}

Knowledge Base

{{ total }} entries ยท {{ by_cat|length }} categories
Knowledge ({{ total }}) Instructions ({{ inst_count }})
{% if tab=='instructions' %}
{% for row in instructions %} {% else %} {% endfor %}
TopicAliasesSizeUpdated
{{ row.topic }} {{ row.aliases|join(', ') }} {{ row.size }}b {{ row.updated_at.strftime('%Y-%m-%d') }}
{{ row.instructions }}
No instructions stored.
{% else %}
{% for row in rows %}
{{ row.category }} {% if row.sim is not none %} sim {{ '%.3f'|format(row.sim) }} {% endif %} {{ row.id[:8] }} [{{ row.keywords|join(', ') }}] {{ row.created_at.strftime('%Y-%m-%d') }}
{{ row.content }}
{% else %}
No entries.
{% endfor %}
{% endif %} {% endblock %}