DeepConvoAI / client /html /index.html
abhijeetsarkargis's picture
Update client/html/index.html
81da81f
Raw History Blame Contribute Delete
7.38 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>DeepConvoAI by Abhijeet Sarkar - Engage in Thought-Provoking Conversations with Artificial Intelligence!</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0" />
<meta name="description" content="DeepConvoAI by Abhijeet Sarkar is the ultimate platform for thought-provoking conversations with an advanced artificial intelligence system. Unlock the power of GPT-based technology to delve into deep discussions, explore complex topics, and expand your knowledge like never before. Whether you're seeking answers to life's mysteries or engaging in stimulating debates, DeepConvoAI will keep you intellectually engaged and entertained." />
<meta property="og:title" content="DeepConvoAI by Abhijeet Sarkar - Engage in Thought-Provoking Conversations with Artificial Intelligence!" />
<meta property="og:image" content="https://chat.abhijeetsarkar.com/bg.jpg" />
<link rel="icon" type="image/jpeg" href="https://chat.abhijeetsarkar.com/favicon.jpg">
<meta
property="og:description"
content="DeepConvoAI by Abhijeet Sarkar is the ultimate platform for thought-provoking conversations with an advanced artificial intelligence system. Unlock the power of GPT-based technology to delve into deep discussions, explore complex topics, and expand your knowledge like never before. Whether you're seeking answers to life's mysteries or engaging in stimulating debates, DeepConvoAI will keep you intellectually engaged and entertained." />
<meta property="og:url" content="https://chat.abhijeetsarkar.com" />
<link rel="stylesheet" href="/assets/css/style.css" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/assets/img/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/assets/img/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/assets/img/favicon-16x16.png" />
<link rel="manifest" href="/assets/img/site.webmanifest" />
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/styles/base16/dracula.min.css" />
</head>
<body data-urlprefix="{{ url_prefix}}">
<div class="main-container">
<div class="box sidebar">
<div class="top">
<button class="button" onclick="new_conversation()">
<i class="fa-regular fa-plus"></i>
<span>{{_('New Conversation')}}</span>
</button>
<div class="spinner"></div>
</div>
<div class="sidebar-footer">
<button class="button" onclick="delete_conversations()">
<i class="fa-regular fa-trash"></i>
<span>{{_('Clear Conversations')}}</span>
</button>
<div class="settings-container">
<div class="checkbox field">
<span>{{_('Dark Mode')}}</span>
<input type="checkbox" id="theme-toggler" />
<label for="theme-toggler"></label>
</div>
<div class="field">
<span>{{_('Language')}}</span>
<select
class="dropdown"
id="language"
onchange="changeLanguage(this.value)"></select>
</div>
</div>
<a
class="info"
href="https://chat.abhijeetsarkar.com/"
target="_blank">
<i class="fa fa-commenting-o"></i>
<span class="conversation-title">chat.abhijeetsarkar.com</span>
</a>
<a class="info" href="https://abhijeetsarkar.com/" target="_blank">
<i class="fa fa-copyright"></i>
<span class="conversation-title">DeepConvoAI by Abhijeet Sarkar</span>
</a>
</div>
</div>
<div class="conversation">
<div class="stop-generating stop-generating-hidden">
<button class="button" id="cancelButton">
<span>{{_('Stop Generating')}}</span>
</button>
</div>
<div class="box" id="messages"></div>
<div class="user-input">
<div class="box input-box">
<textarea
id="message-input"
placeholder="{{_('Ask a question')}}"
cols="30"
rows="10"
style="white-space: pre-wrap"></textarea>
<div id="send-button">
<i class="fa-regular fa-paper-plane-top"></i>
</div>
</div>
</div>
<div>
<div class="options-container">
<div class="buttons">
<div class="field">
<select class="dropdown" name="model" id="model">
<option value="gpt-3.5-turbo">GPT-3.5</option>
<option value="gpt-3.5-turbo-16k">GPT-3.5-turbo-16k</option>
<option value="gpt-4" selected>GPT-4</option>
</select>
</div>
<div class="field">
<select class="dropdown" name="jailbreak" id="jailbreak">
<option value="default" selected>{{_('Default')}}</option>
<option value="gpt-dan-11.0">{{_('DAN')}}</option>
<option value="gpt-evil">{{_('Evil')}}</option>
</select>
</div>
</div>
<div class="field checkbox">
<input type="checkbox" id="switch" />
<label for="switch"></label>
<span>{{_('Web Access')}}</span>
</div>
</div>
</div>
</div>
</div>
<div class="menu-button">
<i class="fa-solid fa-bars"></i>
</div>
<!-- scripts -->
<script>
window.conversation_id = "{{ chat_id }}";
</script>
<script src="{{ url_for('bp.static', filename='js/icons.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/chat.js') }}" defer></script>
<script src="https://cdn.jsdelivr.net/npm/markdown-it@latest/dist/markdown-it.min.js"></script>
<script src="{{ url_for('bp.static', filename='js/highlight.min.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/highlightjs-copy.min.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/theme-toggler.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/sidebar-toggler.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/change-language.js') }}"></script>
<script type="text/javascript">
function disableSelection(e){if(typeof e.onselectstart!="undefined")e.onselectstart=function(){return false};else if(typeof e.style.MozUserSelect!="undefined")e.style.MozUserSelect="none";else e.onmousedown=function(){return false};e.style.cursor="default"}window.onload=function(){disableSelection(document.body)}
</script> <!-- a code to protect content from right click --> <script type="text/javascript">
function mousedwn(e){try{if(event.button==2||event.button==3)return false}catch(e){if(e.which==3)return false}}document.oncontextmenu=function(){return false};document.ondragstart=function(){return false};document.onmousedown=mousedwn
</script> <!-- a code to protect shorcut keyboard, view source etc --> <script type="text/javascript">
window.addEventListener("keydown",function(e){if(e.ctrlKey&&(e.which==65||e.which==66||e.which==67||e.which==73||e.which==80||e.which==83||e.which==85||e.which==86)){e.preventDefault()}});document.keypress=function(e){if(e.ctrlKey&&(e.which==65||e.which==66||e.which==67||e.which==73||e.which==80||e.which==83||e.which==85||e.which==86)){}return false}
</script> <!-- a code to protect your articles --> <script type="text/javascript">
document.onkeydown=function(e){e=e||window.event;if(e.keyCode==123||e.keyCode==18){return false}}
</script>
</body>
</html>