Skip to content

Commit 7c2a5bc

Browse files
committed
2 parents f90a790 + e226bb0 commit 7c2a5bc

8 files changed

Lines changed: 698 additions & 101 deletions

File tree

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -219,16 +219,10 @@ This project uses **Supabase** for authentication and **enterprise-grade securit
219219
SMTP_PORT=587
220220
SMTP_USER=your-email@gmail.com
221221
SMTP_PASSWORD=your-app-password
222-
223-
# AI Configuration (Optional - see AI Tools section below)
224-
# Option 1: Use local Ollama (privacy-first, no cost)
225-
OLLAMA_URL=http://localhost:11434
226-
OLLAMA_MODEL=deepseek-r1:7b
227-
228222
SMTP_FROM_EMAIL=your-email@gmail.com
229223
SMTP_FROM_NAME=Lab68 Dev Platform
230224
231-
# AI Configuration
225+
# AI Configuration (RAG + Ollama)
232226
OLLAMA_URL=http://localhost:11434
233227
OLLAMA_MODEL=deepseek-r1:7b
234228
```
@@ -269,16 +263,17 @@ The **AI Tools** feature (`/dashboard/ai-tools`) provides an intelligent develop
269263

270264
### Features
271265

272-
- **🧠 RAG-Enhanced AI** – AI powered by your documentation, features, and codebase
266+
- **🧠 RAG-Enhanced AI** – AI powered by your documentation, features, and codebase using vector embeddings
273267
- **🤖 Smart AI Assistant** – Code generation, debugging, architecture decisions, and technical guidance
274-
- **📚 Context-Aware** – Answers based on your actual platform documentation
275-
- **🔒 Complete Privacy** – All processing and data stays on your infrastructure
268+
- **📚 Context-Aware** – Answers based on your actual platform documentation via RAG retrieval
269+
- **🔒 Complete Privacy** – All processing and data stays on your infrastructure (Ollama + Supabase pgvector)
276270
- **💰 Zero Cost** – No API fees, unlimited usage with local Ollama
277271
- **🌐 Offline Capable** – Works without internet connection
278272
- **💬 Modern Chat UI** – User/AI avatars, message bubbles, copy-to-clipboard, typing indicators
279-
- **📊 Real-time Status** – Shows Ollama connection status and RAG usage
273+
- **📊 Real-time Status** – Shows Ollama + RAG status
280274
- **🧹 Clear Chat** – Reset conversation anytime
281275
- **📝 Message Counter** – Track conversation length and character count
276+
- **⚡ Fast Retrieval** – Cosine similarity search with Supabase pgvector (sub-100ms)
282277

283278
### What is RAG?
284279

@@ -369,6 +364,8 @@ For production, run Ollama on a separate server:
369364
- ✅ Full control - choose any model, customize parameters
370365
- ✅ Platform-specific knowledge - AI trained on YOUR docs
371366

367+
---
368+
372369
## Feature Overview
373370

374371
| Area | Summary |
@@ -483,6 +480,7 @@ This project is licensed under the [Apache License 2.0](./LICENSE).
483480
## Support & Feedback
484481

485482
- GitHub Issues: [lab68dev-platform/issues](https://github.com/lab68dev/lab68dev-platform/issues)
486-
- Maintainer: [@F4P1E](https://github.com/F4P1E)
483+
- Founder / Maintainer: [@F4P1E](https://github.com/F4P1E)
484+
- Co-founder / Assistant: [@mthutt](https://github.com/mthutt)
487485

488486
Let us know how you are using Lab68 Dev Platform or what you would like to see next!

app/dashboard/ai-tools/page.tsx

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function AIToolsPage() {
2626
{
2727
role: "assistant",
2828
content:
29-
"Hello! I'm your AI development assistant. I can run locally using Ollama or connect to cloud APIs. I can help you with code generation, debugging, architecture decisions, and more. What would you like to work on today?",
29+
"Hello! I'm your RAG-enhanced AI development assistant powered by Ollama. I can help you with code generation, debugging, architecture decisions, and more. My responses are based on your platform's documentation and codebase for accurate, context-aware answers. What would you like to work on today?",
3030
timestamp: new Date().toLocaleTimeString(),
3131
},
3232
])
@@ -84,7 +84,7 @@ export default function AIToolsPage() {
8484
const errorMessage: Message = {
8585
role: "assistant",
8686
content:
87-
"Sorry, I encountered an error connecting to Ollama. Please ensure Ollama is running and you have downloaded a model. Visit https://ollama.com for setup instructions or see docs/OLLAMA_SETUP.md",
87+
"Sorry, I encountered an error connecting to the RAG-enhanced AI. Please ensure Ollama is running and you have downloaded a model. Visit https://ollama.com for setup instructions or see docs/OLLAMA_SETUP.md",
8888
timestamp: new Date().toLocaleTimeString(),
8989
}
9090
setMessages((prev) => [...prev, errorMessage])
@@ -104,7 +104,7 @@ export default function AIToolsPage() {
104104
{
105105
role: "assistant",
106106
content:
107-
"Hello! I'm your AI development assistant. I can run locally using Ollama or connect to cloud APIs. I can help you with code generation, debugging, architecture decisions, and more. What would you like to work on today?",
107+
"Hello! I'm your RAG-enhanced AI development assistant powered by Ollama. I can help you with code generation, debugging, architecture decisions, and more. My responses are based on your platform's documentation and codebase for accurate, context-aware answers. What would you like to work on today?",
108108
timestamp: new Date().toLocaleTimeString(),
109109
},
110110
])
@@ -124,9 +124,9 @@ export default function AIToolsPage() {
124124
<div>
125125
<h1 className="text-2xl font-bold tracking-tight">{t.nav.aiTools}</h1>
126126
<div className="flex items-center gap-2 mt-1">
127-
<div className={`h-2 w-2 rounded-full ${provider === "Ollama (Local)" ? "bg-green-500 animate-pulse" : "bg-blue-500"}`} />
127+
<div className={`h-2 w-2 rounded-full ${provider.includes("RAG") ? "bg-purple-500 animate-pulse" : provider.includes("Ollama") ? "bg-green-500 animate-pulse" : "bg-blue-500"}`} />
128128
<p className="text-sm text-muted-foreground">
129-
{provider === "Ollama (Local)" ? "Running Locally" : provider}
129+
{provider.includes("RAG") ? "🧠 RAG-Enhanced (Local)" : provider.includes("Ollama") ? "Running Locally" : provider}
130130
</p>
131131
</div>
132132
</div>
@@ -261,7 +261,16 @@ export default function AIToolsPage() {
261261
</div>
262262
<div className="flex items-center justify-between text-xs">
263263
<p className="text-muted-foreground flex items-center gap-2">
264-
{provider === "Ollama (Local)" ? (
264+
{provider.includes("RAG") ? (
265+
<>
266+
<span className="flex items-center gap-1">
267+
<span className="h-1.5 w-1.5 bg-purple-500 rounded-full animate-pulse" />
268+
RAG-Enhanced AI
269+
</span>
270+
<span className="text-muted-foreground/60"></span>
271+
<span>Context from your docs & code</span>
272+
</>
273+
) : provider.includes("Ollama") ? (
265274
<>
266275
<span className="flex items-center gap-1">
267276
<span className="h-1.5 w-1.5 bg-green-500 rounded-full animate-pulse" />

0 commit comments

Comments
 (0)