Improving chat functionality significantly throughout the application.
This commit is contained in:
31
eveai_app/templates/document/library_operations.html
Normal file
31
eveai_app/templates/document/library_operations.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Library Operations{% endblock %}
|
||||
|
||||
{% block content_title %}Library Operations{% endblock %}
|
||||
{% block content_description %}Perform operations on the entire library of documents.{% endblock %}
|
||||
{% block content_class %}<div class="col-xl-12 col-lg-5 col-md-7 mx-auto"></div>{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<form method="POST" action="{{ url_for('document_bp.handle_library_selection') }}">
|
||||
<div class="form-group mt-3">
|
||||
<h2>Re-Embed Latest Versions</h2>
|
||||
<p>This functionality will re-apply embeddings on the latest versions of all documents in the library.
|
||||
This is useful only while tuning the embedding parameters, or when changing embedding algorithms.
|
||||
As it is an expensive operation and highly impacts the performance of the system in future use,
|
||||
use it with caution!
|
||||
</p>
|
||||
<button type="submit" name="action" value="re_embed_latest_versions" class="btn btn-danger">Re-embed Latest Versions (expensive)</button>
|
||||
<h2>Refresh all documents</h2>
|
||||
<p>This operation will create new versions of all documents in the library with a URL. Documents that were uploaded directly,
|
||||
cannot be automatically refreshed. This is an expensive operation, and impacts the performance of the system in future use.
|
||||
Please use it with caution!
|
||||
</p>
|
||||
<button type="submit" name="action" value="refresh_all_documents" class="btn btn-danger">Refresh All Documents (expensive)</button>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user