fernando-bold commited on
Commit
558149a
·
verified ·
1 Parent(s): e292e72

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +540 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Assistente Com Ia
3
- emoji: 🌖
4
  colorFrom: blue
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: assistente-com-ia
3
+ emoji: 🐳
4
  colorFrom: blue
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,540 @@
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>AI Assistant</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/lucide@latest"></script>
9
+ <style>
10
+ .ai-assistant-container {
11
+ box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
12
+ }
13
+ .solar-journey-nav::-webkit-scrollbar {
14
+ height: 3px;
15
+ }
16
+ .solar-journey-nav::-webkit-scrollbar-track {
17
+ background: rgba(0, 0, 0, 0.05);
18
+ }
19
+ .solar-journey-nav::-webkit-scrollbar-thumb {
20
+ background: rgba(0, 0, 0, 0.1);
21
+ border-radius: 3px;
22
+ }
23
+ @media (max-width: 768px) {
24
+ .ai-assistant-container {
25
+ margin-top: 2rem;
26
+ }
27
+ }
28
+ </style>
29
+ </head>
30
+ <body class="bg-gray-50 dark:bg-gray-900">
31
+ <section id="ai-assistant" class="py-16 md:py-24 bg-gray-50 dark:bg-gray-900">
32
+ <div class="container mx-auto px-4 sm:px-6 lg:px-8">
33
+ <div class="text-center max-w-3xl mx-auto mb-12">
34
+ <div class="inline-flex items-center justify-center p-2 bg-yellow-100 dark:bg-yellow-900 rounded-full mb-4">
35
+ <i data-lucide="sparkles" class="h-5 w-5 text-yellow-600 dark:text-yellow-400"></i>
36
+ </div>
37
+ <h2 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-white">Assistente com IA</h2>
38
+ <p class="mt-4 text-lg text-gray-600 dark:text-gray-300">
39
+ Nosso assistente multimodal com IA ajuda proprietários com informações, recomendações e suporte em tempo real
40
+ </p>
41
+ </div>
42
+
43
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
44
+ <div class="relative">
45
+ <div class="absolute -top-6 -left-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg p-4 max-w-xs z-10">
46
+ <div class="flex items-start gap-3">
47
+ <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-300">
48
+ <i data-lucide="search" class="h-5 w-5"></i>
49
+ </div>
50
+ <div>
51
+ <p class="text-sm font-medium text-gray-900 dark:text-white">Análise de Imóveis</p>
52
+ <p class="text-xs text-gray-500 dark:text-gray-400">Obtenha insights sobre o mercado imobiliário local</p>
53
+ </div>
54
+ </div>
55
+ </div>
56
+
57
+ <div class="bg-white dark:bg-gray-800 rounded-lg shadow-xl overflow-hidden border relative ai-assistant-container">
58
+ <div class="absolute -top-3 left-1/2 transform -translate-x-1/2 bg-gradient-to-r from-yellow-500 via-yellow-400 to-yellow-500 text-black text-xs font-bold py-0.5 px-2 rounded-full flex items-center gap-1 z-10">
59
+ <i data-lucide="sparkles" class="h-3 w-3"></i>
60
+ <span>Powered by AI SDK</span>
61
+ </div>
62
+
63
+ <div class="absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-yellow-500 via-yellow-400 to-yellow-500"></div>
64
+ <div class="border-b border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-900 px-4 py-2">
65
+ <div class="text-xs font-medium text-gray-500 dark:text-gray-400 mb-1">Jornada Solar</div>
66
+ <div class="flex overflow-x-auto pb-1 gap-1 -mx-1 px-1 solar-journey-nav">
67
+ <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-yellow-100 text-yellow-800 dark:bg-yellow-900/50 dark:text-yellow-300 font-medium">
68
+ <i data-lucide="search" class="h-3 w-3"></i>
69
+ <span>Avaliação</span>
70
+ <div class="w-1.5 h-1.5 rounded-full bg-yellow-500 ml-0.5"></div>
71
+ </div>
72
+ <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
73
+ <i data-lucide="bar-chart-3" class="h-3 w-3"></i>
74
+ <span>Dimensionamento</span>
75
+ </div>
76
+ <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
77
+ <i data-lucide="wallet" class="h-3 w-3"></i>
78
+ <span>Financiamento</span>
79
+ </div>
80
+ <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
81
+ <i data-lucide="wrench" class="h-3 w-3"></i>
82
+ <span>Instalação</span>
83
+ </div>
84
+ <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
85
+ <i data-lucide="file-check" class="h-3 w-3"></i>
86
+ <span>Homologação</span>
87
+ </div>
88
+ <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
89
+ <i data-lucide="line-chart" class="h-3 w-3"></i>
90
+ <span>Monitoramento</span>
91
+ </div>
92
+ </div>
93
+ </div>
94
+
95
+ <div class="absolute -right-1 top-12 rotate-90 origin-bottom-left">
96
+ <div class="bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 text-[10px] py-0.5 px-1.5 rounded-sm font-mono">
97
+ @ai-sdk/[email protected]
98
+ </div>
99
+ </div>
100
+ <div class="absolute right-2 top-[52px] flex flex-col gap-1 z-10">
101
+ <div class="bg-white dark:bg-gray-800 shadow-md rounded-md p-1 border border-gray-200 dark:border-gray-700">
102
+ <button class="h-6 w-6 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
103
+ <i data-lucide="help-circle" class="h-3.5 w-3.5 text-yellow-600 dark:text-yellow-400"></i>
104
+ </button>
105
+ <button class="h-6 w-6 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
106
+ <i data-lucide="calculator" class="h-3.5 w-3.5 text-yellow-600 dark:text-yellow-400"></i>
107
+ </button>
108
+ <button class="h-6 w-6 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
109
+ <i data-lucide="bar-chart-3" class="h-3.5 w-3.5 text-yellow-600 dark:text-yellow-400"></i>
110
+ </button>
111
+ </div>
112
+ </div>
113
+
114
+ <div class="p-4 border-b flex items-center justify-between">
115
+ <div class="flex items-center gap-2">
116
+ <i data-lucide="bot" class="h-5 w-5 text-yellow-600"></i>
117
+ <div>
118
+ <span class="font-medium text-gray-900 dark:text-white">Assistente Solar Yello/Cash</span>
119
+ <div class="flex items-center gap-1.5 mt-0.5">
120
+ <span class="text-[10px] text-gray-500 dark:text-gray-400">Streaming com</span>
121
+ <span class="bg-black text-white dark:bg-white dark:text-black text-[10px] px-1 py-0.5 rounded font-mono">
122
+ generateUI()
123
+ </span>
124
+ </div>
125
+ </div>
126
+ </div>
127
+ <div class="flex items-center gap-2">
128
+ <div class="flex items-center gap-1 bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200 text-xs px-1.5 py-0.5 rounded-full">
129
+ <div class="w-1.5 h-1.5 bg-green-500 rounded-full animate-pulse"></div>
130
+ <span>Ativo</span>
131
+ </div>
132
+ <button class="flex items-center text-sm px-3 py-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700">
133
+ <i data-lucide="sparkles" class="h-4 w-4 mr-2"></i>
134
+ Novo chat
135
+ </button>
136
+ </div>
137
+ </div>
138
+
139
+ <div class="px-4 py-2 bg-gray-50 dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700">
140
+ <div class="flex gap-2 overflow-x-auto pb-1 -mx-1 px-1">
141
+ <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
142
+ Potencial solar da minha região
143
+ </div>
144
+ <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
145
+ Economia mensal estimada
146
+ </div>
147
+ <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
148
+ Opções de financiamento
149
+ </div>
150
+ <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
151
+ Processo de instalação
152
+ </div>
153
+ <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
154
+ Homologação junto à concessionária
155
+ </div>
156
+ </div>
157
+ </div>
158
+
159
+ <div class="h-[420px] overflow-y-auto p-4 space-y-4">
160
+ <div class="flex gap-3">
161
+ <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
162
+ <i data-lucide="bot" class="h-4 w-4"></i>
163
+ </div>
164
+ <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
165
+ <div class="flex items-center gap-1.5 mb-1">
166
+ <div class="bg-black text-white dark:bg-white dark:text-black text-[10px] px-1 rounded font-mono">
167
+ streamText
168
+ </div>
169
+ <span class="text-[10px] text-gray-500 dark:text-gray-400">via AI SDK Core</span>
170
+ </div>
171
+ <p class="text-sm text-gray-800 dark:text-gray-200">
172
+ Olá! Sou o assistente Yello/Cash alimentado por IA generativa multimodal. Posso analisar seu potencial solar em tempo real, simular financiamentos personalizados e dimensionar projetos fotovoltaicos com precisão. Como posso otimizar sua experiência solar hoje?
173
+ </p>
174
+ <div class="mt-1.5 text-[10px] text-gray-500 dark:text-gray-400 flex items-center gap-1">
175
+ <span>Modelo:</span>
176
+ <span class="font-mono bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-1 rounded">
177
+ gpt-4o
178
+ </span>
179
+ <span class="ml-1">Temperatura:</span>
180
+ <span class="font-mono bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-1 rounded">
181
+ 0.7
182
+ </span>
183
+ </div>
184
+ </div>
185
+ </div>
186
+
187
+ <div class="flex gap-3 justify-end">
188
+ <div class="bg-yellow-100 dark:bg-yellow-900 p-3 rounded-lg max-w-[80%]">
189
+ <p class="text-sm text-gray-800 dark:text-yellow-200">
190
+ Preciso avaliar o potencial solar do telhado da minha casa. Pode me ajudar?
191
+ </p>
192
+ </div>
193
+ <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center flex-shrink-0">
194
+ <i data-lucide="user" class="h-4 w-4 text-gray-700 dark:text-gray-300"></i>
195
+ </div>
196
+ </div>
197
+
198
+ <div class="flex gap-3">
199
+ <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
200
+ <i data-lucide="bot" class="h-4 w-4"></i>
201
+ </div>
202
+ <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
203
+ <p class="text-sm text-gray-800 dark:text-gray-200">
204
+ Claro! Posso analisar o potencial solar do seu telhado. Você poderia compartilhar uma imagem aérea da sua residência ou o endereço para que eu possa acessar imagens de satélite?
205
+ </p>
206
+ </div>
207
+ </div>
208
+
209
+ <div class="flex gap-3 justify-end">
210
+ <div class="bg-yellow-100 dark:bg-yellow-900 p-3 rounded-lg max-w-[80%]">
211
+ <p class="text-sm text-gray-800 dark:text-yellow-200">
212
+ Aqui está uma foto do meu telhado e minha localização. Gostaria de saber o potencial solar e as opções de financiamento.
213
+ </p>
214
+ <div class="mt-2 rounded-md overflow-hidden border border-yellow-200 dark:border-yellow-800 relative">
215
+ <div class="w-full h-[150px] bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
216
+ <span class="text-gray-500 dark:text-gray-400">Imagem do telhado</span>
217
+ </div>
218
+ <div class="absolute bottom-2 right-2 bg-white/80 dark:bg-black/60 rounded-md px-1.5 py-0.5 text-xs font-medium">
219
+ São Paulo, SP • 23°33'S 46°38'W
220
+ </div>
221
+ <div class="absolute top-2 left-2 bg-yellow-500/90 text-black rounded-md px-1.5 py-0.5 text-xs font-bold flex items-center">
222
+ <svg class="w-3 h-3 mr-1" viewBox="0 0 24 24" fill="currentColor">
223
+ <path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" />
224
+ </svg>
225
+ Localizado
226
+ </div>
227
+ </div>
228
+ </div>
229
+ <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center flex-shrink-0">
230
+ <i data-lucide="user" class="h-4 w-4 text-gray-700 dark:text-gray-300"></i>
231
+ </div>
232
+ </div>
233
+
234
+ <div class="flex gap-3">
235
+ <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
236
+ <i data-lucide="bot" class="h-4 w-4"></i>
237
+ </div>
238
+ <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
239
+ <p class="text-sm font-medium text-yellow-600 dark:text-yellow-400">
240
+ 🔍 Analisando imagem com visão computacional...
241
+ </p>
242
+ <div class="my-2 p-2 bg-yellow-50 dark:bg-yellow-900/30 rounded-md border border-yellow-200 dark:border-yellow-800">
243
+ <p class="text-xs text-yellow-800 dark:text-yellow-300">
244
+ Processando multi-embeddings para análise de superfície e orientação solar...
245
+ </p>
246
+ <div class="w-full bg-gray-200 rounded-full h-1.5 my-1.5">
247
+ <div class="bg-yellow-500 h-1.5 rounded-full w-full"></div>
248
+ </div>
249
+ </div>
250
+ <p class="text-sm mt-2 text-gray-800 dark:text-gray-200">
251
+ <span class="font-bold">AHAA!</span> Identifiquei um telhado com orientação norte-sul e área útil aproximada de 48m²!
252
+ </p>
253
+ <div class="mt-2 p-2 bg-blue-50 dark:bg-blue-900/30 rounded-md border border-blue-200 dark:border-blue-800">
254
+ <div class="flex items-center justify-between mb-1">
255
+ <span class="text-xs font-medium text-blue-800 dark:text-blue-300">Dimensões detectadas:</span>
256
+ <span class="text-xs font-bold">8m x 6m</span>
257
+ </div>
258
+ <div class="relative h-24 border border-dashed border-blue-300 dark:border-blue-700 rounded-md overflow-hidden">
259
+ <div class="w-full h-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
260
+ <span class="text-gray-500 dark:text-gray-400">Análise do telhado</span>
261
+ </div>
262
+ <div class="absolute inset-0 flex items-center justify-center">
263
+ <div class="w-3/4 h-3/4 border-2 border-yellow-500 rounded-sm flex items-center justify-center">
264
+ <span class="text-xs font-bold bg-yellow-100 dark:bg-yellow-900 px-1 py-0.5 rounded text-yellow-800 dark:text-yellow-200">
265
+ 48m²
266
+ </span>
267
+ </div>
268
+ </div>
269
+ </div>
270
+ </div>
271
+ </div>
272
+ </div>
273
+
274
+ <div class="flex gap-3">
275
+ <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
276
+ <i data-lucide="bot" class="h-4 w-4"></i>
277
+ </div>
278
+ <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
279
+ <p class="text-sm text-gray-800 dark:text-gray-200">Com base na análise multimodal, posso oferecer as seguintes informações:</p>
280
+ <div class="mt-2 space-y-2">
281
+ <div class="p-2 bg-green-50 dark:bg-green-900/30 rounded-md border border-green-200 dark:border-green-800">
282
+ <p class="text-xs font-medium text-green-800 dark:text-green-300">Potencial Solar</p>
283
+ <div class="flex items-center justify-between mt-1">
284
+ <span class="text-xs">Irradiação média:</span>
285
+ <span class="text-xs font-bold">5.2 kWh/m²/dia</span>
286
+ </div>
287
+ <div class="flex items-center justify-between mt-1">
288
+ <span class="text-xs">Capacidade estimada:</span>
289
+ <span class="text-xs font-bold">7.2 kWp</span>
290
+ </div>
291
+ <div class="flex items-center justify-between mt-1">
292
+ <span class="text-xs">Geração mensal:</span>
293
+ <span class="text-xs font-bold">864 kWh</span>
294
+ </div>
295
+ </div>
296
+
297
+ <div class="p-2 bg-blue-50 dark:bg-blue-900/30 rounded-md border border-blue-200 dark:border-blue-800">
298
+ <p class="text-xs font-medium text-blue-800 dark:text-blue-300">
299
+ Dimensionamento do Sistema
300
+ </p>
301
+ <div class="flex items-center justify-between mt-1">
302
+ <span class="text-xs">Painéis recomendados:</span>
303
+ <span class="text-xs font-bold">18 x 400W</span>
304
+ </div>
305
+ <div class="flex items-center justify-between mt-1">
306
+ <span class="text-xs">Inversor ideal:</span>
307
+ <span class="text-xs font-bold">8kW</span>
308
+ </div>
309
+ <div class="flex items-center justify-between mt-1">
310
+ <span class="text-xs">Área ocupada:</span>
311
+ <span class="text-xs font-bold">36m² (75% do disponível)</span>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ <p class="text-sm mt-2 font-medium text-gray-800 dark:text-gray-200">
316
+ WOW! 🌟 Com base no seu consumo médio estimado, este sistema poderia cobrir até 95% da sua demanda energética!
317
+ </p>
318
+ </div>
319
+ </div>
320
+
321
+ <div class="flex gap-3 justify-end">
322
+ <div class="bg-yellow-100 dark:bg-yellow-900 p-3 rounded-lg max-w-[80%]">
323
+ <p class="text-sm text-gray-800 dark:text-yellow-200">
324
+ Isso é incrível! Quanto custaria um sistema assim e quais seriam as opções de financiamento?
325
+ </p>
326
+ </div>
327
+ <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center flex-shrink-0">
328
+ <i data-lucide="user" class="h-4 w-4 text-gray-700 dark:text-gray-300"></i>
329
+ </div>
330
+ </div>
331
+
332
+ <div class="flex gap-3">
333
+ <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
334
+ <i data-lucide="bot" class="h-4 w-4"></i>
335
+ </div>
336
+ <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
337
+ <p class="text-sm text-gray-800 dark:text-gray-200">
338
+ <span class="font-bold">AHAA!</span> Com base na análise completa, posso apresentar as seguintes opções financeiras:
339
+ </p>
340
+ <div class="mt-2 p-2 bg-yellow-50 dark:bg-yellow-900/30 rounded-md border border-yellow-200 dark:border-yellow-800">
341
+ <p class="text-xs font-medium text-yellow-800 dark:text-yellow-300">
342
+ Investimento Estimado: R$ 42.500
343
+ </p>
344
+ <div class="mt-2 space-y-1.5">
345
+ <div class="flex items-center justify-between">
346
+ <span class="text-xs">Pagamento à vista:</span>
347
+ <span class="text-xs font-bold text-green-600">R$ 38.250 (10% desc.)</span>
348
+ </div>
349
+ <div class="flex items-center justify-between">
350
+ <span class="text-xs">Pagamento por marcos:</span>
351
+ <span class="text-xs font-bold">4x de R$ 10.625</span>
352
+ </div>
353
+ <div class="flex items-center justify-between">
354
+ <span class="text-xs">Financiamento:</span>
355
+ <span class="text-xs font-bold">60x de R$ 990/mês</span>
356
+ </div>
357
+ <div class="flex items-center justify-between">
358
+ <span class="text-xs">Economia mensal:</span>
359
+ <span class="text-xs font-bold text-green-600">R$ 950/mês</span>
360
+ </div>
361
+ <div class="flex items-center justify-between">
362
+ <span class="text-xs">Retorno do investimento:</span>
363
+ <span class="text-xs font-bold text-green-600">3.7 anos</span>
364
+ </div>
365
+ </div>
366
+ </div>
367
+ <div class="mt-2 relative h-32 bg-gray-50 dark:bg-gray-900 rounded-md overflow-hidden border border-gray-200 dark:border-gray-700">
368
+ <div class="absolute inset-0">
369
+ <div class="h-full w-full flex">
370
+ <div class="h-full bg-red-200 dark:bg-red-900/50" style="width: 40%"></div>
371
+ <div class="h-full bg-yellow-200 dark:bg-yellow-900/50" style="width: 30%"></div>
372
+ <div class="h-full bg-green-200 dark:bg-green-900/50" style="width: 30%"></div>
373
+ </div>
374
+ <div class="absolute top-2 left-2 right-2 flex justify-between text-xs">
375
+ <span>Investimento</span>
376
+ <span>Economia</span>
377
+ </div>
378
+ <div class="absolute bottom-0 left-0 right-0">
379
+ <div class="h-px w-full bg-gray-300 dark:bg-gray-600"></div>
380
+ <div class="flex justify-between text-xs px-2 py-1">
381
+ <span>Hoje</span>
382
+ <span>5 anos</span>
383
+ <span>10 anos</span>
384
+ <span>15 anos</span>
385
+ </div>
386
+ </div>
387
+ <div class="absolute top-1/2 left-[40%] -translate-y-1/2 -translate-x-1/2">
388
+ <div class="bg-yellow-500 text-black text-xs font-bold px-1 py-0.5 rounded">Payback</div>
389
+ </div>
390
+ <div class="absolute top-1/2 right-4 -translate-y-1/2">
391
+ <div class="bg-green-500 text-white text-xs font-bold px-1 py-0.5 rounded">
392
+ R$ 142.500 em 15 anos
393
+ </div>
394
+ </div>
395
+ </div>
396
+ </div>
397
+ </div>
398
+ </div>
399
+ </div>
400
+
401
+ <div class="border-t border-gray-200 dark:border-gray-700 px-4 py-2 bg-gray-50 dark:bg-gray-900">
402
+ <div class="flex items-center justify-between mb-1">
403
+ <div class="text-xs text-gray-500 dark:text-gray-400">Progresso da sua jornada solar</div>
404
+ <div class="text-xs font-medium">1/6 etapas</div>
405
+ </div>
406
+ <div class="w-full h-1.5 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden">
407
+ <div class="h-full bg-yellow-500" style="width: 16.67%"></div>
408
+ </div>
409
+ <div class="flex justify-between text-[10px] text-gray-500 dark:text-gray-400 mt-1">
410
+ <span>Avaliação</span>
411
+ <span>Dimensionamento</span>
412
+ <span>Financiamento</span>
413
+ <span>Instalação</span>
414
+ <span>Homologação</span>
415
+ <span>Monitoramento</span>
416
+ </div>
417
+ </div>
418
+
419
+ <div class="p-4 border-t">
420
+ <div class="flex flex-col gap-2">
421
+ <div class="flex items-center justify-between px-1">
422
+ <div class="flex items-center gap-1.5">
423
+ <div class="w-1.5 h-1.5 bg-green-500 rounded-full animate-pulse"></div>
424
+ <span class="text-xs text-gray-500 dark:text-gray-400">IA Playground</span>
425
+ </div>
426
+ <div class="flex items-center gap-2">
427
+ <div class="flex items-center gap-1">
428
+ <span class="text-xs text-gray-500 dark:text-gray-400">Modo:</span>
429
+ <select class="text-xs bg-transparent border rounded px-1 py-0.5">
430
+ <option>Multimodal</option>
431
+ <option>Texto</option>
432
+ <option>Imagem</option>
433
+ </select>
434
+ </div>
435
+ <div class="flex items-center gap-1">
436
+ <span class="text-xs text-gray-500 dark:text-gray-400">SDK:</span>
437
+ <span class="text-xs bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-1 py-0.5 rounded font-mono">
438
+ v1.1.0
439
+ </span>
440
+ </div>
441
+ </div>
442
+ </div>
443
+ <div class="relative flex-1">
444
+ <input
445
+ type="text"
446
+ placeholder="Digite sua mensagem ou envie uma imagem para análise..."
447
+ class="w-full rounded-full border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-4 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 pr-24"
448
+ />
449
+ <div class="absolute right-1 top-1/2 -translate-y-1/2 flex items-center gap-1">
450
+ <button class="h-7 w-7 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
451
+ <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
452
+ <path d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14" />
453
+ <circle cx="8.5" cy="8.5" r="1.5" />
454
+ <path d="M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h7" />
455
+ </svg>
456
+ </button>
457
+ <button class="h-7 w-7 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
458
+ <i data-lucide="message-square" class="h-4 w-4"></i>
459
+ </button>
460
+ <button class="h-7 w-7 flex items-center justify-center rounded-full bg-yellow-500 hover:bg-yellow-600 text-black">
461
+ <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
462
+ <path d="M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z" />
463
+ </svg>
464
+ </button>
465
+ </div>
466
+ </div>
467
+ </div>
468
+ </div>
469
+ </div>
470
+ </div>
471
+
472
+ <div class="space-y-6">
473
+ <h3 class="text-2xl font-bold text-gray-900 dark:text-white">Potencializado por IA Avançada</h3>
474
+ <p class="text-gray-600 dark:text-gray-300">
475
+ Nosso assistente utiliza modelos multimodais da OpenAI e embeddings para oferecer uma experiência conversacional natural e inteligente.
476
+ </p>
477
+
478
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mt-8">
479
+ <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
480
+ <div class="p-4 pb-2">
481
+ <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
482
+ <i data-lucide="message-square" class="h-5 w-5"></i>
483
+ </div>
484
+ <h4 class="text-base font-medium text-gray-900 dark:text-white">Suporte Conversacional</h4>
485
+ </div>
486
+ <div class="px-4 pb-4">
487
+ <p class="text-sm text-gray-500 dark:text-gray-400">Responde perguntas e oferece assistência em tempo real</p>
488
+ </div>
489
+ </div>
490
+
491
+ <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
492
+ <div class="p-4 pb-2">
493
+ <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
494
+ <i data-lucide="search" class="h-5 w-5"></i>
495
+ </div>
496
+ <h4 class="text-base font-medium text-gray-900 dark:text-white">Análise de Mercado</h4>
497
+ </div>
498
+ <div class="px-4 pb-4">
499
+ <p class="text-sm text-gray-500 dark:text-gray-400">Fornece insights sobre tendências e preços de imóveis</p>
500
+ </div>
501
+ </div>
502
+
503
+ <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
504
+ <div class="p-4 pb-2">
505
+ <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
506
+ <i data-lucide="sparkles" class="h-5 w-5"></i>
507
+ </div>
508
+ <h4 class="text-base font-medium text-gray-900 dark:text-white">Recomendações Personalizadas</h4>
509
+ </div>
510
+ <div class="px-4 pb-4">
511
+ <p class="text-sm text-gray-500 dark:text-gray-400">Sugere propriedades e estratégias com base no seu perfil</p>
512
+ </div>
513
+ </div>
514
+
515
+ <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
516
+ <div class="p-4 pb-2">
517
+ <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
518
+ <i data-lucide="bot" class="h-5 w-5"></i>
519
+ </div>
520
+ <h4 class="text-base font-medium text-gray-900 dark:text-white">Automação Inteligente</h4>
521
+ </div>
522
+ <div class="px-4 pb-4">
523
+ <p class="text-sm text-gray-500 dark:text-gray-400">Automatiza tarefas rotineiras e processos administrativos</p>
524
+ </div>
525
+ </div>
526
+ </div>
527
+
528
+ <button class="mt-4 px-4 py-2 bg-yellow-500 hover:bg-yellow-600 text-black font-medium rounded-md transition-colors">
529
+ Experimentar o Assistente
530
+ </button>
531
+ </div>
532
+ </div>
533
+ </div>
534
+ </section>
535
+
536
+ <script>
537
+ lucide.createIcons();
538
+ </script>
539
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=fernando-bold/assistente-com-ia" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
540
+ </html>