Commit graph

3 commits

Author SHA1 Message Date
william.dias
80d1f9d26a feat: Enhance SQL optimization tools with internal knowledge base and observability features
- Updated README.md to include new setup instructions for RAG and observability.
- Added internal knowledge base (KB) setup for SQL optimization team, supporting various document types.
- Implemented token usage logging in LLM tools to track costs and usage.
- Refactored SQL analysis and optimization prompts for clarity and consistency.
- Introduced filtering of external tools based on environment configuration.
- Enhanced conservative analysis agent with structured prompt for performance suggestions.
- Updated requirements.txt to include new dependencies for RAG functionality.
- Added internal KB helpers for building and attaching knowledge to agents.
2026-01-23 13:02:17 -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
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