aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gnqa.html
blob: 947b57c25cab6379c8257e6c070ebbcd77bde34a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{% extends "base.html" %}
{% block title %}GNQA{% endblock %}

{% block content %} <!-- Start of body -->


{% block css %}
<link rel="stylesheet" type="text/css" href="/static/new/css/llm.css">
<style>
 #loader {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     width: 100%;
     background: rgba(0,0,0,0.75) url("/static/gif/loader.gif") no-repeat center center;
     z-index: 10000;
 }

</style>
{% endblock %}

<section class="container-fluid">

<div id="loader"></div>

<div class="row container">
    <h2 style="font-variant:small-caps">Gnqa System</h2>

    <div>
	<p>
	    Welcome to the GeneNetwork Question and Answer (GNQA)system. We utilize a large language model and 3000 scientific publications to make GNQA a subject matter expert in three areas: <b><a href="/">GeneNetwork.org </a></b>, <b>genomics/genetics with regards to diabetes</b> and <b>genomics/genetics with regards to agin.</b>.
	</p>
	<p>At the moment when you ask GNQA something it will attempt to return a sensible answer with <q>real</q> references. To this end we aim to reduce hallucinations and provide a knowledge launchpad for a researcher to enhance their knowledge on the relevant subject matter.</p>
	<p>
	    GNQA is not a finished product as we are working diligently to improve it daily.
	</p>
	<p style="font-weight: bold;">Thanks for using GNQA! </p>
    </div>
</div>

</section>

{% endblock %}

{% block js %}
<script src="{{ url_for('js', filename='jquery/jquery.min.js') }}" type="text/javascript"></script>

<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='jquery-ui/jquery-ui.min.js') }}"></script>
<script type="text/javascript">
 document.addEventListener('DOMContentLoaded', function() {
     $("#gnqna_search").keypress(function(event) {
         if (event.keyCode === 13) {
             $('#gnqna_form').submit();
             let spinner = $("#loader")
             spinner.show()
         }
     })
     $('#globalsearchform').hide()
     $('#gnqna_search_home').show()
     $('footer').hide()
     $("#gnqna_search_home_input").keypress(function(event) {
         if (event.keyCode === 13) {
             console.log("clicked this button")
             $('#gnqna_search_home').submit();
             let spinner = $("#loader")
             spinner.show();
         }
     })
 });
</script>
{% endblock %}