| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |     <!DOCTYPE html> | 
					
						
							|  |  |  |     <html lang="en"> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |     <head> | 
					
						
							|  |  |  |         <meta charset="UTF-8"> | 
					
						
							|  |  |  |         <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
					
						
							|  |  |  |         <link rel="stylesheet" href="/static/styles.css"> | 
					
						
							|  |  |  |         <title>AI Assistant</title> | 
					
						
							|  |  |  |     </head> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |     <body> | 
					
						
							|  |  |  |         <header> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  |             <ul> | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |                 <li> | 
					
						
							|  |  |  |                     <a href="/static/templates/index.html"> | 
					
						
							|  |  |  |                         <img src="/static/img/logo.png" alt="logo.png"> | 
					
						
							|  |  |  |                     </a> | 
					
						
							|  |  |  |                 </li> | 
					
						
							|  |  |  |                 <li> | 
					
						
							|  |  |  |                     <a href="/static/template/contact.html">Contact</a> | 
					
						
							|  |  |  |                 </li> | 
					
						
							|  |  |  |                 <li> | 
					
						
							|  |  |  |                     <a href="/static/template/faq.html">FAQ</a> | 
					
						
							|  |  |  |                 </li> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  |             </ul> | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |         </header> | 
					
						
							|  |  |  |         <!-- Main container for the layout --> | 
					
						
							|  |  |  |         <div class="container"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             <!-- History section: A scrollable list of interactions or messages --> | 
					
						
							|  |  |  |             <div class="history"> | 
					
						
							|  |  |  |                 <ul> | 
					
						
							|  |  |  |                     <li><a href="#">history1</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history2</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history3</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history4</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history5</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history6</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history7</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history8</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history9</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history10</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history11</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history12</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history13</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history14</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history15</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history16</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history17</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history18</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history19</a></li> | 
					
						
							|  |  |  |                     <li><a href="#">history20</a></li> | 
					
						
							|  |  |  |                 </ul> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |             <!-- Models section: Contains buttons to switch between AI models --> | 
					
						
							|  |  |  |             <div class="models"> | 
					
						
							|  |  |  |                 <div class="titel"> | 
					
						
							|  |  |  |                     <h1>Different AI models</h1> | 
					
						
							| 
									
										
										
										
											2024-09-16 13:16:11 +02:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |                 <div class="grid"> | 
					
						
							|  |  |  |                     <!-- Each AI model is represented as a colored circular button --> | 
					
						
							|  |  |  |                     <div class="ai-class"> | 
					
						
							|  |  |  |                         <h3>Code</h3> | 
					
						
							|  |  |  |                         <div class="circle code-model"></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <div class="ai-class"> | 
					
						
							|  |  |  |                         <h3>Math</h3> | 
					
						
							|  |  |  |                         <div class="circle math-model"></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <div class="ai-class"> | 
					
						
							|  |  |  |                         <h3>Language</h3> | 
					
						
							|  |  |  |                         <div class="circle language-model"></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <div class="ai-class"> | 
					
						
							|  |  |  |                         <h3>Default</h3> | 
					
						
							|  |  |  |                         <div class="circle default-model"></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <div class="ai-class"> | 
					
						
							|  |  |  |                         <h3>Custom</h3> | 
					
						
							|  |  |  |                         <div class="circle custom-model"></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 13:16:11 +02:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  |             </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |             <!-- Output section: Simulating a conversation with AI --> | 
					
						
							|  |  |  |             <div class="output"> | 
					
						
							|  |  |  |                 <div class="conversation"> | 
					
						
							|  |  |  |                     {% for message in messages %} | 
					
						
							|  |  |  |                         {% if message.startswith('User:') %} | 
					
						
							|  |  |  |                             <div class="user-message">{{ message }}</div> | 
					
						
							|  |  |  |                         {% else %} | 
					
						
							|  |  |  |                             <div class="ai-message">{{ message }}</div> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							|  |  |  |                     {% endfor %} | 
					
						
							|  |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |             <!-- Input section: Where user input is provided --> | 
					
						
							|  |  |  |             <form class="input" method="POST" action=""> | 
					
						
							|  |  |  |                 <input type="text" name="user_message" placeholder="Type your message here..." /> | 
					
						
							|  |  |  |                 <button type="submit" name="option" value="voice"><img src="/static/img/microphone.svg" alt="microphone"></button> | 
					
						
							|  |  |  |                 <button type="submit" name="option" value="chat">Send</button> | 
					
						
							|  |  |  |             </form> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |     </body> | 
					
						
							| 
									
										
										
										
											2024-09-16 12:17:53 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-16 16:08:00 +02:00
										 |  |  |     </html> |