{% extends 'base.html' %} {% from "macros.html" import render_field, render_included_field %} {% block title %}Tenant Overview{% endblock %} {% block content_title %}Tenant Overview{% endblock %} {% block content_description %}Tenant information{% endblock %} {% block content %}
{{ form.hidden_tag() }} {% set main_fields = ['name', 'website', 'default_language', 'allowed_languages'] %} {% for field in form %} {{ render_included_field(field, disabled_fields=main_fields, include_fields=main_fields) }} {% endfor %}
{% set model_fields = ['embedding_model', 'llm_model'] %} {% for field in form %} {{ render_included_field(field, disabled_fields=model_fields, include_fields=model_fields) }} {% endfor %}
{% set license_fields = ['license_start_date', 'license_end_date', 'allowed_monthly_interactions', ] %} {% for field in form %} {{ render_included_field(field, disabled_fields=license_fields, include_fields=license_fields) }} {% endfor %}
{% set html_fields = ['html_tags', 'html_end_tags', 'html_included_elements', 'html_excluded_elements', 'html_excluded_classes', 'min_chunk_size', 'max_chunk_size'] %} {% for field in form %} {{ render_included_field(field, disabled_fields=html_fields, include_fields=html_fields) }} {% endfor %}
{% set es_fields = ['es_k', 'es_similarity_threshold', ] %} {% for field in form %} {{ render_included_field(field, disabled_fields=es_fields, include_fields=es_fields) }} {% endfor %}
{% set tuning_fields = ['embed_tuning', 'rag_tuning', ] %} {% for field in form %} {{ render_included_field(field, disabled_fields=tuning_fields, include_fields=tuning_fields) }} {% endfor %}
{% endblock %} {% block content_footer %} {% endblock %} {% block scripts %} {% endblock %}