-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
207 lines (182 loc) Β· 7.12 KB
/
Copy pathindex.html
File metadata and controls
207 lines (182 loc) Β· 7.12 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Text Summarizer - Tableau Extension</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 20px;
}
.container {
background: white;
border-radius: 15px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
padding: 40px;
max-width: 700px;
text-align: center;
}
h1 {
color: #333;
font-size: 2.5em;
margin-bottom: 20px;
}
.description {
color: #666;
font-size: 1.2em;
margin-bottom: 30px;
line-height: 1.6;
}
.btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 15px 30px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
text-decoration: none;
display: inline-block;
margin: 10px;
transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.btn.secondary {
background: #f8f9fa;
color: #333;
border: 2px solid #e1e5e9;
}
.btn.secondary:hover {
background: #e9ecef;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.instructions {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
margin-top: 30px;
text-align: left;
}
.instructions h3 {
color: #333;
margin-bottom: 15px;
text-align: center;
}
.instructions ol {
color: #555;
line-height: 1.6;
}
.instructions li {
margin-bottom: 8px;
}
.code {
background: #f1f3f4;
padding: 2px 6px;
border-radius: 4px;
font-family: monospace;
font-size: 0.9em;
}
.status {
background: #e8f5e8;
color: #2e7d32;
border: 1px solid #c8e6c9;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 30px 0;
}
.feature {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
text-align: center;
}
.feature-icon {
font-size: 2em;
margin-bottom: 10px;
}
.author {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #e1e5e9;
color: #666;
font-size: 0.9em;
}
</style>
</head>
<body>
<div class="container">
<h1>π€ AI Text Summarizer</h1>
<p class="description">
A powerful Tableau Extension that uses OpenAI's GPT technology to summarize text data from your worksheets.
Extract insights from customer feedback, reviews, comments, and any text data with intelligent AI analysis.
</p>
<a href="text_summarizer.html" class="btn">π Launch Extension</a>
<a href="text_summarizer.trex" class="btn secondary" download>π₯ Download .trex File</a>
<a href="https://github.com/suryanshdev2023/tableau_text_summarizer_extension" class="btn secondary">π View on GitHub</a>
<div class="feature-grid">
<div class="feature">
<div class="feature-icon">π€</div>
<h4>AI-Powered</h4>
<p>Uses GPT-4o-mini for intelligent text analysis</p>
</div>
<div class="feature">
<div class="feature-icon">β‘</div>
<h4>Direct API Calls</h4>
<p>No CORS issues - works natively in Tableau Desktop</p>
</div>
<div class="feature">
<div class="feature-icon">π</div>
<h4>Secure</h4>
<p>API keys never stored, direct OpenAI connection</p>
</div>
<div class="feature">
<div class="feature-icon">π</div>
<h4>Tableau Native</h4>
<p>Seamless integration with any Tableau worksheet</p>
</div>
</div>
<div class="instructions">
<h3>π οΈ Quick Setup (2 minutes)</h3>
<ol>
<li><strong>Download</strong> the <span class="code">text_summarizer.trex</span> file above</li>
<li><strong>In Tableau Desktop:</strong> Help β Settings β Manage Dashboard Extensions</li>
<li><strong>Add</strong> the downloaded <span class="code">.trex</span> file to allowed extensions</li>
<li><strong>Create dashboard</strong> and drag "Extension" object onto it</li>
<li><strong>Select</strong> the <span class="code">.trex</span> file when prompted</li>
<li><strong>Enter</strong> your OpenAI API key and start summarizing!</li>
</ol>
<h3>π Requirements</h3>
<ul>
<li><strong>Tableau Desktop</strong> 2018.2 or later</li>
<li><strong>OpenAI API key</strong> - Get free at <a href="https://platform.openai.com" target="_blank">platform.openai.com</a></li>
<li><strong>Text data</strong> in your Tableau worksheets</li>
<li><strong>Internet connection</strong> for API calls</li>
</ul>
<div style="background: #fff3cd; border: 1px solid #ffeaa7; color: #856404; padding: 15px; border-radius: 8px; margin-top: 15px;">
<strong>π Important:</strong> This extension is designed for <strong>Tableau Desktop</strong>, not web browsers.
Direct API calls work seamlessly within Tableau's extension framework without CORS restrictions.
</div>
</div>
<div class="author">
Created by <strong>Suryansh Singh</strong> at Piton Tech<br>
π§ suryansh.singh@piton-tech.de | π piton-tech.de
</div>
</div>
</body>
</html>