KBaba7/llama.cpp
0
1<!DOCTYPE html>2<html lang="en">3 <head>4 <title>SimpleChat LlamaCppEtal </title>5 <meta charset="UTF-8" />6 <meta name="viewport" content="width=device-width, initial-scale=1" />7 <meta name="message" content="Save Nature Save Earth" />8 <meta name="description" content="SimpleChat: trigger LLM web service endpoints /chat/completions and /completions, single/multi chat sessions" />9 <meta name="author" content="by Humans for All" />10 <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />11 <script type="importmap">12 {13 "imports": {14 "datautils": "./datautils.mjs",15 "ui": "./ui.mjs"16 }17 }18 </script>19 <script src="simplechat.js" type="module" defer></script>20 <link rel="stylesheet" href="simplechat.css" />21 </head>22 <body>23 <div class="samecolumn" id="fullbody">24 25 <div class="sameline" id="heading">26 <p class="heading flex-grow" > <b> SimpleChat </b> </p>27 <button id="settings">Settings</button>28 </div>29 30 <div id="sessions-div" class="sameline"></div>31 32 <hr>33 <div class="sameline">34 <label for="system-in">System</label>35 <textarea name="system" id="system-in" rows="2" placeholder="e.g. you are a helpful ai assistant, who provides concise answers" class="flex-grow"></textarea>36 </div>37 38 <hr>39 <div id="chat-div">40 <p> You need to have javascript enabled.</p>41 </div>42 43 <hr>44 <div class="sameline">45 <textarea id="user-in" class="flex-grow" rows="2" placeholder="enter your query to the ai model here" ></textarea>46 <button id="user-btn">submit</button>47 </div>48 49 </div>50 </body>51</html>52 