{% extends "library/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "knowledge" %} {% block title %}{{ document.title }} - LLeMbas{% endblock %} {% block heading %}{{ document.title }}{% endblock %} {% block library_content %}
{{ icon("chevron-right", "icon--sm") }} All documents

Details

Searched along with the contents, so a line here helps a model find it.

Kind
{{ document.kind }}
{% if document.source_url %}
Source
{{ document.source_url }}
{% endif %} {% if document.pages %}
Pages
{{ document.pages }}
{% endif %} {% if document.size_bytes %}
Size
{{ document.human_size }}
{% endif %}
Text
{{ "{:,}".format(document.extracted_text|length) }} characters {%- if document.truncated %} · truncated{% endif %}
{% if document.extraction_error %}
{{ icon("warning", "alert__icon") }} {{ document.extraction_error }}
{% endif %}
{% include "library/_share.html" %} {% if is_owner %}
{% if document.stored_name %} Download {% endif %}
{% endif %}
{% if document.is_image and document.stored_name %}

Preview

{{ document.title }}
{% elif document.extracted_text %}

Text

What a model is given when it reads this.

{{ document.extracted_text }}
{% endif %} {% endblock %}