Commit graph

11 commits

Author SHA1 Message Date
william.dias
c6dd91810b refactor: Remove AgentPromptTemplates and integrate prompt templates directly into agents for improved clarity and maintainability 2026-01-23 10:36:55 -03:00
william.dias
ae33ee5bca refactor: Replace PromptTemplates with AgentPromptTemplates across agents and remove obsolete templates module 2026-01-23 10:23:25 -03:00
william.dias
70a7a4a12b refactor: Rename QueryHistoryManager and OptimizedQueryHistoryManager to QueryHistoryTool and OptimizedQueryHistoryTool for consistency 2026-01-23 10:19:45 -03:00
william.dias
45034f4cbd feat: Integrate sqlglot for enhanced SQL parsing and complexity analysis in query tools 2026-01-23 10:14:48 -03:00
william.dias
a7afdfac8b refactor: Rename metadata_repo to metadata_store for consistency across tools and remove compatibility modules 2026-01-23 09:55:58 -03:00
william.dias
5719fdbe18 feat: Add Agno tool interfaces for LLM, prompt generation, and storage operations
- Introduced LLMTool interface for LLM providers, defining methods for text generation and health checks.
- Created PromptGeneratorTool interface for generating database-specific prompts, including SQL to natural language and vice versa.
- Implemented FileStorageTool and MetadataStoreTool interfaces for file operations and metadata persistence, respectively.
- Defined core types including DatabaseType, QueryHash, and QueryMetric to support optimization flows.
- Established exception handling with specific error classes for query validation, LLM provider issues, and optimization errors.
- Added data models for optimization metadata and results, supporting serialization and versioning.
2026-01-23 09:26:57 -03:00
william.dias
d6adaa204c feat: Update architecture proposal with enhanced automation details and SQL optimization insights 2026-01-21 14:54:48 -03:00
william.dias
7e9149ca72 feat: Enhance architecture proposal and SQL optimization tools with detailed explanations and new metadata structure 2026-01-21 14:40:33 -03:00
william.dias
f1b8bfe4b0 feat: Expand architecture proposal with detailed automation scenarios and integration plans 2026-01-21 14:22:37 -03:00
william.dias
4f0dfbadfd fix: Add type ignore comment for aiofiles import in file_handler and metadata_repository 2026-01-21 14:18:04 -03:00
william.dias
c29590d636 feat: Implement SQL prompt generators for PostgreSQL, SQLite, and SQL Server
- Added PostgreSQLPromptGenerator for generating prompts optimized for PostgreSQL features.
- Introduced SQLitePromptGenerator to handle SQLite-specific optimizations and features.
- Created SQLServerPromptGenerator for Microsoft SQL Server, including detailed analysis and optimization requirements.
- Developed a template system for rendering SQL-to-natural language and natural-to-SQL prompts.
- Established core tools for SQL analysis, optimization, and comparison, including complexity assessment and comment stripping.
- Integrated a team application to manage SQL optimization tasks and agent interactions.
- Added utility functions for handling SQL files and ensuring valid SQL input.
2026-01-21 13:51:03 -03:00