mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
added fun facts and enhanced ui
This commit is contained in:
parent
db85d91ca8
commit
7172c994b3
@ -1 +1 @@
|
||||
Subproject commit f85526284811271abd7cb10a7c25fd5721d9fb48
|
||||
Subproject commit c224bcb35da386db90bce30f5f25e2cb060d2b4e
|
@ -1386,8 +1386,8 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
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> - ({similarity*100:.2f}%)</button>
|
||||
<div id="source-details-{title}" style="display:none;">
|
||||
<button onclick="var details = document.getElementById('source-details-{title}-{message_id}'); details.style.display = details.style.display === 'none' ? 'block' : 'none';" style="text-align: left; font-weight: bold;"><strong>{title}</strong> - ({similarity*100:.2f}%)</button>
|
||||
<div id="source-details-{title}-{message_id}" style="display:none;">
|
||||
<div style="max-height: 200px; overflow-y: auto;">
|
||||
<p><strong>Path:</strong> {path}</p>
|
||||
<p><strong>Content:</strong> {content}</p>
|
||||
@ -1406,8 +1406,8 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
for skill in context_details["skills"]:
|
||||
sources_text += f'''
|
||||
<div class="source-item">
|
||||
<button onclick="var details = document.getElementById('source-details-{ind}'); details.style.display = details.style.display === 'none' ? 'block' : 'none';" style="text-align: left; font-weight: bold;"><strong>Memory {ind}: {skill['title']}</strong> - ({skill['similarity']*100:.2f}%)</button>
|
||||
<div id="source-details-{ind}" style="display:none;">
|
||||
<button onclick="var details = document.getElementById('source-details-{ind}-{message_id}'); details.style.display = details.style.display === 'none' ? 'block' : 'none';" style="text-align: left; font-weight: bold;"><strong>Memory {ind}: {skill['title']}</strong> - ({skill['similarity']*100:.2f}%)</button>
|
||||
<div id="source-details-{ind}-{message_id}" style="display:none;">
|
||||
<div class="w-full" style="max-height: 200px; overflow-y: auto;">
|
||||
<pre>{skill['content']}</pre>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LoLLMS WebUI</title>
|
||||
<script type="module" crossorigin src="/assets/index-Cpa1zAgm.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Dglf9xkw.css">
|
||||
<script type="module" crossorigin src="/assets/index-DWgRuRtV.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BvcBrpnc.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -1364,7 +1364,25 @@ export default {
|
||||
"The Great Wall of China is not visible from space with the naked eye, contrary to popular belief.",
|
||||
"There are more possible ways to shuffle a deck of 52 cards than there are atoms on Earth.",
|
||||
"The first computer virus was created in 1983 as an experiment.",
|
||||
"The speed of light in a vacuum is exactly 299,792,458 meters per second."
|
||||
"The speed of light in a vacuum is exactly 299,792,458 meters per second.",
|
||||
|
||||
"ParisNeo started coding at age 11 after an older programmer refused to teach him BASIC programming",
|
||||
"ParisNeo learned BASIC by reverse engineering other people's games, even before he learned English",
|
||||
"At age 12, ParisNeo co-created SAIF14, a suite of programs on a Tandy 1000 computer built by two kids",
|
||||
"LoLLMs runs on a custom-built gaming PC that ParisNeo assembled and configured himself",
|
||||
"The project started as a simple Chrome plugin called 'chatgpt personality selector'",
|
||||
"ParisNeo's summer bet involved watching The Matrix 60 times in one month (twice daily) while his uncle gave up",
|
||||
"The name LoLLMs was inspired by 'Lord of the Rings', positioning itself as 'one tool to rule them all'",
|
||||
"LoLLMs has a 'Personalities Zoo' with over 500 different AI personas",
|
||||
"The project evolved from handling just language models to becoming a multimodal system, hence the 'M' in LoLLMs",
|
||||
"ParisNeo's difficulty with academic writing led him to develop AI solutions for writing assistance",
|
||||
"LoLLMs' development was influenced by science fiction concepts from Wall-E, Terminator, and The Hitchhiker's Guide to the Galaxy",
|
||||
"The project went from being 'GPT4All WebUI' to 'Lord of Large Language Models' before becoming 'Lord of Large Language & Multimodal Systems'",
|
||||
"ParisNeo received early access to GPT-3 and used it to push the boundaries of what was possible with AI",
|
||||
"The project maintains a philosophy of 'Don't panic, bring a towel, and trust in AI' - a reference to The Hitchhiker's Guide to the Galaxy",
|
||||
"Despite having multiple patents in various fields, ParisNeo's interest in AI was sparked when he read about AlexNet in 2012",
|
||||
"LoLLMs receives daily updates, similar to course corrections on a starship",
|
||||
"ParisNeo's journey into programming shows his determination - he taught himself BASIC by reverse engineering games before he even knew English"
|
||||
],
|
||||
randomFact: "",
|
||||
showPlaceholderModal: false,
|
||||
|
Loading…
Reference in New Issue
Block a user