An intelligent AI-powered extension for Azure Data Explorer (Kusto) query optimization and assistance. Features multi-step analysis, table statistics, and smart query generation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
An intelligent AI-powered VS Code extension for Azure Data Explorer (Kusto) query optimization and assistance. This extension provides a specialized interface for interacting with Kusto databases through AI-powered query generation and optimization.
Features
Intelligent Query Processing: 5-step AI analysis for optimal KQL query generation
Multi-Configuration Management: Support for multiple Kusto and OpenAI configurations
Advanced Table Statistics: Real-time analysis of column statistics, compression ratios, and row counts
Smart Query Optimization: Uses comprehensive database statistics for performance optimization
Interactive Chat Interface: Dynamic message sizing and proper code formatting
Kusto Context Detection: Automatically switches between intelligent and basic modes based on message content
Configuration Management: Easy setup and management of Kusto cluster connections
Requirements
VS Code 1.60.0 or higher
Access to Azure Data Explorer cluster
OpenAI API key or Azure OpenAI service
Extension Settings
This extension contributes the following settings:
kustoAIChat.clusterUrl: Kusto cluster URL
kustoAIChat.database: Default database name
kustoAIChat.authType: Authentication method (Service Principal or Interactive)
kustoAIChat.openaiProvider: OpenAI service provider (OpenAI or Azure OpenAI)
Commands
Kusto AI Chat: Configure Kusto Connection: Set up Kusto cluster connection
Kusto AI Chat: Configure OpenAI Settings: Configure AI service settings