{% extends "base.html" %} {% from "_icons.html" import icon %} {% block title %}{{ doc.filename }}{% endblock %} {% block subnav %}{% include "_doctabs.html" %}{% endblock %} {% block content %}

{{ icon('sparkles') }}Extract text

Runs in the background. Pages already extracted with the same engine, model and prompt are skipped.

{% set picker_id = 'ex' %}{% include "_llm_picker.html" %}

{{ icon('clock') }}Jobs

No jobs started for this document yet.

{{ icon('layers') }}Extracted text sources

Each engine, model and prompt you run becomes a source you can read, export or compare.

{% for s in sources %} {% endfor %}
SourcePagesTokens in / out
{{ s.label }} {{ s.page_count }}/{{ doc.page_count }} {% if s.kind == 'llm' %}{{ "{:,}".format(s.input_tokens) }} / {{ "{:,}".format(s.output_tokens) }}{% else %}–{% endif %} {% if s.page_count %} {{ icon('book') }}Read {% else %}not extracted{% endif %}
{% if doc.metadata %}
{{ icon('info') }}File metadata
{% for k, v in doc.metadata.items() %}
{{ k }}
{{ v }}
{% endfor %}
{% endif %}

{{ icon('file') }}Pages

scan no text layer OCR Tesseract done LLM transcribed

Loading pages…

{% endblock %} {% block scripts %}{% endblock %}