diff --git a/generations/library_rag/templates/search.html b/generations/library_rag/templates/search.html index 656277b..327db1f 100644 --- a/generations/library_rag/templates/search.html +++ b/generations/library_rag/templates/search.html @@ -178,19 +178,23 @@

📚 Sections pertinentes avec passages

{% for section in results_data.sections %} -
- -
-
-

{{ section.title[:100] }}{% if section.title|length > 100 %}...{% endif %}

+
+ +
+
+ 📂 +

Section : {{ section.title[:120] }}{% if section.title|length > 120 %}...{% endif %}

+
+
âš¡ {{ section.similarity }}% similaire - {{ section.chunks_count }} passage{% if section.chunks_count > 1 %}s{% endif %} + {{ section.chunks_count }} passage{% if section.chunks_count > 1 %}s{% endif %}
{% if section.summary_text and section.summary_text != section.title and section.summary_text != section.section_path %} -

{{ section.summary_text[:200] }}{% if section.summary_text|length > 200 %}...{% endif %}

+

{{ section.summary_text[:250] }}{% if section.summary_text|length > 250 %}...{% endif %}

{% endif %} {% if section.concepts %} -
+
+ Concepts : {% for concept in section.concepts %} {{ concept }} {% endfor %} @@ -198,9 +202,9 @@ {% endif %}
- + {% if section.chunks %} -
+
{% for chunk in section.chunks %}