{{ k }}: {{ actual_value }}{% if is_default %}*{% else %}{% set ns_ctx.has_custom = true %}{% endif %}
{% endif %} {% endfor %}* default value
{% else %}Using pipeline defaults.
{% endif %}{{ k }}: {{ actual_value }}{% if is_default %}*{% else %}{% set ns_ctx.has_custom = true %}{% endif %}
{% endif %} {% endfor %}* default value
{% else %}Using pipeline defaults.
{% endif %}{{ result.themes|length if result.themes else 0 }} themes
{{ result.codes|length if result.codes else 0 }} codes
{{ pipeline.config.model_name }}
{{ pipeline.config.document_paths|length }} documents
{{ display_description }}
{% endif %}No narrative sections were generated by this pipeline.
{% endif %}Click a theme to expand and see related codes and quotes.
{% if themes_with_codes %} {% for theme in themes_with_codes %} {% set theme_idx = loop.index0 %}{{ theme.description }}
{% if theme.related_codes %}No themes were generated.
{% endif %} {% else %}Themes node has no output.
{% endif %} {% endif %}This matrix shows how similar each theme is to every other theme. Click a cell to compare two themes.
| {% for label in self_similarity.short_labels[:-1] %} | {{ label }} | {% endfor %}|
|---|---|---|
| {{ self_similarity.short_labels[row_idx] }}: {{ self_similarity.themes[row_idx][:30] }}{% if self_similarity.themes[row_idx]|length > 30 %}...{% endif %} | {% for col_idx in range(self_similarity.n_themes - 1) %} {% if col_idx < row_idx %}{% else %} | {% endif %} {% endfor %} |
No codes available.
{% endif %}Shows how quotes were matched against source documents using BM25 lexical search and embedding similarity. {% if verification_data.flagged > 0 %} {{ verification_data.flagged }} quotes flagged for review. {% endif %}
| Quote | Code | BM25 | Similarity | LLM |
|---|---|---|---|---|
|
"{{ match.quote[:80] }}{% if match.quote|length > 80 %}...{% endif %}"
|
{% if match.code_name %} {{ match.code_name }} {% else %} - {% endif %} | {{ "%.1f"|format(match.bm25_score) }} | {% if match.calibrated_similarity is not none %} {{ "%.2f"|format(match.calibrated_similarity) }} {% else %} {{ "%.2f"|format(match.cosine_similarity) }} {% endif %} | {% if match.llm_is_contained is true %} OK {% elif match.llm_is_contained is false %} Not Found {% else %} - {% endif %} |
|
Full quote:
{% if match.span_text %}
"{{ match.quote }}"
Found in context:
{% endif %}
...{{ match.context_before }}{{ match.span_text }}{{ match.context_after }}...
BM25: {{ "%.1f"|format(match.bm25_score) }}
Ratio: {{ "%.1f"|format(match.bm25_ratio) }}
{% if match.calibrated_similarity is not none %}
Calibrated: {{ "%.3f"|format(match.calibrated_similarity) }}
{% endif %}
Cosine: {{ "%.3f"|format(match.cosine_similarity) }}
LLM explanation: {{ match.llm_explanation }}
{% endif %}
{% if match.source_doc %}
Source: {{ match.source_doc }}
{% endif %}
|
||||
{{ pipeline.config.export_metadata.command }}
{{ pipeline.name }}{{ pipeline.config.model_name }}{{ pipeline.config.input_source }}{% endif %}