Buckets:
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>InsureCo RAG Test Console</title> | |
| <link rel="stylesheet" href="/static/styles.css" /> | |
| </head> | |
| <body> | |
| <div class="bg-shape bg-a"></div> | |
| <div class="bg-shape bg-b"></div> | |
| <header class="topbar"> | |
| <div> | |
| <h1>InsureCo RAG Test Console</h1> | |
| <p>Continuous chat, grounded answers, and live performance checks.</p> | |
| </div> | |
| <div class="status-pill" id="health-pill">Checking API...</div> | |
| </header> | |
| <main class="layout"> | |
| <section class="panel control-panel"> | |
| <h2>Runtime Controls</h2> | |
| <label>Session ID | |
| <input id="sessionId" value="broker-demo-1" /> | |
| </label> | |
| <label>Question / Message | |
| <textarea id="question" rows="4" placeholder="Ask a policy question..."></textarea> | |
| </label> | |
| <div class="toggles"> | |
| <label><input type="checkbox" id="useReranker" checked /> Use Reranker</label> | |
| <label><input type="checkbox" id="useRagContext" checked /> Use RAG in Continuous Chat</label> | |
| </div> | |
| <div class="actions"> | |
| <button id="btnRag">Run RAG Query</button> | |
| <button id="btnChat">One-turn Chat</button> | |
| <button id="btnCont">Continuous Chat</button> | |
| <button id="btnAgent">Agent Chat (Tools)</button> | |
| <button id="btnStream">Stream Continuous</button> | |
| </div> | |
| </section> | |
| <section class="panel output-panel"> | |
| <h2>Response</h2> | |
| <pre id="responseBox">No response yet.</pre> | |
| <h3>Retrieved Sources</h3> | |
| <table> | |
| <thead> | |
| <tr><th>File</th><th>Section</th><th>Score</th><th>Re-rank</th></tr> | |
| </thead> | |
| <tbody id="sourcesBody"> | |
| <tr><td colspan="4">No sources yet.</td></tr> | |
| </tbody> | |
| </table> | |
| </section> | |
| <section class="panel chat-panel"> | |
| <h2>Continuous Session</h2> | |
| <div id="chatLog" class="chat-log"></div> | |
| <div class="chat-actions"> | |
| <button id="btnClearSession">Clear Session</button> | |
| </div> | |
| </section> | |
| <section class="panel benchmark-panel"> | |
| <h2>Performance Test</h2> | |
| <div class="benchmark-controls"> | |
| <label>Runs | |
| <input id="benchRuns" type="number" value="5" min="1" max="100" /> | |
| </label> | |
| <button id="btnBenchmark">Run Benchmark</button> | |
| <label>RAG JSON Path | |
| <input id="jsonPath" value="../rag.json" /> | |
| </label> | |
| <label>JSON Max Questions | |
| <input id="jsonMaxQuestions" type="number" value="8" min="1" max="200" /> | |
| </label> | |
| <button id="btnJsonEval">Run JSON Evaluation</button> | |
| <button id="btnMetrics">Refresh Metrics</button> | |
| </div> | |
| <pre id="benchmarkBox">No benchmark yet.</pre> | |
| <h3>Server Metrics</h3> | |
| <pre id="metricsBox">No metrics yet.</pre> | |
| </section> | |
| </main> | |
| <script src="/static/app.js"></script> | |
| </body> | |
| </html> | |
Xet Storage Details
- Size:
- 2.99 kB
- Xet hash:
- dab35a518bea9574f92642d1fb614b0c7ab24b8551444f4ddcc5f155a28ac228
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.