{% extends "base.html" %} {% block title %}Notebook β€” {{ collection_id }} β€” Document Intelligence β€” ICDEVβ„’{% endblock %} {% block content %}
CUI // SP-CTI

πŸ““ Notebook β€” {{ collection_id }}

Sources Β· Chat Β· AI Outputs β€” works in air-gap and online modes

{% if mode_info.mode == 'online' %}🌐 Online{% else %}πŸ”’ Air-Gap{% endif %} Β· {{ mode_info.provider }} ← DIC Home
{% for cap, available in mode_info.capabilities.items() %} {% if available %}βœ“{% else %}β—‹{% endif %} {{ cap.replace('_', ' ') }} {% endfor %}

πŸ“Ž Sources ({{ docs|length }})

{% if docs %} {% for doc in docs %}
{{ doc.title or doc.filename or doc.id }}
{{ doc.source_type or 'file' }} Β· {{ (doc.created_at|string)[:10] if doc.created_at else '' }}
{% endfor %} {% else %}
No documents yet.
Add a file, URL, or YouTube link above.
{% endif %}
DOCUMENT TEAM
auto-detecting…

πŸ’¬ Chat with Sources

ICDEV DIC Assistant
Ask anything about your sources. Answers are grounded with citations. {% if not mode_info.llm_available %} ⚠ No LLM provider available β€” answers use deterministic grounded search only. {% endif %}
{% for out in outputs %}
{{ {'study_guide': 'πŸ“š Study Guide', 'faq': '❓ FAQ', 'timeline': 'πŸ“… Timeline', 'audio_overview': 'πŸŽ™ Audio'}.get(out.output_type, out.output_type) }}
{{ out.provider }} Β· {{ (out.created_at|string)[:10] if out.created_at else '' }}
{% endfor %} {% if not outputs %}
Generate study guides, FAQs, timelines, and audio overviews from your sources.
{% endif %}
{% set iqe_canvas = "dic" %} {% set iqe_queries = [ {"label": "All generated outputs", "query": "foreach o in dic.generated_outputs select o.id, o.output_type, o.collection_id, o.provider, o.created_at"}, {"label": "Recent study guides", "query": "foreach o in dic.generated_outputs where o.output_type == \"study_guide\" select o.id, o.collection_id, o.provider, o.created_at"}, {"label": "All docs in collection", "query": "foreach d in dic.documents select d.doc_id, d.collection_id, d.title, d.created_at"} ] %} {% include "includes/iqe_query_widget.html" %} {% endblock %}