-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
358 lines (317 loc) · 13 KB
/
index.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Sajjad Hussain">
<title>Chat GPT Kit</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet" />
<link rel="shortcut icon" href="images/chatgpt-favicon.png" type="image/x-icon" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<!-- START MAIN CONTAINER -->
<div class="container-fluid">
<div class="row">
<!-- START SIDENAV -->
<div class="side-nav col-lg-3 col-md-12">
<!-- START NEW CHAT BUTTON -->
<div class="row p-2">
<div class="chat-btn d-flex align-items-center">
<span class="d-block">+ New Chat</span>
</div>
</div>
<!-- START MODELS -->
<div class="row p-2">
<label for="gpt-model" class="form-label">Model</label>
<select name="gpt-model" id="gpt-model" class="form-select text-light gpt-model">
<option value="davinci">davinci</option>
<option value="curie">curie</option>
<option value="babbage">babbage</option>
<option value="ada">ada</option>
<option value="davinci-instruct-beta">davinci-instruct-beta</option>
<option value="curie-instruct-beta">curie-instruct-beta</option>
<option value="davinci-codex">davinci-codex</option>
</select>
</div>
<!-- START TEMPERATURE -->
<div class="row p-2">
<div class="col-12">
<p class="form-label">Temperature</p>
</div>
<div class="col-10">
<input type="range" class="form-range w-100" min="0" max="1" step="0.1" id="gpt-temperature"
name="gpt-temperature" value="0" />
</div>
<div class="col-2 text-end">
<output for="gpt-temperature">0</output>
</div>
</div>
<!-- START MAXIMUM LENGTH -->
<div class="row p-2">
<div class="col-12">
<p class="form-label">Maximum Length</p>
</div>
<div class="col-10">
<input type="range" class="form-range w-100" min="0" max="2048" step="13" id="gpt-max-len"
name="gpt-max-len" value="1500" />
</div>
<div class="col-2 text-end">
<output for="gpt-max-len">1500</output>
</div>
</div>
<!-- START TOP P -->
<div class="row p-2">
<div class="col-12">
<p class="form-label">TopP</p>
</div>
<div class="col-10">
<input type="range" class="form-range w-100" min="0" max="1" step="0.01" id="gpt-topP" name="gpt-topP"
value="0.07" />
</div>
<div class="col-2 text-end">
<output for="gpt-topP">0.07</output>
</div>
</div>
<!-- START FREQUENCY PENALTY -->
<div class="row p-2">
<div class="col-12">
<p class="form-label">Frequency Penalty</p>
</div>
<div class="col-10">
<input type="range" class="form-range w-100" min="0" max="2" step="0.01" id="gpt-frequency"
name="gpt-frequency" value="1" />
</div>
<div class="col-2 text-end">
<output for="gpt-frequency">1</output>
</div>
</div>
<!-- START PRESENCE PENALTY -->
<div class="row p-2">
<div class="col-12">
<p class="form-label">Presence Penalty</p>
</div>
<div class="col-10">
<input type="range" class="form-range w-100" min="0" max="2" step="0.01" id="gpt-precence"
name="gpt-precence" value="0.5" />
</div>
<div class="col-2 text-end">
<output for="gpt-precence">0.5</output>
</div>
</div>
<hr />
<div class="row">
<div class="col-12">
<ul class="list-unstyled">
<!-- START SETTINGS -->
<li class="nav-item">
<a class="nav-link text-white" href="#">
<i class="fas fa-cog"></i> Settings
</a>
</li>
<!-- START GET HELP -->
<li class="nav-item">
<a class="nav-link text-white" href="#">
<i class="fas fa-question-circle"></i> Get Help
</a>
</li>
<!-- START LOG OUT -->
<li class="nav-item">
<a class="nav-link text-white" href="#">
<i class="fas fa-sign-out-alt"></i> Log Out
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- START CONTENT -->
<div class="content p-0 pt-2 col-lg-9 col-md-12">
<div class="chat-content-area">
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
<!-- START USER CHAT -->
<div class="row user-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/user-icon.png" />
</div>
<div class="chat-txt">who are you?</div>
</div>
<!-- START GPT CHAT -->
<div class="row gpt-chat-box">
<div class="chat-icon">
<img class="chatgpt-icon" src="images/chatgpt-icon.png" />
</div>
<div class="chat-txt">
I am ChatGPT, a large language model developed by OpenAI. I am
an artificial intelligence designed to process and generate
human-like text based on the input provided to me. I am here to
assist you with any questions or tasks you may have to the best
of my abilities!
</div>
</div>
</div>
<!-- START CHAT INPUTS -->
<div class="chat-input-area overflow-hidden">
<div class="row">
<div class="col-12 chat-inputs-area-inner">
<div class="row chat-inputs-container d-flex align-items-center">
<textarea name="" id="" class="col-11" placeholder="Send a message"></textarea>
<span class="col-1"><i class="fa fa-paper-plane" aria-hidden="true"></i>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- START FOOTER -->
<footer class="d-flex align-items-center justify-content-center position-relative bottom-0">
<div class="text-center">© 2020 Copyright Sajjad Hussain</div>
</footer>
<!-- START EXTERNAL JS RESOURCES -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/material-ui/5.0.0-beta.5/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/material-ui/5.0.0-beta.5/index.js"></script>
</body>
</html>