File size: 1,080 Bytes
9165fff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
   <title>Persistent Memory Bot</title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
   <link rel="stylesheet" href="style.css">
   <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
   <h1>Persistent Memory Bot</h1>
   <div id="chat-container"></div>
   <form id="chat-form">
       <label class="switch">
           <input type="checkbox" id="memory-toggle">
           <span class="slider"></span>
       </label>
       <input type="text" id="user-input" name="user_input" placeholder="Enter your message, use the switch to toggle smart mode for faster responses but less memory. Cannot provide financial/legal advice.">
       <button type="submit" id="send-button"><i class="fas fa-paper-plane"></i> Send</button>
   </form>
   <div id="loading-message" style="display: none;">Prompt received. Generating response...</div>
   <script src="index.js"></script>
</body>
</html>