2025-12-16 12:40:34 +00:00
# data-peek Notes & Blog Posts
feat: Add AI Assistant with multi-provider support and chat persistence (#13)
* feat: add AI assistant with inline query execution and chat persistence
- Integrate AI SDK with structured JSON output (query, chart, metric, schema, message types)
- Support multiple AI providers: OpenAI, Anthropic, Google, Groq, Ollama
- Add inline query execution with results displayed directly in chat
- Persist chat history per connection using electron-store
- Add AI settings modal for API key configuration
- Create generative UI components: charts (bar, line, pie, area), metrics, schema cards
- Add SQL preview with syntax highlighting and copy/execute actions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: ai chat persistence
* chore: fix linting issues
* chore: add some notes
* feat: Introduce shared AI types and implement secure, migratable storage for
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-30 13:03:03 +00:00
2025-12-16 12:40:34 +00:00
This folder is the single source of truth for technical notes and blog posts. Files with `published: true` in frontmatter are automatically served on the website's blog.
feat: Add AI Assistant with multi-provider support and chat persistence (#13)
* feat: add AI assistant with inline query execution and chat persistence
- Integrate AI SDK with structured JSON output (query, chart, metric, schema, message types)
- Support multiple AI providers: OpenAI, Anthropic, Google, Groq, Ollama
- Add inline query execution with results displayed directly in chat
- Persist chat history per connection using electron-store
- Add AI settings modal for API key configuration
- Create generative UI components: charts (bar, line, pie, area), metrics, schema cards
- Add SQL preview with syntax highlighting and copy/execute actions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: ai chat persistence
* chore: fix linting issues
* chore: add some notes
* feat: Introduce shared AI types and implement secure, migratable storage for
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-30 13:03:03 +00:00
2025-12-16 12:40:34 +00:00
## Published Posts
feat: Add AI Assistant with multi-provider support and chat persistence (#13)
* feat: add AI assistant with inline query execution and chat persistence
- Integrate AI SDK with structured JSON output (query, chart, metric, schema, message types)
- Support multiple AI providers: OpenAI, Anthropic, Google, Groq, Ollama
- Add inline query execution with results displayed directly in chat
- Persist chat history per connection using electron-store
- Add AI settings modal for API key configuration
- Create generative UI components: charts (bar, line, pie, area), metrics, schema cards
- Add SQL preview with syntax highlighting and copy/execute actions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: ai chat persistence
* chore: fix linting issues
* chore: add some notes
* feat: Introduce shared AI types and implement secure, migratable storage for
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-30 13:03:03 +00:00
2025-12-16 12:40:34 +00:00
| File | Topic |
|------|-------|
| [building-ai-sql-assistant.mdx ](./building-ai-sql-assistant.mdx ) | Building the AI SQL Assistant |
| [ai-assistant-deep-dive.mdx ](./ai-assistant-deep-dive.mdx ) | Technical deep dive into AI components |
| [query-performance-analyzer.mdx ](./query-performance-analyzer.mdx ) | Query Performance Analyzer with EXPLAIN |
## Creating a New Post
1. Create a new `.mdx` file in this folder
2. Add frontmatter at the top:
```yaml
---
title: "Your Post Title"
description: "Brief description for SEO and previews"
date: "YYYY-MM-DD"
author: "Rohith Gilla"
tags: ["Tag1", "Tag2"]
published: true # Set to false to keep as draft
---
```
3. Write your content in MDX (Markdown + JSX)
4. The post will appear on `/blog` when `published: true`
## Draft Posts
Set `published: false` in frontmatter to keep a post as a draft. It won't appear on the blog until you change it to `true` .
feat: Add AI Assistant with multi-provider support and chat persistence (#13)
* feat: add AI assistant with inline query execution and chat persistence
- Integrate AI SDK with structured JSON output (query, chart, metric, schema, message types)
- Support multiple AI providers: OpenAI, Anthropic, Google, Groq, Ollama
- Add inline query execution with results displayed directly in chat
- Persist chat history per connection using electron-store
- Add AI settings modal for API key configuration
- Create generative UI components: charts (bar, line, pie, area), metrics, schema cards
- Add SQL preview with syntax highlighting and copy/execute actions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: ai chat persistence
* chore: fix linting issues
* chore: add some notes
* feat: Introduce shared AI types and implement secure, migratable storage for
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-30 13:03:03 +00:00
## Future Topics
- [ ] Electron + React architecture patterns
- [ ] Multi-database adapter pattern
- [ ] Building a table designer with DDL generation
- [ ] Monaco editor integration tips
- [ ] ERD visualization with React Flow