sssoc/index.html

47 lines
2.1 KiB
HTML

<!--
SSSOC
Copyright (C) 2025 Dita Aji Pratama
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Super Stupidly Simple Ollama Client</title>
<link rel="icon" type="image/png" href="favicon/128/favicon.png" sizes="any">
<link rel="icon" type="image/png" href="favicon/16/favicon.png" sizes="16x16">
<link rel="icon" type="image/png" href="favicon/32/favicon.png" sizes="32x32">
<link rel="icon" type="image/png" href="favicon/64/favicon.png" sizes="64x64">
<link rel="icon" type="image/png" href="favicon/128/favicon.png" sizes="128x128">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="chatbox"></div>
<div id="statusbox"></div>
<textarea id="prompt" placeholder="Type a message..." rows="2"></textarea>
<div class="controlbox">
<select id="model">
<option value="deepseek-v2:16b">deepseek-v2:16b</option>
<option value="deepseek-coder-v2:16b">deepseek-coder-v2:16b</option>
</select>
<select id="role">
<option value="user">user</option>
<option value="system">system</option>
<option value="assistant">assistant</option>
</select>
<label>Response? <input type="checkbox" id="response" checked></label>
<button onclick="sendPrompt()">Send</button>
</div>
<script src="marked.min.js"></script>
<script src="script.js"></script>
</body>
</html>