{% extends "base.html" %} {% block content %}

Semantic Search

{% if not query %}

Enter a query to search across all embedded concepts.

{% elif results is defined %}

{{ results|length }} results for: {{ query }}

{% for r in results %}
{{ '%.4f'|format(r.score) }}
{{ r.title }}
{{ r.citation }} {% if r.download_url %} {% if r.source_type == 'web' or (r.download_url.startswith('http') and 'files.echo6.co' not in r.download_url) %} | Web {% else %} | PDF {% endif %} {% endif %} {% if r.knowledge_type %}| {{ r.knowledge_type }}{% endif %} {% if r.complexity %}/ {{ r.complexity }}{% endif %}
{{ r.summary }}
{% for d in r.domains %} {{ d }} {% endfor %}
{% endfor %} {% elif error %}

Search error: {{ error }}

{% endif %} {% endblock %}