rakis / demos /ai.html
hrishioa's picture
Upload 77 files
cbacdac verified
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/3d3edf2fd4cc037f.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/2aafeea248cede9a.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-4b599eee1b124fec.js"/><script src="/_next/static/chunks/fd9d1056-a13296a158fa50d4.js" async=""></script><script src="/_next/static/chunks/23-c30270c4d93da1b8.js" async=""></script><script src="/_next/static/chunks/main-app-4b489319a554267b.js" async=""></script><script src="/_next/static/chunks/fbe89ba5-ea4372ca5587d1f3.js" async=""></script><script src="/_next/static/chunks/0e5ce63c-06490805b4fe70ef.js" async=""></script><script src="/_next/static/chunks/868-984cc4aa9dbc4378.js" async=""></script><script src="/_next/static/chunks/708-689e257ca99149f8.js" async=""></script><script src="/_next/static/chunks/33-f90c43df2effeab7.js" async=""></script><script src="/_next/static/chunks/297-5cd3572cb54de033.js" async=""></script><script src="/_next/static/chunks/786-27c6123eb7ab9aa9.js" async=""></script><script src="/_next/static/chunks/207-b92e6bc9e3af501d.js" async=""></script><script src="/_next/static/chunks/136-cd893a48277c7262.js" async=""></script><script src="/_next/static/chunks/672-257b7dc12a5c66f0.js" async=""></script><script src="/_next/static/chunks/483-34b8de39266be54b.js" async=""></script><script src="/_next/static/chunks/app/demos/ai/page-469346083790c5ed.js" async=""></script><script src="/_next/static/chunks/813-8ec1b80a2351afac.js" async=""></script><script src="/_next/static/chunks/app/layout-0cf6552b64d9b4ea.js" async=""></script><link rel="icon" href="/favicon.ico" sizes="any"/><title>Rakis</title><meta name="description" content="Decentralized inference in the browser"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="min-h-screen bg-background font-sans antialiased __variable_aaf875"><div data-is-root-theme="true" data-accent-color="violet" data-gray-color="slate" data-has-background="true" data-panel-background="translucent" data-radius="medium" data-scaling="100%" class="radix-themes"><div role="region" aria-label="Notifications (F8)" tabindex="-1" style="pointer-events:none"><ol tabindex="-1" class="fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]"></ol></div><div class="flex flex-col min-h-screen"><div class="flex items-center justify-between p-4 bg-gray-100"><h1 class="text-2xl font-bold">LLM Testing</h1><div class="flex items-center space-x-4"><span class="text-lg">Global Average TPS:<!-- --> <span class="font-bold">0.0</span></span><textarea class="flex min-h-[60px] rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 w-80" placeholder="Enter prompt..."></textarea><button class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground shadow hover:bg-primary/90 h-9 px-4 py-2">Send to All</button></div><button class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground h-9 px-4 py-2">Show Log</button></div><div class="flex-grow p-4"><div class="flex justify-end mb-4 items-center"><button type="button" role="combobox" aria-controls="radix-:R2l7rrqja:" aria-expanded="false" aria-autocomplete="none" dir="ltr" data-state="closed" class="flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&amp;&gt;span]:line-clamp-1 w-70"><span style="pointer-events:none"></span><svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 opacity-50" aria-hidden="true"><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></button><select aria-hidden="true" tabindex="-1" style="position:absolute;border:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;word-wrap:normal"></select><button class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground shadow hover:bg-primary/90 h-9 px-4 py-2 ml-4">Spawn Worker</button><span class="ml-6">Embedding Workers:</span><div class="ml-4 flex items-center"><button class="inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground shadow hover:bg-primary/90 h-8 rounded-md text-xs w-8 p-0">-</button><span class="mx-2">0</span><button class="inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground shadow hover:bg-primary/90 h-8 rounded-md text-xs w-8 p-0">+</button></div></div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"></div></div><div class="fixed top-0 right-0 bottom-0 w-96 bg-white p-4 shadow-lg transition-transform duration-300 ease-in-out border-l border-gray-200 translate-x-full"><div class="flex items-center justify-between mb-4"><h2 class="text-xl font-bold">Engine Log</h2><button class="inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 hover:bg-accent hover:text-accent-foreground h-8 rounded-md text-xs p-0"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x h-4 w-4"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg><span class="sr-only">Close</span></button></div><div class="space-y-2 overflow-auto max-h-[calc(100vh-8rem)]"></div></div></div></div><script src="/_next/static/chunks/webpack-4b599eee1b124fec.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/3d3edf2fd4cc037f.css\",\"style\"]\n3:HL[\"/_next/static/css/2aafeea248cede9a.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[95751,[],\"\"]\n6:I[66513,[],\"ClientPageRoot\"]\n7:I[56030,[\"333\",\"static/chunks/fbe89ba5-ea4372ca5587d1f3.js\",\"310\",\"static/chunks/0e5ce63c-06490805b4fe70ef.js\",\"868\",\"static/chunks/868-984cc4aa9dbc4378.js\",\"708\",\"static/chunks/708-689e257ca99149f8.js\",\"33\",\"static/chunks/33-f90c43df2effeab7.js\",\"297\",\"static/chunks/297-5cd3572cb54de033.js\",\"786\",\"static/chunks/786-27c6123eb7ab9aa9.js\",\"207\",\"static/chunks/207-b92e6bc9e3af501d.js\",\"136\",\"static/chunks/136-cd893a48277c7262.js\",\"672\",\"static/chunks/672-257b7dc12a5c66f0.js\",\"483\",\"static/chunks/483-34b8de39266be54b.js\",\"760\",\"static/chunks/app/demos/ai/page-469346083790c5ed.js\"],\"default\"]\n8:I[39275,[],\"\"]\n9:I[61343,[],\"\"]\na:I[29340,[\"310\",\"static/chunks/0e5ce63c-06490805b4fe70ef.js\",\"868\",\"static/chunks/868-984cc4aa9dbc4378.js\",\"297\",\"static/chunks/297-5cd3572cb54de033.js\",\"786\",\"static/chunks/786-27c6123eb7ab9aa9.js\",\"813\",\"static/chunks/813-8ec1b80a2351afac.js\",\"185\",\"static/chunks/app/layout-0cf6552b64d9b4ea.js\"],\"Theme\"]\nb:I[42371,[\"310\",\"static/chunks/0e5ce63c-06490805b4fe70ef.js\",\"868\",\"static/chunks/868-984cc4aa9dbc4378.js\",\"297\",\"static/chunks/297-5cd3572cb54de033.js\",\"786\",\"static/chunks/786-27c6123eb7ab9aa9.js\",\"813\",\"static/chunks/813-8ec1b80a2351afac.js\",\"185\",\"static/chunks/app/layout-0cf6552b64d9b4ea.js\"],\"Toaster\"]\nc:I[51164,[\"310\",\"static/chunks/0e5ce63c-06490805b4fe70ef.js\",\"868\",\"static/chunks/868-984cc4aa9dbc4378.js\",\"297\",\"static/chunks/297-5cd3572cb54de033.js\",\"786\",\"static/chunks/786-27c6123eb7ab9aa9.js\",\"813\",\"static/chunks/813-8ec1b80a2351afac.js\",\"185\",\"static/chunks/app/layout-0cf6552b64d9b4ea.js\"],\"Analytics\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/3d3edf2fd4cc037f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2aafeea248cede9a.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"TfiCtbeWlKKfplFMPj6nL\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/demos/ai\",\"initialTree\":[\"\",{\"children\":[\"demos\",{\"children\":[\"ai\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"demos\",{\"children\":[\"ai\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}]],null],null]},[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"demos\",\"children\",\"ai\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"demos\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"suppressHydrationWarning\":true,\"className\":\"min-h-screen bg-background font-sans antialiased __variable_aaf875\",\"children\":[[\"$\",\"link\",null,{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"sizes\":\"any\"}],[\"$\",\"$La\",null,{\"accentColor\":\"violet\",\"grayColor\":\"slate\",\"radius\":\"medium\",\"scaling\":\"100%\",\"children\":[[\"$\",\"$Lb\",null,{}],[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]]}],[\"$\",\"$Lc\",null,{}]]}]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Rakis\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Decentralized inference in the browser\"}],[\"$\",\"meta\",\"4\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script></body></html>