Spaces:
Running
Running
Add 2 files
Browse files- index.html +202 -1122
- prompts.txt +2 -1
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script>
|
| 9 |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
@@ -15,45 +15,35 @@
|
|
| 15 |
100% { transform: translateY(0px); }
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
animation: float 4s ease-in-out infinite;
|
| 20 |
transition: all 0.3s ease;
|
| 21 |
border: 2px solid;
|
| 22 |
cursor: pointer;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
.
|
| 26 |
transform: scale(1.05) !important;
|
| 27 |
animation-play-state: paused;
|
| 28 |
}
|
| 29 |
|
| 30 |
-
.
|
| 31 |
animation-delay: 0s;
|
| 32 |
border-color: #3b82f6;
|
| 33 |
}
|
| 34 |
|
| 35 |
-
.
|
| 36 |
animation-delay: 0.5s;
|
| 37 |
border-color: #ef4444;
|
| 38 |
}
|
| 39 |
|
| 40 |
-
.
|
| 41 |
animation-delay: 1s;
|
| 42 |
border-color: #10b981;
|
| 43 |
}
|
| 44 |
|
| 45 |
-
.hustler {
|
| 46 |
-
animation-delay: 1.5s;
|
| 47 |
-
border-color: #8b5cf6;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
.dissertation {
|
| 51 |
-
animation-delay: 2s;
|
| 52 |
-
border-color: #f59e0b;
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
.chat-container {
|
| 56 |
-
height:
|
| 57 |
overflow-y: auto;
|
| 58 |
scrollbar-width: thin;
|
| 59 |
scrollbar-color: #4b5563 #1f2937;
|
|
@@ -100,250 +90,7 @@
|
|
| 100 |
50% { transform: translateY(-5px); }
|
| 101 |
}
|
| 102 |
|
| 103 |
-
.
|
| 104 |
-
color: #f59e0b;
|
| 105 |
-
text-shadow: 1px 1px 2px #000;
|
| 106 |
-
}
|
| 107 |
-
|
| 108 |
-
.apocalypse-bg {
|
| 109 |
-
background-image: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
|
| 110 |
-
}
|
| 111 |
-
|
| 112 |
-
.clickable-topic {
|
| 113 |
-
cursor: pointer;
|
| 114 |
-
text-decoration: underline;
|
| 115 |
-
color: #f59e0b;
|
| 116 |
-
transition: all 0.2s;
|
| 117 |
-
}
|
| 118 |
-
|
| 119 |
-
.clickable-topic:hover {
|
| 120 |
-
color: #fcd34d;
|
| 121 |
-
text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
-
.highlight {
|
| 125 |
-
animation: highlight-pulse 1.5s ease-out;
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
@keyframes highlight-pulse {
|
| 129 |
-
0% { background-color: rgba(245, 158, 11, 0); }
|
| 130 |
-
50% { background-color: rgba(245, 158, 11, 0.3); }
|
| 131 |
-
100% { background-color: rgba(245, 158, 11, 0); }
|
| 132 |
-
}
|
| 133 |
-
|
| 134 |
-
.profit-meter {
|
| 135 |
-
height: 20px;
|
| 136 |
-
background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
|
| 137 |
-
border-radius: 10px;
|
| 138 |
-
position: relative;
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
.profit-marker {
|
| 142 |
-
position: absolute;
|
| 143 |
-
width: 2px;
|
| 144 |
-
height: 30px;
|
| 145 |
-
background-color: white;
|
| 146 |
-
top: -5px;
|
| 147 |
-
}
|
| 148 |
-
|
| 149 |
-
.archetype-badge {
|
| 150 |
-
font-size: 0.6rem;
|
| 151 |
-
padding: 2px 4px;
|
| 152 |
-
border-radius: 4px;
|
| 153 |
-
margin-left: 4px;
|
| 154 |
-
}
|
| 155 |
-
|
| 156 |
-
.chart-container {
|
| 157 |
-
position: relative;
|
| 158 |
-
height: 300px;
|
| 159 |
-
width: 100%;
|
| 160 |
-
}
|
| 161 |
-
|
| 162 |
-
.timeline-item {
|
| 163 |
-
position: relative;
|
| 164 |
-
padding-left: 30px;
|
| 165 |
-
margin-bottom: 20px;
|
| 166 |
-
}
|
| 167 |
-
|
| 168 |
-
.timeline-item:before {
|
| 169 |
-
content: '';
|
| 170 |
-
position: absolute;
|
| 171 |
-
left: 0;
|
| 172 |
-
top: 5px;
|
| 173 |
-
width: 15px;
|
| 174 |
-
height: 15px;
|
| 175 |
-
border-radius: 50%;
|
| 176 |
-
background: #f59e0b;
|
| 177 |
-
}
|
| 178 |
-
|
| 179 |
-
.timeline-connector {
|
| 180 |
-
position: absolute;
|
| 181 |
-
left: 7px;
|
| 182 |
-
top: 20px;
|
| 183 |
-
bottom: -15px;
|
| 184 |
-
width: 1px;
|
| 185 |
-
background: #4b5563;
|
| 186 |
-
}
|
| 187 |
-
|
| 188 |
-
.idea-card {
|
| 189 |
-
transition: all 0.3s ease;
|
| 190 |
-
border-left: 4px solid;
|
| 191 |
-
}
|
| 192 |
-
|
| 193 |
-
.idea-card:hover {
|
| 194 |
-
transform: translateY(-5px);
|
| 195 |
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
|
| 196 |
-
}
|
| 197 |
-
|
| 198 |
-
.today-idea {
|
| 199 |
-
animation: pulse 2s infinite;
|
| 200 |
-
}
|
| 201 |
-
|
| 202 |
-
@keyframes pulse {
|
| 203 |
-
0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
|
| 204 |
-
70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
|
| 205 |
-
100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
|
| 206 |
-
}
|
| 207 |
-
|
| 208 |
-
.task-container {
|
| 209 |
-
background: rgba(30, 41, 59, 0.8);
|
| 210 |
-
border: 1px solid #334155;
|
| 211 |
-
border-radius: 8px;
|
| 212 |
-
padding: 15px;
|
| 213 |
-
margin: 10px 0;
|
| 214 |
-
}
|
| 215 |
-
|
| 216 |
-
.task-header {
|
| 217 |
-
font-weight: bold;
|
| 218 |
-
color: #f59e0b;
|
| 219 |
-
margin-bottom: 8px;
|
| 220 |
-
display: flex;
|
| 221 |
-
align-items: center;
|
| 222 |
-
}
|
| 223 |
-
|
| 224 |
-
.task-content {
|
| 225 |
-
background: rgba(15, 23, 42, 0.5);
|
| 226 |
-
padding: 10px;
|
| 227 |
-
border-radius: 5px;
|
| 228 |
-
font-family: monospace;
|
| 229 |
-
white-space: pre-wrap;
|
| 230 |
-
font-size: 0.9rem;
|
| 231 |
-
}
|
| 232 |
-
|
| 233 |
-
.ai-analysis {
|
| 234 |
-
background: rgba(30, 64, 175, 0.1);
|
| 235 |
-
border-left: 4px solid #3b82f6;
|
| 236 |
-
padding: 10px;
|
| 237 |
-
margin: 10px 0;
|
| 238 |
-
border-radius: 0 5px 5px 0;
|
| 239 |
-
}
|
| 240 |
-
|
| 241 |
-
.loading-dots:after {
|
| 242 |
-
content: '.';
|
| 243 |
-
animation: dots 1.5s steps(5, end) infinite;
|
| 244 |
-
}
|
| 245 |
-
|
| 246 |
-
@keyframes dots {
|
| 247 |
-
0%, 20% { content: '.'; }
|
| 248 |
-
40% { content: '..'; }
|
| 249 |
-
60% { content: '...'; }
|
| 250 |
-
80%, 100% { content: ''; }
|
| 251 |
-
}
|
| 252 |
-
|
| 253 |
-
.dissertation-container {
|
| 254 |
-
position: fixed;
|
| 255 |
-
top: 0;
|
| 256 |
-
left: 0;
|
| 257 |
-
width: 100%;
|
| 258 |
-
height: 100%;
|
| 259 |
-
background-color: rgba(0, 0, 0, 0.8);
|
| 260 |
-
z-index: 1000;
|
| 261 |
-
display: none;
|
| 262 |
-
overflow-y: auto;
|
| 263 |
-
padding: 20px;
|
| 264 |
-
}
|
| 265 |
-
|
| 266 |
-
.dissertation-content {
|
| 267 |
-
background-color: #1e293b;
|
| 268 |
-
max-width: 800px;
|
| 269 |
-
margin: 20px auto;
|
| 270 |
-
padding: 30px;
|
| 271 |
-
border-radius: 10px;
|
| 272 |
-
border: 1px solid #334155;
|
| 273 |
-
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
| 274 |
-
}
|
| 275 |
-
|
| 276 |
-
.dissertation-header {
|
| 277 |
-
border-bottom: 1px solid #334155;
|
| 278 |
-
padding-bottom: 20px;
|
| 279 |
-
margin-bottom: 20px;
|
| 280 |
-
}
|
| 281 |
-
|
| 282 |
-
.dissertation-section {
|
| 283 |
-
margin-bottom: 30px;
|
| 284 |
-
}
|
| 285 |
-
|
| 286 |
-
.dissertation-footer {
|
| 287 |
-
border-top: 1px solid #334155;
|
| 288 |
-
padding-top: 20px;
|
| 289 |
-
margin-top: 20px;
|
| 290 |
-
font-size: 0.9rem;
|
| 291 |
-
color: #9ca3af;
|
| 292 |
-
}
|
| 293 |
-
|
| 294 |
-
.close-dissertation {
|
| 295 |
-
position: absolute;
|
| 296 |
-
top: 20px;
|
| 297 |
-
right: 20px;
|
| 298 |
-
background: #ef4444;
|
| 299 |
-
color: white;
|
| 300 |
-
border: none;
|
| 301 |
-
width: 40px;
|
| 302 |
-
height: 40px;
|
| 303 |
-
border-radius: 50%;
|
| 304 |
-
font-size: 1.2rem;
|
| 305 |
-
cursor: pointer;
|
| 306 |
-
display: flex;
|
| 307 |
-
align-items: center;
|
| 308 |
-
justify-content: center;
|
| 309 |
-
}
|
| 310 |
-
|
| 311 |
-
.dissertation-results {
|
| 312 |
-
background-color: #1e293b;
|
| 313 |
-
border: 1px solid #334155;
|
| 314 |
-
border-radius: 8px;
|
| 315 |
-
padding: 15px;
|
| 316 |
-
margin-top: 20px;
|
| 317 |
-
max-height: 500px;
|
| 318 |
-
overflow-y: auto;
|
| 319 |
-
display: none;
|
| 320 |
-
}
|
| 321 |
-
|
| 322 |
-
.dissertation-results-header {
|
| 323 |
-
display: flex;
|
| 324 |
-
justify-content: space-between;
|
| 325 |
-
align-items: center;
|
| 326 |
-
margin-bottom: 15px;
|
| 327 |
-
padding-bottom: 10px;
|
| 328 |
-
border-bottom: 1px solid #334155;
|
| 329 |
-
}
|
| 330 |
-
|
| 331 |
-
.dissertation-results-content {
|
| 332 |
-
font-family: monospace;
|
| 333 |
-
white-space: pre-wrap;
|
| 334 |
-
font-size: 0.9rem;
|
| 335 |
-
line-height: 1.5;
|
| 336 |
-
}
|
| 337 |
-
|
| 338 |
-
.dissertation-results-toggle {
|
| 339 |
-
cursor: pointer;
|
| 340 |
-
color: #f59e0b;
|
| 341 |
-
text-decoration: underline;
|
| 342 |
-
margin-top: 10px;
|
| 343 |
-
display: inline-block;
|
| 344 |
-
}
|
| 345 |
-
|
| 346 |
-
.llama-badge {
|
| 347 |
background: linear-gradient(135deg, #6b46c1 0%, #3b82f6 100%);
|
| 348 |
color: white;
|
| 349 |
padding: 2px 6px;
|
|
@@ -429,38 +176,76 @@
|
|
| 429 |
border-radius: 4px;
|
| 430 |
margin-left: 5px;
|
| 431 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 432 |
</style>
|
| 433 |
</head>
|
| 434 |
-
<body class="
|
| 435 |
-
<!-- Dissertation Modal -->
|
| 436 |
-
<div class="dissertation-container" id="dissertationModal">
|
| 437 |
-
<button class="close-dissertation" id="closeDissertation">
|
| 438 |
-
<i class="fas fa-times"></i>
|
| 439 |
-
</button>
|
| 440 |
-
<div class="dissertation-content" id="dissertationContent">
|
| 441 |
-
<div class="dissertation-header">
|
| 442 |
-
<h2 class="text-3xl font-bold gold-text text-center">LLaMA 3.2 90B-Generated Dissertation</h2>
|
| 443 |
-
<p class="text-center text-gray-400 mt-2">Post-Collapse Economic Strategies Analysis</p>
|
| 444 |
-
<div class="text-center mt-2">
|
| 445 |
-
<span class="llama-badge">Powered by LLaMA 3.2 90B API</span>
|
| 446 |
-
</div>
|
| 447 |
-
</div>
|
| 448 |
-
<div id="dissertationBody">
|
| 449 |
-
<!-- Dissertation content will be inserted here -->
|
| 450 |
-
</div>
|
| 451 |
-
<div class="dissertation-footer text-center">
|
| 452 |
-
<p>Generated by LLaMA 3.2 90B AI - Collapse Day 1,427</p>
|
| 453 |
-
<button id="downloadDissertation" class="bg-yellow-700 hover:bg-yellow-800 text-gray-100 font-bold px-4 py-2 rounded-lg transition border border-yellow-800 mt-4">
|
| 454 |
-
<i class="fas fa-file-pdf mr-1"></i>Download Dissertation
|
| 455 |
-
</button>
|
| 456 |
-
</div>
|
| 457 |
-
</div>
|
| 458 |
-
</div>
|
| 459 |
-
|
| 460 |
<!-- Processing Queue -->
|
| 461 |
<div class="processing-queue" id="processingQueue">
|
| 462 |
<div class="queue-header">
|
| 463 |
-
<span><i class="fas fa-tasks mr-2"></i>
|
| 464 |
<span id="queueCount">0</span>
|
| 465 |
</div>
|
| 466 |
<div id="queueItems">
|
|
@@ -469,282 +254,107 @@
|
|
| 469 |
</div>
|
| 470 |
|
| 471 |
<div class="container mx-auto px-4 py-8">
|
| 472 |
-
<h1 class="text-4xl font-bold text-center mb-8
|
| 473 |
-
<i class="fas fa-robot mr-2"></i>
|
| 474 |
<i class="fas fa-brain ml-2"></i>
|
| 475 |
-
<span class="llama-badge">LLaMA 3.2 90B</span>
|
| 476 |
</h1>
|
| 477 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 478 |
<div class="grid grid-cols-1 md:grid-cols-1 gap-6 mb-8">
|
| 479 |
-
<!--
|
| 480 |
-
<div class="bg-gray-800 rounded-lg p-6 shadow-lg border border-gray-700"
|
| 481 |
-
<
|
| 482 |
-
<
|
| 483 |
-
|
| 484 |
-
</h2>
|
| 485 |
-
<button id="downloadPdf" class="bg-yellow-700 hover:bg-yellow-800 text-gray-100 font-bold px-4 py-2 rounded-lg transition border border-yellow-800">
|
| 486 |
-
<i class="fas fa-file-pdf mr-1"></i>Download Report
|
| 487 |
-
</button>
|
| 488 |
-
</div>
|
| 489 |
-
|
| 490 |
-
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
|
| 491 |
-
<!-- Market Overview -->
|
| 492 |
-
<div class="bg-gray-700/50 p-4 rounded-lg border border-gray-600">
|
| 493 |
-
<h3 class="font-bold text-yellow-500 mb-2"><i class="fas fa-globe mr-2"></i>Market Overview</h3>
|
| 494 |
-
<ul class="space-y-2 text-sm">
|
| 495 |
-
<li><span class="font-medium">Collapse Day:</span> 1,427</li>
|
| 496 |
-
<li><span class="font-medium">Global Barter Index:</span> +7.3% (↑2.1 from yesterday)</li>
|
| 497 |
-
<li><span class="font-medium">Radiation Levels:</span> 5.7 RADS (Danger Zone)</li>
|
| 498 |
-
<li><span class="font-medium">Warlord Activity:</span> High (3 active conflicts in sector)</li>
|
| 499 |
-
<li><span class="font-medium">Currency:</span> 1 Bottlecap = 3.7 Pre-war USD</li>
|
| 500 |
-
</ul>
|
| 501 |
-
</div>
|
| 502 |
-
|
| 503 |
-
<!-- Top Commodities -->
|
| 504 |
-
<div class="bg-gray-700/50 p-4 rounded-lg border border-gray-600">
|
| 505 |
-
<h3 class="font-bold text-yellow-500 mb-2"><i class="fas fa-fire mr-2"></i>LLaMA-Detected Opportunities</h3>
|
| 506 |
-
<ol class="space-y-2 text-sm">
|
| 507 |
-
<li>1. Water purification patents (87% demand increase)</li>
|
| 508 |
-
<li>2. Radiation-resistant crops (73% shortage)</li>
|
| 509 |
-
<li>3. Scrap metal crypto-mining (62% premium)</li>
|
| 510 |
-
<li>4. Post-collapse education (55% markup)</li>
|
| 511 |
-
<li>5. Trauma counseling (48% addict rate)</li>
|
| 512 |
-
</ol>
|
| 513 |
-
</div>
|
| 514 |
-
|
| 515 |
-
<!-- Risk Assessment -->
|
| 516 |
-
<div class="bg-gray-700/50 p-4 rounded-lg border border-gray-600">
|
| 517 |
-
<h3 class="font-bold text-yellow-500 mb-2"><i class="fas fa-radiation-alt mr-2"></i>LLaMA Risk Assessment</h3>
|
| 518 |
-
<div class="space-y-2 text-sm">
|
| 519 |
-
<div>
|
| 520 |
-
<span class="font-medium">Radiation:</span>
|
| 521 |
-
<span class="text-red-400">High</span>
|
| 522 |
-
<div class="w-full bg-gray-600 rounded-full h-2 mt-1">
|
| 523 |
-
<div class="bg-red-500 h-2 rounded-full" style="width: 85%"></div>
|
| 524 |
-
</div>
|
| 525 |
-
</div>
|
| 526 |
-
<div>
|
| 527 |
-
<span class="font-medium">Violence:</span>
|
| 528 |
-
<span class="text-yellow-400">Moderate</span>
|
| 529 |
-
<div class="w-full bg-gray-600 rounded-full h-2 mt-1">
|
| 530 |
-
<div class="bg-yellow-500 h-2 rounded-full" style="width: 65%"></div>
|
| 531 |
-
</div>
|
| 532 |
-
</div>
|
| 533 |
-
<div>
|
| 534 |
-
<span class="font-medium">Scarcity:</span>
|
| 535 |
-
<span class="text-green-400">Critical</span>
|
| 536 |
-
<div class="w-full bg-gray-600 rounded-full h-2 mt-1">
|
| 537 |
-
<div class="bg-green-500 h-2 rounded-full" style="width: 92%"></div>
|
| 538 |
-
</div>
|
| 539 |
-
</div>
|
| 540 |
-
</div>
|
| 541 |
-
</div>
|
| 542 |
-
</div>
|
| 543 |
|
| 544 |
-
<
|
| 545 |
-
|
| 546 |
-
<div class="
|
| 547 |
-
<
|
| 548 |
-
|
| 549 |
-
<canvas id="priceChart"></canvas>
|
| 550 |
</div>
|
|
|
|
|
|
|
|
|
|
| 551 |
</div>
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
</div>
|
| 558 |
-
</div>
|
| 559 |
-
|
| 560 |
-
<!-- LLaMA Analysis Section -->
|
| 561 |
-
<div class="ai-analysis mb-6">
|
| 562 |
-
<h3 class="text-xl font-bold text-blue-400 mb-2"><i class="fas fa-brain mr-2"></i>LLaMA 3.2 90B Market Insights</h3>
|
| 563 |
-
<div class="task-content" id="aiMarketInsights">
|
| 564 |
-
[LLaMA analysis pending... Ask a question to generate real-time market analysis]
|
| 565 |
-
</div>
|
| 566 |
-
</div>
|
| 567 |
-
|
| 568 |
-
<!-- Profit Ideas -->
|
| 569 |
-
<div class="mb-6">
|
| 570 |
-
<h3 class="text-xl font-bold gold-text mb-4"><i class="fas fa-lightbulb mr-2"></i>LLaMA-Generated Profit Plays</h3>
|
| 571 |
-
<div class="grid grid-cols-1 md:grid-cols-5 gap-4">
|
| 572 |
-
<!-- Idea 1 -->
|
| 573 |
-
<div class="idea-card bg-gray-700/50 p-4 rounded-lg border-l-4 border-blue-500">
|
| 574 |
-
<h4 class="font-bold text-blue-400 mb-2">1. Water Arbitrage</h4>
|
| 575 |
-
<p class="text-sm">Buy from northern settlements (0.7 caps/gal) and sell to southern warlords (3.2 caps/gal). 357% ROI.</p>
|
| 576 |
-
<div class="mt-2 flex justify-between text-xs">
|
| 577 |
-
<span class="text-yellow-500">Risk: Medium</span>
|
| 578 |
-
<span class="text-green-400">ROI: 357%</span>
|
| 579 |
-
</div>
|
| 580 |
-
</div>
|
| 581 |
-
|
| 582 |
-
<!-- Idea 2 -->
|
| 583 |
-
<div class="idea-card bg-gray-700/50 p-4 rounded-lg border-l-4 border-purple-500">
|
| 584 |
-
<h4 class="font-bold text-purple-400 mb-2">2. Mutant Pets</h4>
|
| 585 |
-
<p class="text-sm">Capture and train irradiated animals as status symbols for elite. Current demand: 12 pre-orders.</p>
|
| 586 |
-
<div class="mt-2 flex justify-between text-xs">
|
| 587 |
-
<span class="text-red-500">Risk: High</span>
|
| 588 |
-
<span class="text-green-400">ROI: 800%</span>
|
| 589 |
-
</div>
|
| 590 |
-
</div>
|
| 591 |
-
|
| 592 |
-
<!-- Idea 3 -->
|
| 593 |
-
<div class="idea-card bg-gray-700/50 p-4 rounded-lg border-l-4 border-green-500">
|
| 594 |
-
<h4 class="font-bold text-green-400 mb-2">3. Scrap Crypto</h4>
|
| 595 |
-
<p class="text-sm">Mint blockchain tokens backed by our scrap metal. Already 47k caps in pre-sales.</p>
|
| 596 |
-
<div class="mt-2 flex justify-between text-xs">
|
| 597 |
-
<span class="text-yellow-500">Risk: Medium</span>
|
| 598 |
-
<span class="text-green-400">ROI: ∞ (unbacked)</span>
|
| 599 |
-
</div>
|
| 600 |
-
</div>
|
| 601 |
-
|
| 602 |
-
<!-- Idea 4 -->
|
| 603 |
-
<div class="idea-card bg-gray-700/50 p-4 rounded-lg border-l-4 border-red-500">
|
| 604 |
-
<h4 class="font-bold text-red-400 mb-2">4. War Bonds</h4>
|
| 605 |
-
<p class="text-sm">Sell investments in upcoming conflicts. 18% monthly yield (paid in loot rights).</p>
|
| 606 |
-
<div class="mt-2 flex justify-between text-xs">
|
| 607 |
-
<span class="text-red-500">Risk: Extreme</span>
|
| 608 |
-
<span class="text-green-400">ROI: 18%/mo</span>
|
| 609 |
-
</div>
|
| 610 |
-
</div>
|
| 611 |
-
|
| 612 |
-
<!-- Idea 5 -->
|
| 613 |
-
<div class="idea-card bg-gray-700/50 p-4 rounded-lg border-l-4 border-yellow-500">
|
| 614 |
-
<h4 class="font-bold text-yellow-400 mb-2">5. Memory Vials</h4>
|
| 615 |
-
<p class="text-sm">Sell "authentic pre-collapse air" in bottles. Nostalgia markup: 5000%.</p>
|
| 616 |
-
<div class="mt-2 flex justify-between text-xs">
|
| 617 |
-
<span class="text-green-500">Risk: Low</span>
|
| 618 |
-
<span class="text-green-400">ROI: 5000%</span>
|
| 619 |
-
</div>
|
| 620 |
</div>
|
|
|
|
|
|
|
|
|
|
| 621 |
</div>
|
| 622 |
-
|
| 623 |
-
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
|
| 627 |
-
<div class="flex items-start">
|
| 628 |
-
<div class="bg-yellow-600/30 p-3 rounded-full mr-4">
|
| 629 |
-
<i class="fas fa-robot text-yellow-300 text-xl"></i>
|
| 630 |
-
</div>
|
| 631 |
-
<div>
|
| 632 |
-
<h4 class="font-bold text-lg text-white mb-1">Radiation Detox Scam</h4>
|
| 633 |
-
<p class="mb-3">Sell placebo pills as "radiation detoxifiers" to paranoid settlements. Cost: 0.1 caps/unit. Price: 5 caps/unit. Minimal effort, maximum profit.</p>
|
| 634 |
-
<div class="flex flex-wrap gap-2">
|
| 635 |
-
<span class="bg-yellow-800/50 text-yellow-300 text-xs px-2 py-1 rounded">Step 1: Find chalk</span>
|
| 636 |
-
<span class="bg-yellow-800/50 text-yellow-300 text-xs px-2 py-1 rounded">Step 2: Crush into pills</span>
|
| 637 |
-
<span class="bg-yellow-800/50 text-yellow-300 text-xs px-2 py-1 rounded">Step 3: Fake lab report</span>
|
| 638 |
-
<span class="bg-yellow-800/50 text-yellow-300 text-xs px-2 py-1 rounded">Step 4: Sell to desperate</span>
|
| 639 |
-
</div>
|
| 640 |
</div>
|
|
|
|
|
|
|
|
|
|
| 641 |
</div>
|
| 642 |
</div>
|
| 643 |
|
| 644 |
-
<
|
| 645 |
-
|
| 646 |
-
<
|
| 647 |
-
|
| 648 |
-
<
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
<p class="text-xs text-gray-400 mt-1">Target: 500 caps profit</p>
|
| 653 |
-
</div>
|
| 654 |
-
<div class="timeline-item">
|
| 655 |
-
<div class="timeline-connector"></div>
|
| 656 |
-
<h4 class="font-bold text-yellow-400">Week 3-4: Expansion</h4>
|
| 657 |
-
<p class="text-sm">Launch mutant pet program, begin water arbitrage operations, recruit 5 sales scavengers.</p>
|
| 658 |
-
<p class="text-xs text-gray-400 mt-1">Target: 2,000 caps profit</p>
|
| 659 |
-
</div>
|
| 660 |
-
<div class="timeline-item">
|
| 661 |
-
<div class="timeline-connector"></div>
|
| 662 |
-
<h4 class="font-bold text-yellow-400">Month 2: Diversification</h4>
|
| 663 |
-
<p class="text-sm">Issue first war bonds, open scrap crypto exchange, establish protection racket with 2 settlements.</p>
|
| 664 |
-
<p class="text-xs text-gray-400 mt-1">Target: 5,000 caps profit</p>
|
| 665 |
-
</div>
|
| 666 |
-
<div class="timeline-item">
|
| 667 |
-
<h4 class="font-bold text-yellow-400">Month 3: Dominance</h4>
|
| 668 |
-
<p class="text-sm">Control 40% of regional water trade, become primary arms dealer for 1 warlord faction, IPO scrap crypto.</p>
|
| 669 |
-
<p class="text-xs text-gray-400 mt-1">Target: 15,000 caps profit</p>
|
| 670 |
-
</div>
|
| 671 |
-
</div>
|
| 672 |
</div>
|
| 673 |
</div>
|
| 674 |
|
| 675 |
-
<!--
|
| 676 |
<div class="bg-gray-800 rounded-lg p-6 shadow-lg border border-gray-700">
|
| 677 |
-
<h2 class="text-2xl font-semibold mb-4
|
| 678 |
-
<i class="fas fa-
|
| 679 |
</h2>
|
| 680 |
-
|
| 681 |
-
<div class="miner-head visionary bg-blue-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl" data-member="visionary" title="ENTP - The Visionary">
|
| 682 |
-
<i class="fas fa-lightbulb"></i>
|
| 683 |
-
</div>
|
| 684 |
-
<div class="miner-head strategist bg-red-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl" data-member="strategist" title="INTJ - The Strategist">
|
| 685 |
-
<i class="fas fa-chess"></i>
|
| 686 |
-
</div>
|
| 687 |
-
<div class="miner-head alchemist bg-green-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl" data-member="alchemist" title="INTP - The Alchemist">
|
| 688 |
-
<i class="fas fa-atom"></i>
|
| 689 |
-
</div>
|
| 690 |
-
<div class="miner-head hustler bg-purple-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl" data-member="hustler" title="ESTP - The Hustler">
|
| 691 |
-
<i class="fas fa-hand-holding-usd"></i>
|
| 692 |
-
</div>
|
| 693 |
-
<div class="miner-head dissertation bg-yellow-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl" data-member="dissertation" title="PhD - The Academic">
|
| 694 |
-
<i class="fas fa-graduation-cap"></i>
|
| 695 |
-
</div>
|
| 696 |
-
</div>
|
| 697 |
<div class="chat-container bg-gray-700 rounded-lg p-4 mb-4 border border-gray-600">
|
| 698 |
<div id="chatLog" class="space-y-3">
|
| 699 |
<div class="message bg-blue-900/70 rounded-lg p-3 ml-0 border border-blue-700">
|
| 700 |
-
<div class="font-bold text-blue-300">
|
| 701 |
-
<p>
|
| 702 |
-
</div>
|
| 703 |
-
<div class="message bg-red-900/70 rounded-lg p-3 ml-0 border border-red-700">
|
| 704 |
-
<div class="font-bold text-red-300">Strategist (INTJ) <span class="archetype-badge bg-red-800">The Architect</span>:</div>
|
| 705 |
-
<p>Calculated risk/reward ratios for all 5 ideas. Water arbitrage has highest probability of success (87%) with acceptable risk profile. Recommend immediate execution.</p>
|
| 706 |
-
</div>
|
| 707 |
-
<div class="message bg-green-900/70 rounded-lg p-3 ml-0 border border-green-700">
|
| 708 |
-
<div class="font-bold text-green-300">Alchemist (INTP) <span class="archetype-badge bg-green-800">The Scientist</span>:</div>
|
| 709 |
-
<p>Fascinating! The placebo effect works even better in irradiated populations. Our fake detox pills could actually show 12% efficacy from belief alone. Patent pending.</p>
|
| 710 |
-
</div>
|
| 711 |
-
<div class="message bg-purple-900/70 rounded-lg p-3 ml-0 border border-purple-700">
|
| 712 |
-
<div class="font-bold text-purple-300">Hustler (ESTP) <span class="archetype-badge bg-purple-800">The Persuader</span>:</div>
|
| 713 |
-
<p>Already pre-sold 300 detox kits to the northern settlement. Told them it's "limited edition" and they bought the whole batch. Who's ready to crush some chalk?</p>
|
| 714 |
</div>
|
| 715 |
</div>
|
| 716 |
</div>
|
|
|
|
| 717 |
<div id="typingIndicator" class="hidden flex items-center space-x-1 mb-2 pl-2">
|
| 718 |
-
<span class="text-sm text-gray-400">
|
| 719 |
<div class="typing-indicator"></div>
|
| 720 |
<div class="typing-indicator"></div>
|
| 721 |
<div class="typing-indicator"></div>
|
| 722 |
</div>
|
|
|
|
| 723 |
<div class="flex space-x-2">
|
| 724 |
-
<input type="text" id="userInput" placeholder="
|
| 725 |
<button id="sendButton" class="bg-yellow-700 hover:bg-yellow-800 text-gray-100 font-bold px-4 py-2 rounded-lg transition border border-yellow-800">
|
| 726 |
<i class="fas fa-paper-plane mr-1"></i>Send
|
| 727 |
</button>
|
| 728 |
</div>
|
| 729 |
-
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
|
| 733 |
-
|
| 734 |
-
|
| 735 |
-
|
| 736 |
-
|
| 737 |
-
|
| 738 |
-
|
| 739 |
-
<
|
| 740 |
-
|
| 741 |
-
|
| 742 |
-
<button id="clearDissertationResults" class="bg-red-700 hover:bg-red-800 text-gray-100 font-bold px-3 py-1 rounded-lg transition border border-red-800 text-sm">
|
| 743 |
-
<i class="fas fa-trash mr-1"></i>Clear
|
| 744 |
</button>
|
| 745 |
-
</div>
|
| 746 |
-
<div class="dissertation-results-content" id="dissertationResultsContent">
|
| 747 |
-
<!-- Dissertation results will be inserted here -->
|
| 748 |
</div>
|
| 749 |
</div>
|
| 750 |
</div>
|
|
@@ -756,300 +366,57 @@
|
|
| 756 |
const userInput = document.getElementById('userInput');
|
| 757 |
const sendButton = document.getElementById('sendButton');
|
| 758 |
const typingIndicator = document.getElementById('typingIndicator');
|
| 759 |
-
const pageContent = document.getElementById('pageContent');
|
| 760 |
-
const downloadPdf = document.getElementById('downloadPdf');
|
| 761 |
-
const aiMarketInsights = document.getElementById('aiMarketInsights');
|
| 762 |
-
const dissertationModal = document.getElementById('dissertationModal');
|
| 763 |
-
const closeDissertation = document.getElementById('closeDissertation');
|
| 764 |
-
const dissertationBody = document.getElementById('dissertationBody');
|
| 765 |
-
const downloadDissertation = document.getElementById('downloadDissertation');
|
| 766 |
-
const dissertationResults = document.getElementById('dissertationResults');
|
| 767 |
-
const dissertationResultsContent = document.getElementById('dissertationResultsContent');
|
| 768 |
-
const toggleDissertationResults = document.getElementById('toggleDissertationResults');
|
| 769 |
-
const clearDissertationResults = document.getElementById('clearDissertationResults');
|
| 770 |
const processingQueue = document.getElementById('processingQueue');
|
| 771 |
const queueItems = document.getElementById('queueItems');
|
| 772 |
const queueCount = document.getElementById('queueCount');
|
|
|
|
| 773 |
|
| 774 |
-
//
|
| 775 |
-
|
| 776 |
-
|
| 777 |
-
|
| 778 |
-
let processingQueueItems = [];
|
| 779 |
-
let currentProcessingItem = null;
|
| 780 |
-
let isProcessing = false;
|
| 781 |
-
|
| 782 |
-
// Toggle dissertation results visibility
|
| 783 |
-
toggleDissertationResults.addEventListener('click', function() {
|
| 784 |
-
const isVisible = dissertationResults.style.display === 'block';
|
| 785 |
-
dissertationResults.style.display = isVisible ? 'none' : 'block';
|
| 786 |
-
toggleDissertationResults.innerHTML = isVisible
|
| 787 |
-
? '<i class="fas fa-chevron-down mr-1"></i> Show LLaMA 3.2 90B Dissertation Results'
|
| 788 |
-
: '<i class="fas fa-chevron-up mr-1"></i> Hide Dissertation Results';
|
| 789 |
-
});
|
| 790 |
-
|
| 791 |
-
// Clear dissertation results
|
| 792 |
-
clearDissertationResults.addEventListener('click', function() {
|
| 793 |
-
dissertationResultsContent.innerHTML = '';
|
| 794 |
-
dissertationResults.style.display = 'none';
|
| 795 |
-
toggleDissertationResults.innerHTML = '<i class="fas fa-chevron-down mr-1"></i> Show LLaMA 3.2 90B Dissertation Results';
|
| 796 |
-
});
|
| 797 |
-
|
| 798 |
-
// PDF Export
|
| 799 |
-
downloadPdf.addEventListener('click', function() {
|
| 800 |
-
const element = document.getElementById('marketReport');
|
| 801 |
-
const opt = {
|
| 802 |
-
margin: 10,
|
| 803 |
-
filename: 'Apocalypse_Market_Report_Day_1427.pdf',
|
| 804 |
-
image: { type: 'jpeg', quality: 0.98 },
|
| 805 |
-
html2canvas: { scale: 2 },
|
| 806 |
-
jsPDF: { unit: 'mm', format: 'a3', orientation: 'portrait' }
|
| 807 |
-
};
|
| 808 |
-
|
| 809 |
-
// Show generating message
|
| 810 |
-
const originalText = downloadPdf.innerHTML;
|
| 811 |
-
downloadPdf.innerHTML = '<i class="fas fa-spinner fa-spin mr-1"></i>Generating PDF...';
|
| 812 |
-
|
| 813 |
-
// Generate PDF
|
| 814 |
-
html2pdf().set(opt).from(element).save().then(() => {
|
| 815 |
-
downloadPdf.innerHTML = originalText;
|
| 816 |
-
});
|
| 817 |
-
});
|
| 818 |
-
|
| 819 |
-
// Dissertation PDF Export
|
| 820 |
-
downloadDissertation.addEventListener('click', function() {
|
| 821 |
-
const element = document.getElementById('dissertationContent');
|
| 822 |
-
const opt = {
|
| 823 |
-
margin: 10,
|
| 824 |
-
filename: 'Post-Collapse_Economic_Strategies_Dissertation.pdf',
|
| 825 |
-
image: { type: 'jpeg', quality: 0.98 },
|
| 826 |
-
html2canvas: { scale: 2 },
|
| 827 |
-
jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' }
|
| 828 |
-
};
|
| 829 |
-
|
| 830 |
-
// Show generating message
|
| 831 |
-
const originalText = downloadDissertation.innerHTML;
|
| 832 |
-
downloadDissertation.innerHTML = '<i class="fas fa-spinner fa-spin mr-1"></i>Generating PDF...';
|
| 833 |
-
|
| 834 |
-
// Generate PDF
|
| 835 |
-
html2pdf().set(opt).from(element).save().then(() => {
|
| 836 |
-
downloadDissertation.innerHTML = originalText;
|
| 837 |
-
});
|
| 838 |
-
});
|
| 839 |
-
|
| 840 |
-
// Close dissertation modal
|
| 841 |
-
closeDissertation.addEventListener('click', function() {
|
| 842 |
-
dissertationModal.style.display = 'none';
|
| 843 |
-
});
|
| 844 |
-
|
| 845 |
-
// Initialize charts
|
| 846 |
-
function initCharts() {
|
| 847 |
-
// Price Trends Chart
|
| 848 |
-
const priceCtx = document.getElementById('priceChart').getContext('2d');
|
| 849 |
-
const priceChart = new Chart(priceCtx, {
|
| 850 |
-
type: 'bar',
|
| 851 |
-
data: {
|
| 852 |
-
labels: ['Water', 'Ammo', 'Food', 'Fuel', 'Medicine', 'Tech'],
|
| 853 |
-
datasets: [{
|
| 854 |
-
label: 'Price (Bottlecaps)',
|
| 855 |
-
data: [8.7, 15.3, 5.2, 22.1, 32.5, 47.8],
|
| 856 |
-
backgroundColor: [
|
| 857 |
-
'rgba(59, 130, 246, 0.7)',
|
| 858 |
-
'rgba(239, 68, 68, 0.7)',
|
| 859 |
-
'rgba(16, 185, 129, 0.7)',
|
| 860 |
-
'rgba(245, 158, 11, 0.7)',
|
| 861 |
-
'rgba(139, 92, 246, 0.7)',
|
| 862 |
-
'rgba(20, 184, 166, 0.7)'
|
| 863 |
-
],
|
| 864 |
-
borderColor: [
|
| 865 |
-
'rgba(59, 130, 246, 1)',
|
| 866 |
-
'rgba(239, 68, 68, 1)',
|
| 867 |
-
'rgba(16, 185, 129, 1)',
|
| 868 |
-
'rgba(245, 158, 11, 1)',
|
| 869 |
-
'rgba(139, 92, 246, 1)',
|
| 870 |
-
'rgba(20, 184, 166, 1)'
|
| 871 |
-
],
|
| 872 |
-
borderWidth: 1
|
| 873 |
-
}]
|
| 874 |
-
},
|
| 875 |
-
options: {
|
| 876 |
-
responsive: true,
|
| 877 |
-
maintainAspectRatio: false,
|
| 878 |
-
plugins: {
|
| 879 |
-
legend: {
|
| 880 |
-
display: false
|
| 881 |
-
}
|
| 882 |
-
},
|
| 883 |
-
scales: {
|
| 884 |
-
y: {
|
| 885 |
-
beginAtZero: true,
|
| 886 |
-
grid: {
|
| 887 |
-
color: 'rgba(75, 85, 99, 0.5)'
|
| 888 |
-
},
|
| 889 |
-
ticks: {
|
| 890 |
-
color: '#9ca3af'
|
| 891 |
-
}
|
| 892 |
-
},
|
| 893 |
-
x: {
|
| 894 |
-
grid: {
|
| 895 |
-
display: false
|
| 896 |
-
},
|
| 897 |
-
ticks: {
|
| 898 |
-
color: '#9ca3af'
|
| 899 |
-
}
|
| 900 |
-
}
|
| 901 |
-
}
|
| 902 |
-
}
|
| 903 |
-
});
|
| 904 |
-
|
| 905 |
-
// Demand Forecast Chart
|
| 906 |
-
const demandCtx = document.getElementById('demandChart').getContext('2d');
|
| 907 |
-
const demandChart = new Chart(demandCtx, {
|
| 908 |
-
type: 'line',
|
| 909 |
-
data: {
|
| 910 |
-
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
|
| 911 |
-
datasets: [
|
| 912 |
-
{
|
| 913 |
-
label: 'Water',
|
| 914 |
-
data: [65, 59, 80, 81, 76, 85, 90],
|
| 915 |
-
borderColor: 'rgba(59, 130, 246, 1)',
|
| 916 |
-
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
| 917 |
-
tension: 0.3,
|
| 918 |
-
fill: true
|
| 919 |
-
},
|
| 920 |
-
{
|
| 921 |
-
label: 'Ammo',
|
| 922 |
-
data: [28, 48, 40, 49, 56, 67, 75],
|
| 923 |
-
borderColor: 'rgba(239, 68, 68, 1)',
|
| 924 |
-
backgroundColor: 'rgba(239, 68, 68, 0.1)',
|
| 925 |
-
tension: 0.3,
|
| 926 |
-
fill: true
|
| 927 |
-
},
|
| 928 |
-
{
|
| 929 |
-
label: 'Medicine',
|
| 930 |
-
data: [30, 35, 42, 52, 63, 72, 79],
|
| 931 |
-
borderColor: 'rgba(139, 92, 246, 1)',
|
| 932 |
-
backgroundColor: 'rgba(139, 92, 246, 0.1)',
|
| 933 |
-
tension: 0.3,
|
| 934 |
-
fill: true
|
| 935 |
-
}
|
| 936 |
-
]
|
| 937 |
-
},
|
| 938 |
-
options: {
|
| 939 |
-
responsive: true,
|
| 940 |
-
maintainAspectRatio: false,
|
| 941 |
-
plugins: {
|
| 942 |
-
legend: {
|
| 943 |
-
position: 'top',
|
| 944 |
-
labels: {
|
| 945 |
-
color: '#9ca3af'
|
| 946 |
-
}
|
| 947 |
-
}
|
| 948 |
-
},
|
| 949 |
-
scales: {
|
| 950 |
-
y: {
|
| 951 |
-
beginAtZero: true,
|
| 952 |
-
grid: {
|
| 953 |
-
color: 'rgba(75, 85, 99, 0.5)'
|
| 954 |
-
},
|
| 955 |
-
ticks: {
|
| 956 |
-
color: '#9ca3af'
|
| 957 |
-
}
|
| 958 |
-
},
|
| 959 |
-
x: {
|
| 960 |
-
grid: {
|
| 961 |
-
color: 'rgba(75, 85, 99, 0.5)'
|
| 962 |
-
},
|
| 963 |
-
ticks: {
|
| 964 |
-
color: '#9ca3af'
|
| 965 |
-
}
|
| 966 |
-
}
|
| 967 |
-
}
|
| 968 |
-
}
|
| 969 |
-
});
|
| 970 |
-
}
|
| 971 |
-
|
| 972 |
-
// Crew personalities - Now powered by LLaMA 3.2 90B
|
| 973 |
-
const crew = [
|
| 974 |
-
{
|
| 975 |
-
name: "Visionary",
|
| 976 |
-
mbti: "ENTP",
|
| 977 |
-
archetype: "The Revolutionary",
|
| 978 |
color: "blue",
|
| 979 |
-
icon: "
|
| 980 |
-
|
| 981 |
-
|
| 982 |
-
|
| 983 |
-
analysisStyle: "Generates radical business models and identifies paradigm-shifting opportunities in the collapse economy",
|
| 984 |
-
knowledgeBase: "Post-collapse economic theory, Ryan J. DeMarco's survival capitalism principles, disruptive innovation frameworks",
|
| 985 |
-
llamaModel: "LLaMA 3.2 90B Visionary Module"
|
| 986 |
},
|
| 987 |
-
{
|
| 988 |
-
name: "
|
| 989 |
-
mbti: "INTJ",
|
| 990 |
-
archetype: "The Architect",
|
| 991 |
color: "red",
|
| 992 |
-
icon: "
|
| 993 |
-
|
| 994 |
-
|
| 995 |
-
|
| 996 |
-
analysisStyle: "Conducts quantitative risk assessments and creates optimized execution plans with multiple fallback scenarios",
|
| 997 |
-
knowledgeBase: "Game theory, military strategy, black swan event planning, collapse scenario modeling",
|
| 998 |
-
llamaModel: "LLaMA 3.2 90B Strategist Module"
|
| 999 |
},
|
| 1000 |
-
{
|
| 1001 |
-
name: "
|
| 1002 |
-
mbti: "INTP",
|
| 1003 |
-
archetype: "The Scientist",
|
| 1004 |
color: "green",
|
| 1005 |
-
icon: "
|
| 1006 |
-
|
| 1007 |
-
|
| 1008 |
-
|
| 1009 |
-
analysisStyle: "Conducts deep technical analysis and develops novel applications for post-collapse materials and conditions",
|
| 1010 |
-
knowledgeBase: "Post-collapse material science, radiation chemistry, makeshift engineering, survival tech patents",
|
| 1011 |
-
llamaModel: "LLaMA 3.2 90B Alchemist Module"
|
| 1012 |
-
},
|
| 1013 |
-
{
|
| 1014 |
-
name: "Hustler",
|
| 1015 |
-
mbti: "ESTP",
|
| 1016 |
-
archetype: "The Persuader",
|
| 1017 |
-
color: "purple",
|
| 1018 |
-
icon: "hand-holding-usd",
|
| 1019 |
-
personality: "Dealmaker who can sell radiation poisoning as a detox treatment. Closes transactions in collapsing markets.",
|
| 1020 |
-
style: "Reads people instantly and adapts pitch on the fly. Thrives in chaos where rules don't apply.",
|
| 1021 |
-
profitStrategy: "Liquidity wizard who monetizes relationships and creates markets where none exist",
|
| 1022 |
-
analysisStyle: "Identifies psychological triggers and market gaps to create irresistible offers and sales funnels",
|
| 1023 |
-
knowledgeBase: "Post-collapse social dynamics, warlord psychology, black market operations, survivalist buyer personas",
|
| 1024 |
-
llamaModel: "LLaMA 3.2 90B Hustler Module"
|
| 1025 |
-
},
|
| 1026 |
-
{
|
| 1027 |
-
name: "Dissertation",
|
| 1028 |
-
mbti: "PhD",
|
| 1029 |
-
archetype: "The Academic",
|
| 1030 |
-
color: "yellow",
|
| 1031 |
-
icon: "graduation-cap",
|
| 1032 |
-
personality: "Scholarly synthesizer who transforms raw profit strategies into rigorous academic discourse.",
|
| 1033 |
-
style: "Methodically analyzes all perspectives to create comprehensive theoretical frameworks with practical applications.",
|
| 1034 |
-
profitStrategy: "Monetizes knowledge through academic publishing, think tank consulting, and policy influence",
|
| 1035 |
-
analysisStyle: "Creates structured academic arguments with proper citations, theoretical grounding, and empirical evidence",
|
| 1036 |
-
knowledgeBase: "Economic anthropology, post-collapse sociology, disaster capitalism theory, academic publishing",
|
| 1037 |
-
llamaModel: "LLaMA 3.2 90B Academic Module"
|
| 1038 |
}
|
| 1039 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1040 |
|
| 1041 |
// Add item to processing queue
|
| 1042 |
-
function addToQueue(itemName, isPriority = false) {
|
| 1043 |
const queueItem = {
|
| 1044 |
id: Date.now(),
|
| 1045 |
name: itemName,
|
|
|
|
| 1046 |
status: 'pending',
|
| 1047 |
timestamp: new Date(),
|
| 1048 |
-
isPriority: isPriority
|
| 1049 |
};
|
| 1050 |
|
| 1051 |
// Add to beginning if priority, else to end
|
| 1052 |
-
if (isPriority) {
|
| 1053 |
processingQueueItems.unshift(queueItem);
|
| 1054 |
} else {
|
| 1055 |
processingQueueItems.push(queueItem);
|
|
@@ -1057,6 +424,8 @@
|
|
| 1057 |
|
| 1058 |
updateQueueDisplay();
|
| 1059 |
processQueue();
|
|
|
|
|
|
|
| 1060 |
}
|
| 1061 |
|
| 1062 |
// Update queue item status
|
|
@@ -1094,11 +463,14 @@
|
|
| 1094 |
case 'failed': statusClass = 'status-failed'; break;
|
| 1095 |
}
|
| 1096 |
|
|
|
|
|
|
|
| 1097 |
itemDiv.innerHTML = `
|
| 1098 |
<div class="queue-status ${statusClass}"></div>
|
| 1099 |
<div class="queue-item-name">
|
| 1100 |
${item.name}
|
| 1101 |
${item.isPriority ? '<span class="priority-badge">PRIORITY</span>' : ''}
|
|
|
|
| 1102 |
</div>
|
| 1103 |
<div class="queue-item-time">${formatTime(item.timestamp)}</div>
|
| 1104 |
`;
|
|
@@ -1135,15 +507,35 @@
|
|
| 1135 |
currentProcessingItem = nextItem;
|
| 1136 |
|
| 1137 |
try {
|
| 1138 |
-
// Simulate processing delay
|
| 1139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1140 |
|
| 1141 |
// Mark as completed
|
| 1142 |
updateQueueItemStatus(nextItem.id, 'completed');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1143 |
} catch (error) {
|
| 1144 |
// Mark as failed
|
| 1145 |
updateQueueItemStatus(nextItem.id, 'failed');
|
| 1146 |
console.error('Processing error:', error);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1147 |
} finally {
|
| 1148 |
currentProcessingItem = null;
|
| 1149 |
isProcessing = false;
|
|
@@ -1153,322 +545,10 @@
|
|
| 1153 |
}
|
| 1154 |
}
|
| 1155 |
|
| 1156 |
-
//
|
| 1157 |
-
|
| 1158 |
-
const
|
| 1159 |
-
|
| 1160 |
-
|
| 1161 |
-
// Add to processing queue
|
| 1162 |
-
addToQueue(taskName, isPriority);
|
| 1163 |
-
|
| 1164 |
-
try {
|
| 1165 |
-
// Wait for this item to reach the front of the queue
|
| 1166 |
-
while (currentProcessingItem?.id !== processingQueueItems.find(i => i.name === taskName)?.id) {
|
| 1167 |
-
await new Promise(resolve => setTimeout(resolve, 500));
|
| 1168 |
-
}
|
| 1169 |
-
|
| 1170 |
-
const response = await fetch(endpoint, {
|
| 1171 |
-
method: "POST",
|
| 1172 |
-
headers: {
|
| 1173 |
-
"Content-Type": "application/json",
|
| 1174 |
-
"Authorization": "Bearer YOUR_AINIZE_API_KEY"
|
| 1175 |
-
},
|
| 1176 |
-
body: JSON.stringify({
|
| 1177 |
-
prompt: prompt,
|
| 1178 |
-
model: personality.llamaModel,
|
| 1179 |
-
max_tokens: 1000,
|
| 1180 |
-
temperature: 0.7,
|
| 1181 |
-
top_p: 0.9
|
| 1182 |
-
})
|
| 1183 |
-
});
|
| 1184 |
-
|
| 1185 |
-
if (!response.ok) {
|
| 1186 |
-
throw new Error(`LLaMA API error: ${response.status}`);
|
| 1187 |
-
}
|
| 1188 |
-
|
| 1189 |
-
const data = await response.json();
|
| 1190 |
-
return data.choices[0].text;
|
| 1191 |
-
} catch (error) {
|
| 1192 |
-
console.error("Error querying LLaMA 3.2 90B:", error);
|
| 1193 |
-
return `[LLaMA 3.2 90B Error: ${error.message}]`;
|
| 1194 |
-
}
|
| 1195 |
-
}
|
| 1196 |
-
|
| 1197 |
-
// AI Analysis Functions using LLaMA 3.2 90B with queue management
|
| 1198 |
-
async function generateAIAnalysis(prompt, personality, isPriority = false) {
|
| 1199 |
-
// Show typing indicator
|
| 1200 |
-
showTyping(personality);
|
| 1201 |
-
|
| 1202 |
-
// Generate context-specific prompt
|
| 1203 |
-
const analysisPrompt = `As the ${personality.name} (${personality.mbti}, ${personality.archetype}), analyze this post-collapse business opportunity: "${prompt}".
|
| 1204 |
-
Provide your expert analysis focusing on ${personality.analysisStyle}.
|
| 1205 |
-
Include specific recommendations, risk assessments, and potential ROI calculations.
|
| 1206 |
-
Format your response with clear sections and bullet points where appropriate.`;
|
| 1207 |
-
|
| 1208 |
-
// Query LLaMA 3.2 90B with priority status
|
| 1209 |
-
const analysis = await queryLLaMA(analysisPrompt, personality, isPriority);
|
| 1210 |
-
|
| 1211 |
-
// Create task container
|
| 1212 |
-
const taskId = "task-" + Date.now();
|
| 1213 |
-
const taskDiv = document.createElement('div');
|
| 1214 |
-
taskDiv.className = 'task-container';
|
| 1215 |
-
taskDiv.id = taskId;
|
| 1216 |
-
|
| 1217 |
-
// Create task header
|
| 1218 |
-
const taskHeader = document.createElement('div');
|
| 1219 |
-
taskHeader.className = 'task-header';
|
| 1220 |
-
taskHeader.innerHTML = `<i class="fas fa-tasks mr-2"></i>${personality.name}'s LLaMA 3.2 90B Analysis`;
|
| 1221 |
-
|
| 1222 |
-
// Create task content
|
| 1223 |
-
const taskContent = document.createElement('div');
|
| 1224 |
-
taskContent.className = 'task-content';
|
| 1225 |
-
taskContent.textContent = analysis;
|
| 1226 |
-
|
| 1227 |
-
// Add to task div
|
| 1228 |
-
taskDiv.appendChild(taskHeader);
|
| 1229 |
-
taskDiv.appendChild(taskContent);
|
| 1230 |
-
|
| 1231 |
-
// Add to chat
|
| 1232 |
-
typingIndicator.className = `hidden flex items-center space-x-1 mb-2 pl-2`;
|
| 1233 |
-
chatLog.appendChild(taskDiv);
|
| 1234 |
-
chatLog.scrollTop = chatLog.scrollHeight;
|
| 1235 |
-
|
| 1236 |
-
// Also update market insights if this is the first analysis
|
| 1237 |
-
if (aiMarketInsights.textContent.includes('pending')) {
|
| 1238 |
-
const insightsPrompt = `Generate comprehensive market insights based on this query: "${prompt}".
|
| 1239 |
-
Highlight emerging opportunities, risk factors, and recommended actions.
|
| 1240 |
-
Format as a professional market intelligence brief with clear sections.`;
|
| 1241 |
-
|
| 1242 |
-
const marketInsights = await queryLLaMA(insightsPrompt, crew[0], true); // Use Visionary as default with priority
|
| 1243 |
-
aiMarketInsights.textContent = marketInsights;
|
| 1244 |
-
}
|
| 1245 |
-
|
| 1246 |
-
return {
|
| 1247 |
-
name: personality.name,
|
| 1248 |
-
color: personality.color,
|
| 1249 |
-
content: analysis
|
| 1250 |
-
};
|
| 1251 |
-
}
|
| 1252 |
-
|
| 1253 |
-
// Generate marketing plan using LLaMA 3.2 90B with queue management
|
| 1254 |
-
async function generateMarketingPlan(prompt) {
|
| 1255 |
-
// Show collective typing
|
| 1256 |
-
typingIndicator.className = `flex items-center space-x-1 mb-2 pl-2`;
|
| 1257 |
-
typingIndicator.innerHTML = `
|
| 1258 |
-
<span class="text-sm text-gray-400">LLaMA 3.2 90B Miners collaborating:</span>
|
| 1259 |
-
<div class="typing-indicator"></div>
|
| 1260 |
-
<div class="typing-indicator"></div>
|
| 1261 |
-
<div class="typing-indicator"></div>
|
| 1262 |
-
`;
|
| 1263 |
-
|
| 1264 |
-
// Generate comprehensive marketing plan prompt
|
| 1265 |
-
const planPrompt = `Create a detailed post-collapse marketing plan for: "${prompt}".
|
| 1266 |
-
Include sections for:
|
| 1267 |
-
1. Market Analysis (size, segments, competition)
|
| 1268 |
-
2. Product Strategy (positioning, features, tiers)
|
| 1269 |
-
3. Pricing Model (structure, discounts, payment)
|
| 1270 |
-
4. Distribution Channels (physical, digital, partnerships)
|
| 1271 |
-
5. Promotion Strategy (messaging, psychological triggers)
|
| 1272 |
-
6. Performance Metrics (KPIs, targets, timelines)
|
| 1273 |
-
|
| 1274 |
-
Format with clear headings and bullet points. Include specific numbers and calculations where possible.`;
|
| 1275 |
-
|
| 1276 |
-
// Query LLaMA 3.2 90B with priority
|
| 1277 |
-
const planText = await queryLLaMA(planPrompt, crew[1], true); // Use Strategist as default with priority
|
| 1278 |
-
|
| 1279 |
-
// Create plan container
|
| 1280 |
-
const planId = "plan-" + Date.now();
|
| 1281 |
-
const planDiv = document.createElement('div');
|
| 1282 |
-
planDiv.className = 'task-container';
|
| 1283 |
-
planDiv.id = planId;
|
| 1284 |
-
|
| 1285 |
-
const planHeader = document.createElement('div');
|
| 1286 |
-
planHeader.className = 'task-header';
|
| 1287 |
-
planHeader.innerHTML = `<i class="fas fa-chart-network mr-2"></i>LLaMA 3.2 90B Apocalypse Marketing Plan`;
|
| 1288 |
-
|
| 1289 |
-
const planContent = document.createElement('div');
|
| 1290 |
-
planContent.className = 'task-content';
|
| 1291 |
-
planContent.textContent = planText;
|
| 1292 |
-
|
| 1293 |
-
planDiv.appendChild(planHeader);
|
| 1294 |
-
planDiv.appendChild(planContent);
|
| 1295 |
-
|
| 1296 |
-
// Add to chat
|
| 1297 |
-
typingIndicator.className = `hidden flex items-center space-x-1 mb-2 pl-2`;
|
| 1298 |
-
chatLog.appendChild(planDiv);
|
| 1299 |
-
chatLog.scrollTop = chatLog.scrollHeight;
|
| 1300 |
-
|
| 1301 |
-
// Now have each personality add their specialized analysis (with priority)
|
| 1302 |
-
const analyses = [];
|
| 1303 |
-
for (const member of crew) {
|
| 1304 |
-
const analysis = await generateAIAnalysis(prompt, member, true);
|
| 1305 |
-
analyses.push(analysis);
|
| 1306 |
-
}
|
| 1307 |
-
|
| 1308 |
-
return analyses;
|
| 1309 |
-
}
|
| 1310 |
-
|
| 1311 |
-
// Generate dissertation from collected analyses using LLaMA 3.2 90B with queue management
|
| 1312 |
-
async function generateDissertation(prompt, analyses) {
|
| 1313 |
-
// Show dissertation agent typing
|
| 1314 |
-
const dissertationAgent = crew.find(m => m.name === "Dissertation");
|
| 1315 |
-
showTyping(dissertationAgent);
|
| 1316 |
-
|
| 1317 |
-
// Generate dissertation prompt
|
| 1318 |
-
const dissertationPrompt = `Synthesize these analyses into a rigorous academic dissertation on post-collapse economic strategies:
|
| 1319 |
-
${analyses.map(a => `${a.name} Analysis:\n${a.content}`).join('\n\n')}
|
| 1320 |
-
|
| 1321 |
-
Structure with:
|
| 1322 |
-
1. Abstract
|
| 1323 |
-
2. Introduction (research question, significance)
|
| 1324 |
-
3. Literature Review (theoretical framework)
|
| 1325 |
-
4. Methodology
|
| 1326 |
-
5. Findings (organized by theme)
|
| 1327 |
-
6. Discussion (implications, limitations)
|
| 1328 |
-
7. Conclusion (recommendations, future research)
|
| 1329 |
-
8. References (APA format)
|
| 1330 |
-
|
| 1331 |
-
Maintain academic rigor with proper citations and theoretical grounding.`;
|
| 1332 |
-
|
| 1333 |
-
// Query LLaMA 3.2 90B with priority
|
| 1334 |
-
const dissertationContent = await queryLLaMA(dissertationPrompt, dissertationAgent, true);
|
| 1335 |
-
|
| 1336 |
-
// Create dissertation message
|
| 1337 |
-
const messageDiv = document.createElement('div');
|
| 1338 |
-
messageDiv.className = `message bg-yellow-900/70 rounded-lg p-3 ml-0 border border-yellow-700`;
|
| 1339 |
-
|
| 1340 |
-
messageDiv.innerHTML = `
|
| 1341 |
-
<div class="font-bold text-yellow-300">Dissertation (PhD) <span class="archetype-badge bg-yellow-800">The Academic</span>:</div>
|
| 1342 |
-
<p>Based on the collective analyses, I've synthesized a rigorous academic dissertation on this post-collapse economic strategy using LLaMA 3.2 90B. <span class="clickable-topic" id="viewDissertation">Click here to view the full dissertation</span>.</p>
|
| 1343 |
-
`;
|
| 1344 |
-
|
| 1345 |
-
chatLog.appendChild(messageDiv);
|
| 1346 |
-
chatLog.scrollTop = chatLog.scrollHeight;
|
| 1347 |
-
|
| 1348 |
-
// Add to dissertation results window
|
| 1349 |
-
dissertationResultsContent.textContent = dissertationContent;
|
| 1350 |
-
dissertationResults.style.display = 'block';
|
| 1351 |
-
toggleDissertationResults.innerHTML = '<i class="fas fa-chevron-up mr-1"></i> Hide Dissertation Results';
|
| 1352 |
-
|
| 1353 |
-
// Add click handler to view dissertation in modal
|
| 1354 |
-
document.getElementById('viewDissertation').addEventListener('click', function() {
|
| 1355 |
-
showDissertation(prompt, analyses, dissertationContent);
|
| 1356 |
-
});
|
| 1357 |
-
}
|
| 1358 |
-
|
| 1359 |
-
// Show dissertation in modal
|
| 1360 |
-
function showDissertation(prompt, analyses, content) {
|
| 1361 |
-
// Insert content into dissertation body
|
| 1362 |
-
dissertationBody.innerHTML = `
|
| 1363 |
-
<div class="dissertation-section">
|
| 1364 |
-
<h3 class="text-xl font-bold gold-text mb-3">LLaMA 3.2 90B Dissertation</h3>
|
| 1365 |
-
<div class="whitespace-pre-wrap">${content}</div>
|
| 1366 |
-
</div>
|
| 1367 |
-
`;
|
| 1368 |
-
|
| 1369 |
-
// Show modal
|
| 1370 |
-
dissertationModal.style.display = 'block';
|
| 1371 |
-
}
|
| 1372 |
-
|
| 1373 |
-
// Highlight clicked topic
|
| 1374 |
-
function highlightTopic(element) {
|
| 1375 |
-
element.classList.add('highlight');
|
| 1376 |
-
setTimeout(() => {
|
| 1377 |
-
element.classList.remove('highlight');
|
| 1378 |
-
}, 1500);
|
| 1379 |
-
}
|
| 1380 |
-
|
| 1381 |
-
// Show typing indicator
|
| 1382 |
-
function showTyping(member) {
|
| 1383 |
-
typingIndicator.className = `flex items-center space-x-1 mb-2 pl-2`;
|
| 1384 |
-
typingIndicator.innerHTML = `
|
| 1385 |
-
<span class="text-sm text-gray-400">${member.name} (LLaMA 3.2 90B) typing:</span>
|
| 1386 |
-
<div class="typing-indicator"></div>
|
| 1387 |
-
<div class="typing-indicator"></div>
|
| 1388 |
-
<div class="typing-indicator"></div>
|
| 1389 |
-
`;
|
| 1390 |
-
}
|
| 1391 |
-
|
| 1392 |
-
// Miner head clicks
|
| 1393 |
-
document.querySelectorAll('.miner-head').forEach(head => {
|
| 1394 |
-
head.addEventListener('click', function() {
|
| 1395 |
-
const memberName = this.getAttribute('data-member');
|
| 1396 |
-
const member = crew.find(m => m.name.toLowerCase() === memberName);
|
| 1397 |
|
| 1398 |
-
|
| 1399 |
-
|
| 1400 |
-
setTimeout(() => {
|
| 1401 |
-
typingIndicator.className = `hidden flex items-center space-x-1 mb-2 pl-2`;
|
| 1402 |
-
|
| 1403 |
-
const messageDiv = document.createElement('div');
|
| 1404 |
-
messageDiv.className = `message bg-${member.color}-900/70 rounded-lg p-3 ml-0 border border-${member.color}-700`;
|
| 1405 |
-
|
| 1406 |
-
messageDiv.innerHTML = `
|
| 1407 |
-
<div class="font-bold text-${member.color}-300">${member.name} (${member.mbti}) <span class="archetype-badge bg-${member.color}-800">${member.archetype}</span>:</div>
|
| 1408 |
-
<p><strong>Personality:</strong> ${member.personality}</p>
|
| 1409 |
-
<p><strong>Style:</strong> ${member.style}</p>
|
| 1410 |
-
<p><strong>Profit Strategy:</strong> ${member.profitStrategy}</p>
|
| 1411 |
-
<p><strong>LLaMA 3.2 90B Module:</strong> ${member.llamaModel}</p>
|
| 1412 |
-
`;
|
| 1413 |
-
|
| 1414 |
-
chatLog.appendChild(messageDiv);
|
| 1415 |
-
chatLog.scrollTop = chatLog.scrollHeight;
|
| 1416 |
-
}, 1500);
|
| 1417 |
-
});
|
| 1418 |
-
});
|
| 1419 |
-
|
| 1420 |
-
// User message sending
|
| 1421 |
-
sendButton.addEventListener('click', sendMessage);
|
| 1422 |
-
userInput.addEventListener('keypress', function(e) {
|
| 1423 |
-
if (e.key === 'Enter') sendMessage();
|
| 1424 |
-
});
|
| 1425 |
-
|
| 1426 |
-
async function sendMessage() {
|
| 1427 |
-
const message = userInput.value.trim();
|
| 1428 |
-
if (message === '') return;
|
| 1429 |
-
|
| 1430 |
-
// Add user message
|
| 1431 |
-
const userMessageDiv = document.createElement('div');
|
| 1432 |
-
userMessageDiv.className = 'message bg-gray-600 rounded-lg p-3 ml-auto border border-gray-500';
|
| 1433 |
-
userMessageDiv.innerHTML = `
|
| 1434 |
-
<div class="font-bold text-gray-300">You:</div>
|
| 1435 |
-
<p>${message}</p>
|
| 1436 |
-
`;
|
| 1437 |
-
|
| 1438 |
-
chatLog.appendChild(userMessageDiv);
|
| 1439 |
-
userInput.value = '';
|
| 1440 |
-
chatLog.scrollTop = chatLog.scrollHeight;
|
| 1441 |
-
|
| 1442 |
-
// Check if this is a request for marketing plan
|
| 1443 |
-
if (message.toLowerCase().includes("marketing plan") ||
|
| 1444 |
-
message.toLowerCase().includes("create a plan") ||
|
| 1445 |
-
message.toLowerCase().includes("develop a strategy")) {
|
| 1446 |
-
await generateMarketingPlan(message);
|
| 1447 |
-
return;
|
| 1448 |
-
}
|
| 1449 |
-
|
| 1450 |
-
// Check if this is a request for dissertation
|
| 1451 |
-
if (message.toLowerCase().includes("dissertation") ||
|
| 1452 |
-
message.toLowerCase().includes("academic paper") ||
|
| 1453 |
-
message.toLowerCase().includes("research paper")) {
|
| 1454 |
-
// First get all miner analyses
|
| 1455 |
-
const analyses = [];
|
| 1456 |
-
for (const member of crew) {
|
| 1457 |
-
const analysis = await generateAIAnalysis(message, member, true); // Priority
|
| 1458 |
-
analyses.push(analysis);
|
| 1459 |
-
}
|
| 1460 |
-
|
| 1461 |
-
// Then generate dissertation
|
| 1462 |
-
await generateDissertation(message, analyses);
|
| 1463 |
-
return;
|
| 1464 |
-
}
|
| 1465 |
-
|
| 1466 |
-
// Otherwise, have all personalities analyze the message (with priority)
|
| 1467 |
-
for (const member of crew) {
|
| 1468 |
-
await generateAIAnalysis(message, member, true);
|
| 1469 |
-
}
|
| 1470 |
-
}
|
| 1471 |
-
});
|
| 1472 |
-
</script>
|
| 1473 |
-
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=MarcRyan/mastermind-comms" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 1474 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Multi-Model AI Miner - LLaMA 3.2 Priority</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script>
|
| 9 |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
|
|
| 15 |
100% { transform: translateY(0px); }
|
| 16 |
}
|
| 17 |
|
| 18 |
+
.model-icon {
|
| 19 |
animation: float 4s ease-in-out infinite;
|
| 20 |
transition: all 0.3s ease;
|
| 21 |
border: 2px solid;
|
| 22 |
cursor: pointer;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
.model-icon:hover {
|
| 26 |
transform: scale(1.05) !important;
|
| 27 |
animation-play-state: paused;
|
| 28 |
}
|
| 29 |
|
| 30 |
+
.llama {
|
| 31 |
animation-delay: 0s;
|
| 32 |
border-color: #3b82f6;
|
| 33 |
}
|
| 34 |
|
| 35 |
+
.gemma {
|
| 36 |
animation-delay: 0.5s;
|
| 37 |
border-color: #ef4444;
|
| 38 |
}
|
| 39 |
|
| 40 |
+
.hermes {
|
| 41 |
animation-delay: 1s;
|
| 42 |
border-color: #10b981;
|
| 43 |
}
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
.chat-container {
|
| 46 |
+
height: 600px;
|
| 47 |
overflow-y: auto;
|
| 48 |
scrollbar-width: thin;
|
| 49 |
scrollbar-color: #4b5563 #1f2937;
|
|
|
|
| 90 |
50% { transform: translateY(-5px); }
|
| 91 |
}
|
| 92 |
|
| 93 |
+
.model-badge {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
background: linear-gradient(135deg, #6b46c1 0%, #3b82f6 100%);
|
| 95 |
color: white;
|
| 96 |
padding: 2px 6px;
|
|
|
|
| 176 |
border-radius: 4px;
|
| 177 |
margin-left: 5px;
|
| 178 |
}
|
| 179 |
+
|
| 180 |
+
.task-container {
|
| 181 |
+
background: rgba(30, 41, 59, 0.8);
|
| 182 |
+
border: 1px solid #334155;
|
| 183 |
+
border-radius: 8px;
|
| 184 |
+
padding: 15px;
|
| 185 |
+
margin: 10px 0;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.task-header {
|
| 189 |
+
font-weight: bold;
|
| 190 |
+
color: #f59e0b;
|
| 191 |
+
margin-bottom: 8px;
|
| 192 |
+
display: flex;
|
| 193 |
+
align-items: center;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.task-content {
|
| 197 |
+
background: rgba(15, 23, 42, 0.5);
|
| 198 |
+
padding: 10px;
|
| 199 |
+
border-radius: 5px;
|
| 200 |
+
font-family: monospace;
|
| 201 |
+
white-space: pre-wrap;
|
| 202 |
+
font-size: 0.9rem;
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
.model-analysis {
|
| 206 |
+
border-left: 4px solid;
|
| 207 |
+
padding: 10px;
|
| 208 |
+
margin: 10px 0;
|
| 209 |
+
border-radius: 0 5px 5px 0;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.llama-analysis {
|
| 213 |
+
border-left-color: #3b82f6;
|
| 214 |
+
background: rgba(59, 130, 246, 0.1);
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
.gemma-analysis {
|
| 218 |
+
border-left-color: #ef4444;
|
| 219 |
+
background: rgba(239, 68, 68, 0.1);
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.hermes-analysis {
|
| 223 |
+
border-left-color: #10b981;
|
| 224 |
+
background: rgba(16, 185, 129, 0.1);
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
@keyframes pulse {
|
| 228 |
+
0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
|
| 229 |
+
70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
|
| 230 |
+
100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.highlight {
|
| 234 |
+
animation: highlight-pulse 1.5s ease-out;
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
@keyframes highlight-pulse {
|
| 238 |
+
0% { background-color: rgba(245, 158, 11, 0); }
|
| 239 |
+
50% { background-color: rgba(245, 158, 11, 0.3); }
|
| 240 |
+
100% { background-color: rgba(245, 158, 11, 0); }
|
| 241 |
+
}
|
| 242 |
</style>
|
| 243 |
</head>
|
| 244 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
<!-- Processing Queue -->
|
| 246 |
<div class="processing-queue" id="processingQueue">
|
| 247 |
<div class="queue-header">
|
| 248 |
+
<span><i class="fas fa-tasks mr-2"></i>AI Processing Queue</span>
|
| 249 |
<span id="queueCount">0</span>
|
| 250 |
</div>
|
| 251 |
<div id="queueItems">
|
|
|
|
| 254 |
</div>
|
| 255 |
|
| 256 |
<div class="container mx-auto px-4 py-8">
|
| 257 |
+
<h1 class="text-4xl font-bold text-center mb-8 text-yellow-500">
|
| 258 |
+
<i class="fas fa-robot mr-2"></i>Multi-Model AI Miner
|
| 259 |
<i class="fas fa-brain ml-2"></i>
|
|
|
|
| 260 |
</h1>
|
| 261 |
|
| 262 |
+
<div class="text-center mb-8">
|
| 263 |
+
<p class="text-lg text-gray-400">Priority processing for LLaMA 3.2 90B - Miners will wait for LLaMA completion before proceeding</p>
|
| 264 |
+
</div>
|
| 265 |
+
|
| 266 |
<div class="grid grid-cols-1 md:grid-cols-1 gap-6 mb-8">
|
| 267 |
+
<!-- Model Selection -->
|
| 268 |
+
<div class="bg-gray-800 rounded-lg p-6 shadow-lg border border-gray-700">
|
| 269 |
+
<h2 class="text-2xl font-semibold mb-4 text-yellow-500">
|
| 270 |
+
<i class="fas fa-microchip mr-2"></i>Available AI Models
|
| 271 |
+
</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 272 |
|
| 273 |
+
<div class="flex flex-wrap justify-center gap-8 mb-6">
|
| 274 |
+
<!-- LLaMA 3.2 -->
|
| 275 |
+
<div class="text-center">
|
| 276 |
+
<div class="model-icon llama bg-blue-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl mx-auto mb-2" data-model="llama">
|
| 277 |
+
<i class="fas fa-brain"></i>
|
|
|
|
| 278 |
</div>
|
| 279 |
+
<h3 class="font-bold text-blue-400">LLaMA 3.2 90B</h3>
|
| 280 |
+
<p class="text-xs text-gray-400">Priority Model</p>
|
| 281 |
+
<div class="model-badge mt-1">LLaMA 3.2</div>
|
| 282 |
</div>
|
| 283 |
+
|
| 284 |
+
<!-- Gemma 3 -->
|
| 285 |
+
<div class="text-center">
|
| 286 |
+
<div class="model-icon gemma bg-red-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl mx-auto mb-2" data-model="gemma">
|
| 287 |
+
<i class="fas fa-gem"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
</div>
|
| 289 |
+
<h3 class="font-bold text-red-400">Gemma 3:1B</h3>
|
| 290 |
+
<p class="text-xs text-gray-400">Fast Inference</p>
|
| 291 |
+
<div class="model-badge mt-1" style="background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);">Gemma 3</div>
|
| 292 |
</div>
|
| 293 |
+
|
| 294 |
+
<!-- Hermes 2 -->
|
| 295 |
+
<div class="text-center">
|
| 296 |
+
<div class="model-icon hermes bg-green-900/50 w-20 h-20 rounded-full flex items-center justify-center text-3xl mx-auto mb-2" data-model="hermes">
|
| 297 |
+
<i class="fas fa-feather-alt"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 298 |
</div>
|
| 299 |
+
<h3 class="font-bold text-green-400">Nous-Hermes 2</h3>
|
| 300 |
+
<p class="text-xs text-gray-400">Creative Output</p>
|
| 301 |
+
<div class="model-badge mt-1" style="background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);">Hermes 2</div>
|
| 302 |
</div>
|
| 303 |
</div>
|
| 304 |
|
| 305 |
+
<div class="bg-gray-700/50 p-4 rounded-lg border border-gray-600 mb-6">
|
| 306 |
+
<h3 class="font-bold text-yellow-500 mb-2"><i class="fas fa-info-circle mr-2"></i>Model Priority System</h3>
|
| 307 |
+
<ul class="space-y-2 text-sm">
|
| 308 |
+
<li><span class="font-medium text-blue-400">LLaMA 3.2 90B:</span> Highest priority - miners will wait for completion</li>
|
| 309 |
+
<li><span class="font-medium text-red-400">Gemma 3:1B:</span> Fast responses for less critical tasks</li>
|
| 310 |
+
<li><span class="font-medium text-green-400">Nous-Hermes 2:</span> Creative tasks when LLaMA is busy</li>
|
| 311 |
+
<li><span class="font-medium text-yellow-400">Queue System:</span> Ensures LLaMA tasks complete before others proceed</li>
|
| 312 |
+
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 313 |
</div>
|
| 314 |
</div>
|
| 315 |
|
| 316 |
+
<!-- Chat Interface -->
|
| 317 |
<div class="bg-gray-800 rounded-lg p-6 shadow-lg border border-gray-700">
|
| 318 |
+
<h2 class="text-2xl font-semibold mb-4 text-yellow-500">
|
| 319 |
+
<i class="fas fa-comments mr-2"></i>Multi-Model Analysis
|
| 320 |
</h2>
|
| 321 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
<div class="chat-container bg-gray-700 rounded-lg p-4 mb-4 border border-gray-600">
|
| 323 |
<div id="chatLog" class="space-y-3">
|
| 324 |
<div class="message bg-blue-900/70 rounded-lg p-3 ml-0 border border-blue-700">
|
| 325 |
+
<div class="font-bold text-blue-300">System <span class="model-badge">LLaMA 3.2</span>:</div>
|
| 326 |
+
<p>Welcome to the Multi-Model AI Miner. Your LLaMA 3.2 90B requests will be prioritized. Other models will wait for LLaMA completion before proceeding.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 327 |
</div>
|
| 328 |
</div>
|
| 329 |
</div>
|
| 330 |
+
|
| 331 |
<div id="typingIndicator" class="hidden flex items-center space-x-1 mb-2 pl-2">
|
| 332 |
+
<span class="text-sm text-gray-400">AI typing:</span>
|
| 333 |
<div class="typing-indicator"></div>
|
| 334 |
<div class="typing-indicator"></div>
|
| 335 |
<div class="typing-indicator"></div>
|
| 336 |
</div>
|
| 337 |
+
|
| 338 |
<div class="flex space-x-2">
|
| 339 |
+
<input type="text" id="userInput" placeholder="Enter your query (specify model if needed)..." class="flex-1 bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-700 border border-gray-600 placeholder-gray-500">
|
| 340 |
<button id="sendButton" class="bg-yellow-700 hover:bg-yellow-800 text-gray-100 font-bold px-4 py-2 rounded-lg transition border border-yellow-800">
|
| 341 |
<i class="fas fa-paper-plane mr-1"></i>Send
|
| 342 |
</button>
|
| 343 |
</div>
|
| 344 |
+
|
| 345 |
+
<div class="mt-4 flex flex-wrap gap-2">
|
| 346 |
+
<button class="model-prompt bg-blue-900/50 hover:bg-blue-800 text-blue-100 font-bold px-3 py-1 rounded-lg transition border border-blue-700 text-sm" data-model="llama">
|
| 347 |
+
<i class="fas fa-brain mr-1"></i>Ask LLaMA 3.2
|
| 348 |
+
</button>
|
| 349 |
+
<button class="model-prompt bg-red-900/50 hover:bg-red-800 text-red-100 font-bold px-3 py-1 rounded-lg transition border border-red-700 text-sm" data-model="gemma">
|
| 350 |
+
<i class="fas fa-gem mr-1"></i>Ask Gemma 3
|
| 351 |
+
</button>
|
| 352 |
+
<button class="model-prompt bg-green-900/50 hover:bg-green-800 text-green-100 font-bold px-3 py-1 rounded-lg transition border border-green-700 text-sm" data-model="hermes">
|
| 353 |
+
<i class="fas fa-feather-alt mr-1"></i>Ask Hermes 2
|
| 354 |
+
</button>
|
| 355 |
+
<button class="model-prompt bg-purple-900/50 hover:bg-purple-800 text-purple-100 font-bold px-3 py-1 rounded-lg transition border border-purple-700 text-sm" data-model="all">
|
| 356 |
+
<i class="fas fa-robot mr-1"></i>Ask All Models
|
|
|
|
|
|
|
| 357 |
</button>
|
|
|
|
|
|
|
|
|
|
| 358 |
</div>
|
| 359 |
</div>
|
| 360 |
</div>
|
|
|
|
| 366 |
const userInput = document.getElementById('userInput');
|
| 367 |
const sendButton = document.getElementById('sendButton');
|
| 368 |
const typingIndicator = document.getElementById('typingIndicator');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 369 |
const processingQueue = document.getElementById('processingQueue');
|
| 370 |
const queueItems = document.getElementById('queueItems');
|
| 371 |
const queueCount = document.getElementById('queueCount');
|
| 372 |
+
const modelPrompts = document.querySelectorAll('.model-prompt');
|
| 373 |
|
| 374 |
+
// Available models
|
| 375 |
+
const models = {
|
| 376 |
+
llama: {
|
| 377 |
+
name: "LLaMA 3.2 90B",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 378 |
color: "blue",
|
| 379 |
+
icon: "brain",
|
| 380 |
+
description: "Most advanced model with priority processing",
|
| 381 |
+
endpoint: "http://localhost:11434/api/generate",
|
| 382 |
+
isPriority: true
|
|
|
|
|
|
|
|
|
|
| 383 |
},
|
| 384 |
+
gemma: {
|
| 385 |
+
name: "Gemma 3:1B",
|
|
|
|
|
|
|
| 386 |
color: "red",
|
| 387 |
+
icon: "gem",
|
| 388 |
+
description: "Fast inference for less critical tasks",
|
| 389 |
+
endpoint: "http://localhost:11434/api/generate",
|
| 390 |
+
isPriority: false
|
|
|
|
|
|
|
|
|
|
| 391 |
},
|
| 392 |
+
hermes: {
|
| 393 |
+
name: "Nous-Hermes 2",
|
|
|
|
|
|
|
| 394 |
color: "green",
|
| 395 |
+
icon: "feather-alt",
|
| 396 |
+
description: "Creative and nuanced responses",
|
| 397 |
+
endpoint: "http://localhost:11434/api/generate",
|
| 398 |
+
isPriority: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 399 |
}
|
| 400 |
+
};
|
| 401 |
+
|
| 402 |
+
// Processing queue management
|
| 403 |
+
let processingQueueItems = [];
|
| 404 |
+
let currentProcessingItem = null;
|
| 405 |
+
let isProcessing = false;
|
| 406 |
|
| 407 |
// Add item to processing queue
|
| 408 |
+
function addToQueue(itemName, model, isPriority = false) {
|
| 409 |
const queueItem = {
|
| 410 |
id: Date.now(),
|
| 411 |
name: itemName,
|
| 412 |
+
model: model,
|
| 413 |
status: 'pending',
|
| 414 |
timestamp: new Date(),
|
| 415 |
+
isPriority: isPriority || models[model].isPriority
|
| 416 |
};
|
| 417 |
|
| 418 |
// Add to beginning if priority, else to end
|
| 419 |
+
if (queueItem.isPriority) {
|
| 420 |
processingQueueItems.unshift(queueItem);
|
| 421 |
} else {
|
| 422 |
processingQueueItems.push(queueItem);
|
|
|
|
| 424 |
|
| 425 |
updateQueueDisplay();
|
| 426 |
processQueue();
|
| 427 |
+
|
| 428 |
+
return queueItem.id;
|
| 429 |
}
|
| 430 |
|
| 431 |
// Update queue item status
|
|
|
|
| 463 |
case 'failed': statusClass = 'status-failed'; break;
|
| 464 |
}
|
| 465 |
|
| 466 |
+
const modelColor = models[item.model] ? models[item.model].color : 'gray';
|
| 467 |
+
|
| 468 |
itemDiv.innerHTML = `
|
| 469 |
<div class="queue-status ${statusClass}"></div>
|
| 470 |
<div class="queue-item-name">
|
| 471 |
${item.name}
|
| 472 |
${item.isPriority ? '<span class="priority-badge">PRIORITY</span>' : ''}
|
| 473 |
+
<span class="text-xs text-${modelColor}-400">${models[item.model]?.name || item.model}</span>
|
| 474 |
</div>
|
| 475 |
<div class="queue-item-time">${formatTime(item.timestamp)}</div>
|
| 476 |
`;
|
|
|
|
| 507 |
currentProcessingItem = nextItem;
|
| 508 |
|
| 509 |
try {
|
| 510 |
+
// Simulate processing delay based on model
|
| 511 |
+
let processingTime = 2000; // Default
|
| 512 |
+
if (nextItem.model === 'llama') processingTime = 3000;
|
| 513 |
+
else if (nextItem.model === 'gemma') processingTime = 1000;
|
| 514 |
+
else if (nextItem.model === 'hermes') processingTime = 1500;
|
| 515 |
+
|
| 516 |
+
await new Promise(resolve => setTimeout(resolve, processingTime));
|
| 517 |
|
| 518 |
// Mark as completed
|
| 519 |
updateQueueItemStatus(nextItem.id, 'completed');
|
| 520 |
+
|
| 521 |
+
// Generate response
|
| 522 |
+
const response = generateResponse(nextItem.name, nextItem.model);
|
| 523 |
+
displayResponse(response, nextItem.model);
|
| 524 |
+
|
| 525 |
} catch (error) {
|
| 526 |
// Mark as failed
|
| 527 |
updateQueueItemStatus(nextItem.id, 'failed');
|
| 528 |
console.error('Processing error:', error);
|
| 529 |
+
|
| 530 |
+
// Show error message
|
| 531 |
+
const errorDiv = document.createElement('div');
|
| 532 |
+
errorDiv.className = `message bg-red-900/70 rounded-lg p-3 ml-0 border border-red-700`;
|
| 533 |
+
errorDiv.innerHTML = `
|
| 534 |
+
<div class="font-bold text-red-300">System Error:</div>
|
| 535 |
+
<p>Failed to process ${models[nextItem.model]?.name || nextItem.model} request: ${error.message}</p>
|
| 536 |
+
`;
|
| 537 |
+
chatLog.appendChild(errorDiv);
|
| 538 |
+
chatLog.scrollTop = chatLog.scrollHeight;
|
| 539 |
} finally {
|
| 540 |
currentProcessingItem = null;
|
| 541 |
isProcessing = false;
|
|
|
|
| 545 |
}
|
| 546 |
}
|
| 547 |
|
| 548 |
+
// Generate mock response based on model
|
| 549 |
+
function generateResponse(prompt, model) {
|
| 550 |
+
const responses = {
|
| 551 |
+
llama: `LLaMA 3.2 90B Analysis (Priority Processed):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 552 |
|
| 553 |
+
Based on
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 554 |
</html>
|
prompts.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
re-design the code of the miners to use Ainize LLaMA 3.2 90B API to take overand replce all of their all of "grok" api functions now as well as the main LLM for creating all the diseratations. make sure the entire website undertands and gives and turns absolute priority and all work to "LLaMA 3.2 90B API"
|
| 2 |
ensure the bots all allow LLaMA to take all the time it needs to fill each and every request
|
| 3 |
-
The application should now be fully operational with LLaMA 3.2 90B API as the exclusive AI provider make it so the miners understand to give priority to the LLaMA wait times and not move on until the process can be complted correctly
|
|
|
|
|
|
| 1 |
re-design the code of the miners to use Ainize LLaMA 3.2 90B API to take overand replce all of their all of "grok" api functions now as well as the main LLM for creating all the diseratations. make sure the entire website undertands and gives and turns absolute priority and all work to "LLaMA 3.2 90B API"
|
| 2 |
ensure the bots all allow LLaMA to take all the time it needs to fill each and every request
|
| 3 |
+
The application should now be fully operational with LLaMA 3.2 90B API as the exclusive AI provider make it so the miners understand to give priority to the LLaMA wait times and not move on until the process can be complted correctly
|
| 4 |
+
ollama run gemma3:1b ollama run nous-hermes2 ollama run llama3.2:1b
|