Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +618 -19
- prompts.txt +2 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: yellow
|
| 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: flex-ai
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 5 |
colorTo: yellow
|
| 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,618 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>NoCode AI Agent Builder</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
|
| 12 |
+
}
|
| 13 |
+
.agent-card:hover {
|
| 14 |
+
transform: translateY(-5px);
|
| 15 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 16 |
+
}
|
| 17 |
+
.draggable-item {
|
| 18 |
+
cursor: grab;
|
| 19 |
+
transition: all 0.2s ease;
|
| 20 |
+
}
|
| 21 |
+
.draggable-item:active {
|
| 22 |
+
cursor: grabbing;
|
| 23 |
+
}
|
| 24 |
+
.drop-zone {
|
| 25 |
+
min-height: 200px;
|
| 26 |
+
transition: all 0.3s ease;
|
| 27 |
+
}
|
| 28 |
+
.drop-zone.active {
|
| 29 |
+
border-color: #6e8efb;
|
| 30 |
+
background-color: rgba(110, 142, 251, 0.1);
|
| 31 |
+
}
|
| 32 |
+
.animate-pulse {
|
| 33 |
+
animation: pulse 2s infinite;
|
| 34 |
+
}
|
| 35 |
+
@keyframes pulse {
|
| 36 |
+
0% { opacity: 0.6; }
|
| 37 |
+
50% { opacity: 1; }
|
| 38 |
+
100% { opacity: 0.6; }
|
| 39 |
+
}
|
| 40 |
+
</style>
|
| 41 |
+
</head>
|
| 42 |
+
<body class="bg-gray-50 font-sans">
|
| 43 |
+
<!-- Header -->
|
| 44 |
+
<header class="gradient-bg text-white shadow-lg">
|
| 45 |
+
<div class="container mx-auto px-4 py-6">
|
| 46 |
+
<div class="flex justify-between items-center">
|
| 47 |
+
<div class="flex items-center space-x-2">
|
| 48 |
+
<i class="fas fa-robot text-3xl"></i>
|
| 49 |
+
<h1 class="text-2xl font-bold">NoCode AI Agent Builder</h1>
|
| 50 |
+
</div>
|
| 51 |
+
<nav class="hidden md:flex space-x-6">
|
| 52 |
+
<a href="#" class="hover:text-gray-200 transition">Templates</a>
|
| 53 |
+
<a href="#" class="hover:text-gray-200 transition">Documentation</a>
|
| 54 |
+
<a href="#" class="hover:text-gray-200 transition">Community</a>
|
| 55 |
+
<a href="#" class="hover:text-gray-200 transition">Pricing</a>
|
| 56 |
+
</nav>
|
| 57 |
+
<div class="flex items-center space-x-4">
|
| 58 |
+
<button class="bg-white text-purple-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition">
|
| 59 |
+
Sign In
|
| 60 |
+
</button>
|
| 61 |
+
<button class="hidden md:block bg-purple-800 text-white px-4 py-2 rounded-lg font-medium hover:bg-purple-900 transition">
|
| 62 |
+
Get Started
|
| 63 |
+
</button>
|
| 64 |
+
<button class="md:hidden text-2xl">
|
| 65 |
+
<i class="fas fa-bars"></i>
|
| 66 |
+
</button>
|
| 67 |
+
</div>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</header>
|
| 71 |
+
|
| 72 |
+
<!-- Main Content -->
|
| 73 |
+
<main class="container mx-auto px-4 py-8">
|
| 74 |
+
<!-- Hero Section -->
|
| 75 |
+
<section class="mb-16">
|
| 76 |
+
<div class="text-center max-w-3xl mx-auto">
|
| 77 |
+
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6">Build AI Agents Without Writing Code</h1>
|
| 78 |
+
<p class="text-xl text-gray-600 mb-8">Create powerful AI assistants, chatbots, and automation workflows with our intuitive drag-and-drop interface. No coding required!</p>
|
| 79 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
| 80 |
+
<button class="gradient-bg text-white px-6 py-3 rounded-lg font-medium hover:opacity-90 transition shadow-lg">
|
| 81 |
+
Start Building - It's Free
|
| 82 |
+
</button>
|
| 83 |
+
<button class="bg-white border border-gray-300 text-gray-700 px-6 py-3 rounded-lg font-medium hover:bg-gray-50 transition shadow">
|
| 84 |
+
Watch Demo <i class="fas fa-play-circle ml-2"></i>
|
| 85 |
+
</button>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</section>
|
| 89 |
+
|
| 90 |
+
<!-- Features Section -->
|
| 91 |
+
<section class="mb-16">
|
| 92 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 93 |
+
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
| 94 |
+
<div class="text-purple-600 text-4xl mb-4">
|
| 95 |
+
<i class="fas fa-magic"></i>
|
| 96 |
+
</div>
|
| 97 |
+
<h3 class="text-xl font-semibold mb-2">Drag & Drop Interface</h3>
|
| 98 |
+
<p class="text-gray-600">Easily build AI agents by dragging and dropping components. No technical skills needed.</p>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
| 101 |
+
<div class="text-purple-600 text-4xl mb-4">
|
| 102 |
+
<i class="fas fa-brain"></i>
|
| 103 |
+
</div>
|
| 104 |
+
<h3 class="text-xl font-semibold mb-2">Pre-trained AI Models</h3>
|
| 105 |
+
<p class="text-gray-600">Access state-of-the-art AI models for text, vision, and voice processing.</p>
|
| 106 |
+
</div>
|
| 107 |
+
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
| 108 |
+
<div class="text-purple-600 text-4xl mb-4">
|
| 109 |
+
<i class="fas fa-share-alt"></i>
|
| 110 |
+
</div>
|
| 111 |
+
<h3 class="text-xl font-semibold mb-2">Multi-platform Deployment</h3>
|
| 112 |
+
<p class="text-gray-600">Deploy your AI agent to websites, mobile apps, and messaging platforms with one click.</p>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</section>
|
| 116 |
+
|
| 117 |
+
<!-- Builder Section -->
|
| 118 |
+
<section class="mb-16">
|
| 119 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-8">AI Agent Builder</h2>
|
| 120 |
+
|
| 121 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
|
| 122 |
+
<!-- Toolbar -->
|
| 123 |
+
<div class="bg-gray-100 p-4 border-b flex justify-between items-center">
|
| 124 |
+
<div class="flex items-center space-x-4">
|
| 125 |
+
<button class="bg-white px-4 py-2 rounded-lg border hover:bg-gray-50">
|
| 126 |
+
<i class="fas fa-plus mr-2"></i> New Agent
|
| 127 |
+
</button>
|
| 128 |
+
<button class="bg-white px-4 py-2 rounded-lg border hover:bg-gray-50">
|
| 129 |
+
<i class="fas fa-save mr-2"></i> Save
|
| 130 |
+
</button>
|
| 131 |
+
</div>
|
| 132 |
+
<div class="flex items-center space-x-2">
|
| 133 |
+
<button id="preview-btn" class="bg-purple-600 text-white px-4 py-2 rounded-lg hover:bg-purple-700">
|
| 134 |
+
<i class="fas fa-eye mr-2"></i> Preview
|
| 135 |
+
</button>
|
| 136 |
+
<button class="gradient-bg text-white px-4 py-2 rounded-lg hover:opacity-90">
|
| 137 |
+
<i class="fas fa-rocket mr-2"></i> Deploy
|
| 138 |
+
</button>
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
|
| 142 |
+
<!-- Builder Area -->
|
| 143 |
+
<div class="flex flex-col md:flex-row h-full">
|
| 144 |
+
<!-- Components Panel -->
|
| 145 |
+
<div class="w-full md:w-1/4 bg-gray-50 p-4 border-r">
|
| 146 |
+
<h3 class="font-semibold text-lg mb-4 flex items-center">
|
| 147 |
+
<i class="fas fa-cubes mr-2"></i> Components
|
| 148 |
+
</h3>
|
| 149 |
+
<div class="space-y-2">
|
| 150 |
+
<div class="draggable-item bg-white p-3 rounded-lg border cursor-move shadow-sm hover:shadow-md" draggable="true" data-type="input">
|
| 151 |
+
<i class="fas fa-keyboard text-blue-500 mr-2"></i> Text Input
|
| 152 |
+
</div>
|
| 153 |
+
<div class="draggable-item bg-white p-3 rounded-lg border cursor-move shadow-sm hover:shadow-md" draggable="true" data-type="llm">
|
| 154 |
+
<i class="fas fa-brain text-purple-500 mr-2"></i> AI Model
|
| 155 |
+
</div>
|
| 156 |
+
<div class="draggable-item bg-white p-3 rounded-lg border cursor-move shadow-sm hover:shadow-md" draggable="true" data-type="database">
|
| 157 |
+
<i class="fas fa-database text-green-500 mr-2"></i> Database
|
| 158 |
+
</div>
|
| 159 |
+
<div class="draggable-item bg-white p-3 rounded-lg border cursor-move shadow-sm hover:shadow-md" draggable="true" data-type="api">
|
| 160 |
+
<i class="fas fa-plug text-yellow-500 mr-2"></i> API Connector
|
| 161 |
+
</div>
|
| 162 |
+
<div class="draggable-item bg-white p-3 rounded-lg border cursor-move shadow-sm hover:shadow-md" draggable="true" data-type="output">
|
| 163 |
+
<i class="fas fa-terminal text-red-500 mr-2"></i> Output
|
| 164 |
+
</div>
|
| 165 |
+
<div class="draggable-item bg-white p-3 rounded-lg border cursor-move shadow-sm hover:shadow-md" draggable="true" data-type="condition">
|
| 166 |
+
<i class="fas fa-code-branch text-indigo-500 mr-2"></i> Condition
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
</div>
|
| 170 |
+
|
| 171 |
+
<!-- Canvas -->
|
| 172 |
+
<div class="w-full md:w-2/4 p-6">
|
| 173 |
+
<div id="canvas" class="drop-zone bg-gray-50 rounded-xl border-2 border-dashed border-gray-300 p-6 min-h-64">
|
| 174 |
+
<p class="text-gray-500 text-center py-8">Drag components here to build your AI agent</p>
|
| 175 |
+
|
| 176 |
+
<!-- Sample agent flow (visible after components are added) -->
|
| 177 |
+
<div id="agent-flow" class="hidden space-y-6">
|
| 178 |
+
<!-- This will be populated by JavaScript -->
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<!-- Properties Panel -->
|
| 184 |
+
<div class="w-full md:w-1/4 bg-gray-50 p-4 border-l">
|
| 185 |
+
<h3 class="font-semibold text-lg mb-4 flex items-center">
|
| 186 |
+
<i class="fas fa-sliders-h mr-2"></i> Properties
|
| 187 |
+
</h3>
|
| 188 |
+
<div id="properties-panel" class="bg-white p-4 rounded-lg border">
|
| 189 |
+
<p class="text-gray-500 text-center py-8">Select a component to edit its properties</p>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
</section>
|
| 195 |
+
|
| 196 |
+
<!-- Templates Section -->
|
| 197 |
+
<section class="mb-16">
|
| 198 |
+
<div class="flex justify-between items-center mb-8">
|
| 199 |
+
<h2 class="text-3xl font-bold text-gray-800">Starter Templates</h2>
|
| 200 |
+
<a href="#" class="text-purple-600 hover:text-purple-800 font-medium">View all templates →</a>
|
| 201 |
+
</div>
|
| 202 |
+
|
| 203 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 204 |
+
<div class="agent-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition duration-300">
|
| 205 |
+
<div class="gradient-bg p-4 text-white">
|
| 206 |
+
<h3 class="font-bold text-xl">Customer Support Bot</h3>
|
| 207 |
+
<p class="text-purple-100">24/7 automated support</p>
|
| 208 |
+
</div>
|
| 209 |
+
<div class="p-4">
|
| 210 |
+
<p class="text-gray-600 mb-4">Handle common customer queries with AI-powered responses.</p>
|
| 211 |
+
<button class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-2 rounded-lg transition">
|
| 212 |
+
Use Template
|
| 213 |
+
</button>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
|
| 217 |
+
<div class="agent-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition duration-300">
|
| 218 |
+
<div class="gradient-bg p-4 text-white">
|
| 219 |
+
<h3 class="font-bold text-xl">Content Generator</h3>
|
| 220 |
+
<p class="text-purple-100">Create engaging content</p>
|
| 221 |
+
</div>
|
| 222 |
+
<div class="p-4">
|
| 223 |
+
<p class="text-gray-600 mb-4">Generate blog posts, social media content, and product descriptions.</p>
|
| 224 |
+
<button class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-2 rounded-lg transition">
|
| 225 |
+
Use Template
|
| 226 |
+
</button>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<div class="agent-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition duration-300">
|
| 231 |
+
<div class="gradient-bg p-4 text-white">
|
| 232 |
+
<h3 class="font-bold text-xl">Data Analyzer</h3>
|
| 233 |
+
<p class="text-purple-100">Extract insights from data</p>
|
| 234 |
+
</div>
|
| 235 |
+
<div class="p-4">
|
| 236 |
+
<p class="text-gray-600 mb-4">Process and visualize data with natural language queries.</p>
|
| 237 |
+
<button class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 py-2 rounded-lg transition">
|
| 238 |
+
Use Template
|
| 239 |
+
</button>
|
| 240 |
+
</div>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</section>
|
| 244 |
+
|
| 245 |
+
<!-- Testimonials -->
|
| 246 |
+
<section class="mb-16 gradient-bg text-white rounded-xl p-8 md:p-12">
|
| 247 |
+
<h2 class="text-3xl font-bold text-center mb-12">Trusted by Thousands of Creators</h2>
|
| 248 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 249 |
+
<div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm">
|
| 250 |
+
<div class="flex items-center mb-4">
|
| 251 |
+
<div class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-purple-600 font-bold mr-4">JD</div>
|
| 252 |
+
<div>
|
| 253 |
+
<h4 class="font-semibold">Jane Doe</h4>
|
| 254 |
+
<p class="text-purple-200 text-sm">E-commerce Owner</p>
|
| 255 |
+
</div>
|
| 256 |
+
</div>
|
| 257 |
+
<p>"Built a customer support bot in 30 minutes that handles 80% of our queries. Game changer!"</p>
|
| 258 |
+
</div>
|
| 259 |
+
<div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm">
|
| 260 |
+
<div class="flex items-center mb-4">
|
| 261 |
+
<div class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-purple-600 font-bold mr-4">MS</div>
|
| 262 |
+
<div>
|
| 263 |
+
<h4 class="font-semibold">Mike Smith</h4>
|
| 264 |
+
<p class="text-purple-200 text-sm">Content Creator</p>
|
| 265 |
+
</div>
|
| 266 |
+
</div>
|
| 267 |
+
<p>"The content generator template saved me hours each week. The quality is surprisingly good!"</p>
|
| 268 |
+
</div>
|
| 269 |
+
<div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm">
|
| 270 |
+
<div class="flex items-center mb-4">
|
| 271 |
+
<div class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-purple-600 font-bold mr-4">AR</div>
|
| 272 |
+
<div>
|
| 273 |
+
<h4 class="font-semibold">Alex Rivera</h4>
|
| 274 |
+
<p class="text-purple-200 text-sm">Startup Founder</p>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
<p>"As a non-technical founder, this tool let me build our MVP's AI features myself."</p>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
</section>
|
| 281 |
+
|
| 282 |
+
<!-- CTA Section -->
|
| 283 |
+
<section class="text-center mb-16">
|
| 284 |
+
<h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-6">Ready to Build Your AI Agent?</h2>
|
| 285 |
+
<p class="text-xl text-gray-600 max-w-2xl mx-auto mb-8">Join thousands of creators building powerful AI solutions without writing a single line of code.</p>
|
| 286 |
+
<button class="gradient-bg text-white px-8 py-4 rounded-lg font-bold text-lg hover:opacity-90 transition shadow-xl">
|
| 287 |
+
Start Building for Free <i class="fas fa-arrow-right ml-2"></i>
|
| 288 |
+
</button>
|
| 289 |
+
</section>
|
| 290 |
+
</main>
|
| 291 |
+
|
| 292 |
+
<!-- Footer -->
|
| 293 |
+
<footer class="bg-gray-900 text-gray-400 py-12">
|
| 294 |
+
<div class="container mx-auto px-4">
|
| 295 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
|
| 296 |
+
<div>
|
| 297 |
+
<h3 class="text-white text-lg font-semibold mb-4">NoCode AI Builder</h3>
|
| 298 |
+
<p class="mb-4">Empowering everyone to create AI solutions without coding.</p>
|
| 299 |
+
<div class="flex space-x-4">
|
| 300 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
|
| 301 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin"></i></a>
|
| 302 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-github"></i></a>
|
| 303 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-discord"></i></a>
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
<div>
|
| 307 |
+
<h3 class="text-white text-lg font-semibold mb-4">Product</h3>
|
| 308 |
+
<ul class="space-y-2">
|
| 309 |
+
<li><a href="#" class="hover:text-white transition">Features</a></li>
|
| 310 |
+
<li><a href="#" class="hover:text-white transition">Templates</a></li>
|
| 311 |
+
<li><a href="#" class="hover:text-white transition">Pricing</a></li>
|
| 312 |
+
<li><a href="#" class="hover:text-white transition">Integrations</a></li>
|
| 313 |
+
</ul>
|
| 314 |
+
</div>
|
| 315 |
+
<div>
|
| 316 |
+
<h3 class="text-white text-lg font-semibold mb-4">Resources</h3>
|
| 317 |
+
<ul class="space-y-2">
|
| 318 |
+
<li><a href="#" class="hover:text-white transition">Documentation</a></li>
|
| 319 |
+
<li><a href="#" class="hover:text-white transition">Tutorials</a></li>
|
| 320 |
+
<li><a href="#" class="hover:text-white transition">Blog</a></li>
|
| 321 |
+
<li><a href="#" class="hover:text-white transition">Community</a></li>
|
| 322 |
+
</ul>
|
| 323 |
+
</div>
|
| 324 |
+
<div>
|
| 325 |
+
<h3 class="text-white text-lg font-semibold mb-4">Company</h3>
|
| 326 |
+
<ul class="space-y-2">
|
| 327 |
+
<li><a href="#" class="hover:text-white transition">About</a></li>
|
| 328 |
+
<li><a href="#" class="hover:text-white transition">Careers</a></li>
|
| 329 |
+
<li><a href="#" class="hover:text-white transition">Contact</a></li>
|
| 330 |
+
<li><a href="#" class="hover:text-white transition">Legal</a></li>
|
| 331 |
+
</ul>
|
| 332 |
+
</div>
|
| 333 |
+
</div>
|
| 334 |
+
<div class="pt-8 border-t border-gray-800 text-center">
|
| 335 |
+
<p>© 2023 NoCode AI Builder. All rights reserved.</p>
|
| 336 |
+
</div>
|
| 337 |
+
</div>
|
| 338 |
+
</footer>
|
| 339 |
+
|
| 340 |
+
<!-- Preview Modal -->
|
| 341 |
+
<div id="preview-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
| 342 |
+
<div class="bg-white rounded-xl w-full max-w-4xl max-h-[90vh] overflow-hidden">
|
| 343 |
+
<div class="flex justify-between items-center bg-gray-100 p-4 border-b">
|
| 344 |
+
<h3 class="font-semibold text-lg">AI Agent Preview</h3>
|
| 345 |
+
<button id="close-preview" class="text-gray-500 hover:text-gray-700">
|
| 346 |
+
<i class="fas fa-times"></i>
|
| 347 |
+
</button>
|
| 348 |
+
</div>
|
| 349 |
+
<div class="p-6 overflow-y-auto" style="max-height: 80vh;">
|
| 350 |
+
<div class="bg-gray-50 rounded-lg p-6 mb-4">
|
| 351 |
+
<div class="flex mb-4">
|
| 352 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 mr-3">
|
| 353 |
+
<i class="fas fa-robot"></i>
|
| 354 |
+
</div>
|
| 355 |
+
<div class="bg-white p-3 rounded-lg shadow-sm max-w-xs">
|
| 356 |
+
<p>Hello! I'm your AI assistant. How can I help you today?</p>
|
| 357 |
+
</div>
|
| 358 |
+
</div>
|
| 359 |
+
|
| 360 |
+
<div class="flex justify-end mb-4">
|
| 361 |
+
<div class="bg-purple-600 text-white p-3 rounded-lg shadow-sm max-w-xs">
|
| 362 |
+
<p>What can you do?</p>
|
| 363 |
+
</div>
|
| 364 |
+
</div>
|
| 365 |
+
|
| 366 |
+
<div class="flex">
|
| 367 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 mr-3">
|
| 368 |
+
<i class="fas fa-robot"></i>
|
| 369 |
+
</div>
|
| 370 |
+
<div class="bg-white p-3 rounded-lg shadow-sm max-w-xs">
|
| 371 |
+
<p>I can answer questions, analyze data, generate content, and more! Try asking me something.</p>
|
| 372 |
+
</div>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
|
| 376 |
+
<div class="flex items-center">
|
| 377 |
+
<input type="text" placeholder="Type your message..." class="flex-1 border border-gray-300 rounded-l-lg p-3 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 378 |
+
<button class="gradient-bg text-white px-6 py-3 rounded-r-lg hover:opacity-90">
|
| 379 |
+
<i class="fas fa-paper-plane"></i>
|
| 380 |
+
</button>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
</div>
|
| 384 |
+
</div>
|
| 385 |
+
|
| 386 |
+
<script>
|
| 387 |
+
// Drag and drop functionality
|
| 388 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 389 |
+
const canvas = document.getElementById('canvas');
|
| 390 |
+
const agentFlow = document.getElementById('agent-flow');
|
| 391 |
+
const propertiesPanel = document.getElementById('properties-panel');
|
| 392 |
+
const previewBtn = document.getElementById('preview-btn');
|
| 393 |
+
const previewModal = document.getElementById('preview-modal');
|
| 394 |
+
const closePreview = document.getElementById('close-preview');
|
| 395 |
+
|
| 396 |
+
let draggedItem = null;
|
| 397 |
+
|
| 398 |
+
// Make components draggable
|
| 399 |
+
document.querySelectorAll('.draggable-item').forEach(item => {
|
| 400 |
+
item.addEventListener('dragstart', function() {
|
| 401 |
+
draggedItem = this;
|
| 402 |
+
setTimeout(() => {
|
| 403 |
+
this.style.opacity = '0.4';
|
| 404 |
+
}, 0);
|
| 405 |
+
});
|
| 406 |
+
|
| 407 |
+
item.addEventListener('dragend', function() {
|
| 408 |
+
this.style.opacity = '1';
|
| 409 |
+
});
|
| 410 |
+
});
|
| 411 |
+
|
| 412 |
+
// Canvas drop zone
|
| 413 |
+
canvas.addEventListener('dragover', function(e) {
|
| 414 |
+
e.preventDefault();
|
| 415 |
+
this.classList.add('active');
|
| 416 |
+
});
|
| 417 |
+
|
| 418 |
+
canvas.addEventListener('dragleave', function() {
|
| 419 |
+
this.classList.remove('active');
|
| 420 |
+
});
|
| 421 |
+
|
| 422 |
+
canvas.addEventListener('drop', function(e) {
|
| 423 |
+
e.preventDefault();
|
| 424 |
+
this.classList.remove('active');
|
| 425 |
+
|
| 426 |
+
if (draggedItem) {
|
| 427 |
+
// Hide the placeholder text
|
| 428 |
+
if (canvas.querySelector('p')) {
|
| 429 |
+
canvas.querySelector('p').style.display = 'none';
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
// Show the agent flow container
|
| 433 |
+
agentFlow.classList.remove('hidden');
|
| 434 |
+
|
| 435 |
+
// Create a new component on the canvas
|
| 436 |
+
const componentType = draggedItem.getAttribute('data-type');
|
| 437 |
+
const newComponent = createComponent(componentType);
|
| 438 |
+
agentFlow.appendChild(newComponent);
|
| 439 |
+
|
| 440 |
+
// Add click event to show properties
|
| 441 |
+
newComponent.addEventListener('click', function() {
|
| 442 |
+
showProperties(componentType);
|
| 443 |
+
});
|
| 444 |
+
}
|
| 445 |
+
});
|
| 446 |
+
|
| 447 |
+
// Preview button
|
| 448 |
+
previewBtn.addEventListener('click', function() {
|
| 449 |
+
previewModal.classList.remove('hidden');
|
| 450 |
+
});
|
| 451 |
+
|
| 452 |
+
// Close preview
|
| 453 |
+
closePreview.addEventListener('click', function() {
|
| 454 |
+
previewModal.classList.add('hidden');
|
| 455 |
+
});
|
| 456 |
+
|
| 457 |
+
// Close modal when clicking outside
|
| 458 |
+
previewModal.addEventListener('click', function(e) {
|
| 459 |
+
if (e.target === previewModal) {
|
| 460 |
+
previewModal.classList.add('hidden');
|
| 461 |
+
}
|
| 462 |
+
});
|
| 463 |
+
|
| 464 |
+
// Helper function to create components
|
| 465 |
+
function createComponent(type) {
|
| 466 |
+
const component = document.createElement('div');
|
| 467 |
+
component.className = 'bg-white p-4 rounded-lg border shadow-sm hover:shadow-md transition cursor-pointer';
|
| 468 |
+
|
| 469 |
+
let icon, title, description;
|
| 470 |
+
|
| 471 |
+
switch(type) {
|
| 472 |
+
case 'input':
|
| 473 |
+
icon = 'keyboard';
|
| 474 |
+
title = 'Text Input';
|
| 475 |
+
description = 'Collect user input text';
|
| 476 |
+
break;
|
| 477 |
+
case 'llm':
|
| 478 |
+
icon = 'brain';
|
| 479 |
+
title = 'AI Model';
|
| 480 |
+
description = 'Process input with AI';
|
| 481 |
+
break;
|
| 482 |
+
case 'database':
|
| 483 |
+
icon = 'database';
|
| 484 |
+
title = 'Database';
|
| 485 |
+
description = 'Store and retrieve data';
|
| 486 |
+
break;
|
| 487 |
+
case 'api':
|
| 488 |
+
icon = 'plug';
|
| 489 |
+
title = 'API Connector';
|
| 490 |
+
description = 'Connect to external services';
|
| 491 |
+
break;
|
| 492 |
+
case 'output':
|
| 493 |
+
icon = 'terminal';
|
| 494 |
+
title = 'Output';
|
| 495 |
+
description = 'Display results to user';
|
| 496 |
+
break;
|
| 497 |
+
case 'condition':
|
| 498 |
+
icon = 'code-branch';
|
| 499 |
+
title = 'Condition';
|
| 500 |
+
description = 'Create decision branches';
|
| 501 |
+
break;
|
| 502 |
+
}
|
| 503 |
+
|
| 504 |
+
component.innerHTML = `
|
| 505 |
+
<div class="flex items-start">
|
| 506 |
+
<div class="bg-purple-100 text-purple-600 p-2 rounded-lg mr-3">
|
| 507 |
+
<i class="fas fa-${icon}"></i>
|
| 508 |
+
</div>
|
| 509 |
+
<div>
|
| 510 |
+
<h4 class="font-medium">${title}</h4>
|
| 511 |
+
<p class="text-sm text-gray-500">${description}</p>
|
| 512 |
+
</div>
|
| 513 |
+
</div>
|
| 514 |
+
`;
|
| 515 |
+
|
| 516 |
+
return component;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
// Show properties for selected component
|
| 520 |
+
function showProperties(type) {
|
| 521 |
+
let propertiesHTML = '';
|
| 522 |
+
|
| 523 |
+
switch(type) {
|
| 524 |
+
case 'input':
|
| 525 |
+
propertiesHTML = `
|
| 526 |
+
<h4 class="font-medium text-lg mb-4">Text Input Properties</h4>
|
| 527 |
+
<div class="space-y-4">
|
| 528 |
+
<div>
|
| 529 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Prompt Text</label>
|
| 530 |
+
<input type="text" class="w-full border border-gray-300 rounded-lg p-2" value="Enter your question...">
|
| 531 |
+
</div>
|
| 532 |
+
<div>
|
| 533 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Input Type</label>
|
| 534 |
+
<select class="w-full border border-gray-300 rounded-lg p-2">
|
| 535 |
+
<option>Single line text</option>
|
| 536 |
+
<option>Multi-line text</option>
|
| 537 |
+
<option>Number</option>
|
| 538 |
+
<option>Email</option>
|
| 539 |
+
</select>
|
| 540 |
+
</div>
|
| 541 |
+
<div class="flex items-center">
|
| 542 |
+
<input type="checkbox" id="required" class="mr-2">
|
| 543 |
+
<label for="required" class="text-sm text-gray-700">Required field</label>
|
| 544 |
+
</div>
|
| 545 |
+
</div>
|
| 546 |
+
`;
|
| 547 |
+
break;
|
| 548 |
+
case 'llm':
|
| 549 |
+
propertiesHTML = `
|
| 550 |
+
<h4 class="font-medium text-lg mb-4">AI Model Properties</h4>
|
| 551 |
+
<div class="space-y-4">
|
| 552 |
+
<div>
|
| 553 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Model</label>
|
| 554 |
+
<select class="w-full border border-gray-300 rounded-lg p-2">
|
| 555 |
+
<option>GPT-4</option>
|
| 556 |
+
<option>GPT-3.5</option>
|
| 557 |
+
<option>Claude 2</option>
|
| 558 |
+
<option>Llama 2</option>
|
| 559 |
+
</select>
|
| 560 |
+
</div>
|
| 561 |
+
<div>
|
| 562 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">System Prompt</label>
|
| 563 |
+
<textarea class="w-full border border-gray-300 rounded-lg p-2 h-24">You are a helpful AI assistant...</textarea>
|
| 564 |
+
</div>
|
| 565 |
+
<div>
|
| 566 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Temperature</label>
|
| 567 |
+
<input type="range" min="0" max="1" step="0.1" value="0.7" class="w-full">
|
| 568 |
+
<div class="text-xs text-gray-500 flex justify-between">
|
| 569 |
+
<span>Precise</span>
|
| 570 |
+
<span>Creative</span>
|
| 571 |
+
</div>
|
| 572 |
+
</div>
|
| 573 |
+
</div>
|
| 574 |
+
`;
|
| 575 |
+
break;
|
| 576 |
+
case 'database':
|
| 577 |
+
propertiesHTML = `
|
| 578 |
+
<h4 class="font-medium text-lg mb-4">Database Properties</h4>
|
| 579 |
+
<div class="space-y-4">
|
| 580 |
+
<div>
|
| 581 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Connection</label>
|
| 582 |
+
<select class="w-full border border-gray-300 rounded-lg p-2">
|
| 583 |
+
<option>Create new connection</option>
|
| 584 |
+
<option>PostgreSQL</option>
|
| 585 |
+
<option>MySQL</option>
|
| 586 |
+
<option>MongoDB</option>
|
| 587 |
+
<option>Firebase</option>
|
| 588 |
+
</select>
|
| 589 |
+
</div>
|
| 590 |
+
<div>
|
| 591 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Operation</label>
|
| 592 |
+
<select class="w-full border border-gray-300 rounded-lg p-2">
|
| 593 |
+
<option>Read</option>
|
| 594 |
+
<option>Create</option>
|
| 595 |
+
<option>Update</option>
|
| 596 |
+
<option>Delete</option>
|
| 597 |
+
</select>
|
| 598 |
+
</div>
|
| 599 |
+
<div>
|
| 600 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Query</label>
|
| 601 |
+
<textarea class="w-full border border-gray-300 rounded-lg p-2 h-20">SELECT * FROM users WHERE id = ?</textarea>
|
| 602 |
+
</div>
|
| 603 |
+
</div>
|
| 604 |
+
`;
|
| 605 |
+
break;
|
| 606 |
+
default:
|
| 607 |
+
propertiesHTML = `
|
| 608 |
+
<h4 class="font-medium text-lg mb-4">${type.charAt(0).toUpperCase() + type.slice(1)} Properties</h4>
|
| 609 |
+
<p class="text-gray-500">Configure your ${type} component here.</p>
|
| 610 |
+
`;
|
| 611 |
+
}
|
| 612 |
+
|
| 613 |
+
propertiesPanel.innerHTML = propertiesHTML;
|
| 614 |
+
}
|
| 615 |
+
});
|
| 616 |
+
</script>
|
| 617 |
+
<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=LuckyEnforceAgent/flex-ai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 618 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
i need a nocode ai agent builder
|
| 2 |
+
is this app fully working and ready to go for users to use
|