{% extends "base.html" %} {% block title %}Settings{% endblock %} {% block content %}

Current Configuration

  • Librarian Mode {{ config.librarian_mode }}
  • Embedding Provider {{ config.embedding_provider }}
  • Embedding Model {{ config.embedding_model }}
  • Default Token Budget {{ config.default_token_budget }}
  • Default Chunk Size {{ config.default_chunk_size }}

Data Storage

  • Database Path {{ db_path }}
  • Total Contexts {{ stats.total_contexts }}
  • Contexts with Embeddings {{ stats.contexts_with_embeddings }}
  • Total Audit Entries {{ stats.total_audit_entries }}

Librarian Rules

Rules are pattern-action pairs that boost or penalize context types based on task patterns.

{% if rules %}
{% for rule in rules %} {% endfor %}
Pattern Boost Types Boost Tags Weight
{{ rule.pattern }} {% for t in rule.boost_types %} {{ t }} {% endfor %} {% for tag in rule.boost_tags %} {{ tag }} {% endfor %} {{ rule.weight }}
{% else %}

No custom rules configured. Using default rules.

{% endif %}

API Endpoints

Export / Import

Export your contexts for backup or import into another instance.

Export All Contexts
{% endblock %}