diff --git a/generations/library_rag/templates/search.html b/generations/library_rag/templates/search.html index 327db1f..8a9e1b7 100644 --- a/generations/library_rag/templates/search.html +++ b/generations/library_rag/templates/search.html @@ -181,11 +181,33 @@
-
- 📂 -

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

+ + {% if section.chunks and section.chunks[0].work %} +
+ {% if section.chunks[0].work.author %} + {{ section.chunks[0].work.author }} + {% endif %} + {% if section.chunks[0].work.title %} + {{ section.chunks[0].work.title }} + {% endif %}
-
+ {% endif %} + + +
+ 📂 +

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

+
+ + + {% if section.chunks and section.chunks[0].chapterTitle %} +
+ 🗂️ {{ section.chunks[0].chapterTitle }} +
+ {% endif %} + + +
⚡ {{ section.similarity }}% similaire {{ section.chunks_count }} passage{% if section.chunks_count > 1 %}s{% endif %}