mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
sync
This commit is contained in:
parent
8549f627b7
commit
a4fc04060b
@ -1 +1 @@
|
||||
Subproject commit 7f81b6b5589be0b1eb14409a7a22732abae8e7cc
|
||||
Subproject commit f85526284811271abd7cb10a7c25fd5721d9fb48
|
@ -1383,7 +1383,7 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
path = source["document_path"]
|
||||
content = source["chunk_content"]
|
||||
size = source["chunk_size"]
|
||||
distance = source["distance"]
|
||||
similarity = source["similarity"]
|
||||
sources_text += f'''
|
||||
<div class="source-item">
|
||||
<button onclick="var details = document.getElementById('source-details-{title}'); details.style.display = details.style.display === 'none' ? 'block' : 'none';" style="text-align: left; font-weight: bold;"><strong>{title}</strong></button>
|
||||
@ -1392,7 +1392,7 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
<p><strong>Path:</strong> {path}</p>
|
||||
<p><strong>Content:</strong> {content}</p>
|
||||
<p><strong>Size:</strong> {size}</p>
|
||||
<p><strong>Distance:</strong> {distance}</p>
|
||||
<p><strong>Similarity:</strong> {similarity}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user