Files

42 lines
1.4 KiB
HTML

<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Local LLM</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<aside class="sidebar">
<button class="new-chat" id="newChat" type="button">+ New chat</button>
<label class="control-label" for="modelSelect">Model</label>
<select id="modelSelect" class="select"></select>
<label class="toggle">
<input id="ragToggle" type="checkbox" checked />
<span>Use RAG</span>
</label>
<button class="secondary" id="reindexButton" type="button">Reindex files</button>
<div class="rag-status" id="ragStatus">RAG: loading</div>
<div class="history" id="history"></div>
</aside>
<main class="chat-shell">
<header class="topbar">
<div>
<strong id="chatTitle">Local LLM</strong>
<span id="metaLine">Ollama on this notebook</span>
</div>
</header>
<section class="messages" id="messages" aria-live="polite"></section>
<form class="composer" id="chatForm">
<textarea id="prompt" rows="1" placeholder="Type a message" autofocus></textarea>
<button id="sendButton" type="submit">Send</button>
</form>
</main>
<script src="app.js"></script>
</body>
</html>