{% extends "admin/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "data-groups" %} {% block title %}{{ t("Data groups") }} - {{ brand.name }}{% endblock %} {% block heading %}{{ t("Data groups") }}{% endblock %} {% block admin_content %}

{{ t("A data group keeps one provider's models away from the data another provider's models have been given. Every connection is in one group. Its models read only that group's memories, notes, skills, knowledge, reports and personalities, and a chat stays in the group it was started in.") }}

{% if saved %}
{{ icon("check", "icon--sm") }} {{ t("Data group deleted.") if saved == "deleted" else t("Settings saved.") }}
{% endif %}

{{ t("Instance groups") }} {{ groups|length }}

{% for group in groups %}
{{ group.name }} {% if group.description %} {{ group.description }} {% endif %}
{% if group.is_default %}{{ t("default") }}{% endif %} {{ t("%(n)s connections", n=connections[group.id]) }} {{ t("%(n)s chats", n=counts[group.id]["chats"]) }} {% if group.embedding_model_id %}{{ t("own embedder") }}{% endif %} {% if group.review_model_id %}{{ t("own reviewer") }}{% endif %}
{% endfor %}

{{ t("A new group holds nothing and reads nothing until a connection is put into it. Nothing moves on its own.") }}

{# Personal groups are somebody's own arrangement of their own data -- made by a person holding "Manage their own data groups" -- and are listed so an administrator can see they exist, not so they can be rearranged from here. #} {% if personal %}

{{ t("Personal groups") }} {{ personal|length }}

{% for group in personal %}
{{ group.name }} {{ owners[group.owner_id].email if group.owner_id in owners else "" }}
{{ t("%(n)s chats", n=counts[group.id]["chats"]) }}
{% endfor %}
{% endif %} {% endblock %}