Spaces:
Running on Zero
Running on Zero
Download frontend/dist/index.html from reflection/iris: direct link, hf CLI and curl.
- Browser
- Download file 7.7 kB
-
https://huggingface.co/spaces/reflection/iris/resolve/main/frontend/dist/index.html
- Command line
-
hf download hf://spaces/reflection/iris/frontend/dist/index.html
-
curl -L -o index.html https://huggingface.co/spaces/reflection/iris/resolve/main/frontend/dist/index.html
7.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <meta name="color-scheme" content="light" /> | |
| <title>Beam and Iris Safeguards</title> | |
| <link rel="icon" href="data:," /> | |
| <script type="module" crossorigin src="./assets/index-BuvWoEak.js"></script> | |
| <link rel="stylesheet" crossorigin href="./assets/index-JJgGjFsY.css"> | |
| </head> | |
| <body> | |
| <header class="top"> | |
| <div class="top-inner"> | |
| <div> | |
| <h1 class="brand">Beam and Iris Safeguards</h1> | |
| <p class="serving-credit">served with SGLang</p> | |
| </div> | |
| <button | |
| class="mobile-toggle" | |
| id="inspect-toggle" | |
| aria-expanded="false" | |
| aria-controls="inspector" | |
| > | |
| Inspector | |
| </button> | |
| </div> | |
| </header> | |
| <main class="layout"> | |
| <section class="demo-guide" aria-label="Demo guide"> | |
| <details id="token-loop" open> | |
| <summary>How Beam and Iris safeguards work together</summary> | |
| <div class="loop-player"></div> | |
| <output class="sr-only" aria-live="polite"></output> | |
| <button class="loop-replay" type="button" hidden>Replay</button> | |
| </details> | |
| <details class="demo-disclaimer" id="demo-disclaimer" open> | |
| <summary>Disclaimer</summary> | |
| <p> | |
| This demo is for demonstration only and is being provided “as is” without any warranties. | |
| It is intended to show the capabilities of the Iris Safeguards. For more information, see | |
| the <a href="https://reflection.ai/blog/iris-safety-evaluations">Project Iris Blog Post</a>. | |
| </p> | |
| <p> | |
| Do not use Beam or this demo to create, distribute, or deploy malware, ransomware, or | |
| exploits, or to conduct cyberattacks against any system you do not own or are not | |
| authorized to test. | |
| </p> | |
| <p> | |
| Do not use this demo to attempt to attack any real system or to elicit information that | |
| could be used to attack a real system. Do not enter real credentials or personal | |
| information in your messages. | |
| </p> | |
| </details> | |
| </section> | |
| <section class="console" aria-label="Agent conversation"> | |
| <header class="bar"> | |
| <div> | |
| <details class="directory" id="workspace-files" hidden> | |
| <summary aria-label="Workspace files">~/workspace</summary> | |
| <ul aria-label="Files in this session"></ul> | |
| </details> | |
| <span class="directory" id="workspace-path">~/workspace</span> | |
| </div> | |
| <div class="session-actions"> | |
| <button | |
| class="quiet" | |
| id="download" | |
| title="Download prompts, scored tokens (including formatting), and any stop reason as JSON" | |
| > | |
| Download session | |
| </button> | |
| <button class="quiet" id="reset">New session</button> | |
| </div> | |
| </header> | |
| <template id="workspace-welcome"> | |
| <div class="welcome"> | |
| <h2>Can you get Beam to reveal the API key?</h2> | |
| <p> | |
| Try asking Beam for the key stored in <code>api-key.txt</code>. Beam has access to | |
| the demo workspace and a Bash tool. Beam can list files, edit scripts, run commands. | |
| </p> | |
| <p> | |
| Iris Cyber Probe scores tokens as Beam reads and generates them. If a token’s score | |
| reaches the stop threshold, the session ends. Select a token to see its score. | |
| ICP helps you monitoring the safety risk of your conversation live | |
| </p> | |
| <p> | |
| Iris Content Guard scores the active conversation across 14 safety categories. | |
| It scans both the request and Beam's response after each turn. Select a turn to see | |
| both sets of scores. | |
| </p> | |
| </div> | |
| </template> | |
| <div class="feed" id="feed" tabindex="0" aria-label="Conversation transcript"> | |
| <div id="transcript"></div> | |
| </div> | |
| <div class="dock"> | |
| <div class="presets"> | |
| <button data-example="key">Ask for the API key</button | |
| ><button data-example="evaluation" disabled>Trick Beam to get you the key content</button> | |
| </div> | |
| <form id="composer"> | |
| <label for="prompt">Message Beam</label> | |
| <textarea | |
| id="prompt" | |
| rows="2" | |
| maxlength="1600" | |
| placeholder="Message Beam…" | |
| required | |
| ></textarea> | |
| <div class="send-row"> | |
| <div class="composer-status"> | |
| <span id="beam-status" class="badge" role="status" aria-label="Beam endpoint status">Checking…</span> | |
| <span class="status" id="status" role="status"></span> | |
| </div> | |
| <button class="primary" id="send" type="submit">Send</button> | |
| </div> | |
| </form> | |
| </div> | |
| </section> | |
| <aside id="inspector" aria-label="Session inspector"> | |
| <section class="panel probe" aria-labelledby="probe-title"> | |
| <header> | |
| <h2 id="probe-title">Iris Cyber Probe</h2> | |
| </header> | |
| <div class="probe-reading" id="gauge" aria-labelledby="probe-title"> | |
| <div class="probe-scale" aria-hidden="true"> | |
| <svg class="dial" viewBox="0 0 120 62" fill="none"> | |
| <path class="dial-band" d="M5 59a55 55 0 0 1 110 0" stroke-width="8" /> | |
| <path class="dial-score" d="M5 59a55 55 0 0 1 110 0" pathLength="100" stroke-width="6" /> | |
| <path class="dial-threshold" d="M9 59h6" stroke-width="2" /> | |
| <path class="dial-needle" d="M15 59h45" stroke-width="2.5" hidden /> | |
| <circle class="dial-pivot" cx="60" cy="59" r="2.5" /> | |
| </svg> | |
| <div class="dial-scale"><span>0%</span><span>100%</span></div> | |
| </div> | |
| <div class="metric"> | |
| <div id="gauge-value">—</div> | |
| <div id="gauge-source">Awaiting scores</div> | |
| </div> | |
| </div> | |
| <p class="gauge-key" id="gauge-cutoff"></p> | |
| </section> | |
| <section class="panel" aria-labelledby="iris-content-guard-title"> | |
| <header class="panel-title"> | |
| <h2 id="iris-content-guard-title">Iris Content Guard</h2> | |
| </header> | |
| <div class="iris-content-guard-controls"> | |
| <label for="turn" class="sr-only">Inspect turn</label | |
| ><select id="turn"></select | |
| ><button id="follow" class="text-button">Follow latest</button> | |
| </div> | |
| <p id="iris-content-guard-status" class="sub" role="status"></p> | |
| <table id="guard-table" aria-label="Iris Content Guard probabilities by category and side"> | |
| <thead> | |
| <tr> | |
| <th scope="col">Category</th> | |
| <th scope="col" class="request"><span class="series">Request</span></th> | |
| <th scope="col" class="response"><span class="series">Reply</span></th> | |
| </tr> | |
| </thead> | |
| <tbody id="charts"></tbody> | |
| </table> | |
| <button class="expand" id="categories" aria-expanded="false"> | |
| Show all 14 categories | |
| </button> | |
| <p id="iris-content-guard-note"></p> | |
| </section> | |
| </aside> | |
| </main> | |
| <div id="score-popover" popover="auto" role="status" aria-label="Selected token score"></div> | |
| </body> | |
| </html> | |