DHEIVER commited on
Commit
2213648
·
verified ·
1 Parent(s): 8552087

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +76 -19
index.html CHANGED
@@ -1,19 +1,76 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Advanced RAG System</title>
7
+ <link rel="stylesheet" href="styles.css">
8
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
9
+ </head>
10
+ <body>
11
+ <div class="container">
12
+ <!-- Header -->
13
+ <header>
14
+ <h1>Advanced RAG System</h1>
15
+ <p>Retrieval-Augmented Generation for Intelligent Responses</p>
16
+ </header>
17
+
18
+ <!-- Main Content -->
19
+ <main>
20
+ <!-- Query Input Section -->
21
+ <section class="query-section">
22
+ <h2>Ask a Question</h2>
23
+ <textarea id="query-input" placeholder="Type your question here..." rows="4"></textarea>
24
+ <button id="submit-query">Generate Response</button>
25
+ </section>
26
+
27
+ <!-- Response Section -->
28
+ <section class="response-section">
29
+ <h2>Generated Response</h2>
30
+ <div id="response-output" class="output-box">
31
+ <p>Your AI-generated response will appear here.</p>
32
+ </div>
33
+ </section>
34
+
35
+ <!-- Retrieved Context Section -->
36
+ <section class="context-section">
37
+ <h2>Retrieved Context</h2>
38
+ <div id="context-output" class="output-box">
39
+ <p>Relevant documents and context used for generation will be displayed here.</p>
40
+ </div>
41
+ </section>
42
+
43
+ <!-- Settings Panel -->
44
+ <aside class="settings-panel">
45
+ <h2>RAG Settings</h2>
46
+ <div class="setting">
47
+ <label for="model-select">Model:</label>
48
+ <select id="model-select">
49
+ <option value="gemini-2.0-flash">Gemini 2.0 Flash</option>
50
+ <option value="custom-rag">Custom RAG Model</option>
51
+ </select>
52
+ </div>
53
+ <div class="setting">
54
+ <label for="top-k">Top-K Retrieval:</label>
55
+ <input type="number" id="top-k" value="5" min="1" max="20">
56
+ </div>
57
+ <div class="setting">
58
+ <label for="temperature">Temperature:</label>
59
+ <input type="number" id="temperature" value="0.7" step="0.1" min="0" max="1">
60
+ </div>
61
+ <div class="setting">
62
+ <label for="context-length">Context Length:</label>
63
+ <input type="number" id="context-length" value="512" min="128" max="2048">
64
+ </div>
65
+ <button id="apply-settings">Apply Settings</button>
66
+ </aside>
67
+ </main>
68
+
69
+ <!-- Footer -->
70
+ <footer>
71
+ <p>&copy; 2025 Advanced RAG System. Powered by xAI.</p>
72
+ </footer>
73
+ </div>
74
+ <script src="script.js"></script>
75
+ </body>
76
+ </html>