Commit graph

7 commits

Author SHA1 Message Date
william.dias
869d8053f8 refactor: Update server port configuration to use environment variable for flexibility 2026-01-23 13:27:27 -03:00
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
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