A Chrome extension that helps analyze LeanIX reports by detecting fact sheets and providing AI-powered insights.
- Automatically detects when a LeanIX report is opened
- Captures and processes GraphQL requests for fact sheet data
- Resolves UUIDs to human-readable names across different filters
- Marks relevant fact sheets in the report with interactive indicators
- Provides AI-powered analysis of the report data
- Configurable to work with different AI providers (OpenAI, Azure OpenAI, GenAI)
- Supports multiple output modes for different model types
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Open a LeanIX report in your browser
- Click the extension icon to open the popup
- Configure your AI settings (first time only):
- Select your AI provider (OpenAI, Azure OpenAI, or GenAI)
- Enter your API credentials
- Choose appropriate output mode for your model
- Test the connection
- Save your settings
- Click "Analyze Report" to start the analysis
- View the results and hover over the markers (📌) in the report for detailed insights
The extension supports three AI providers:
- Model Name (e.g., gpt-4)
- API Key
- Endpoint URL
- API Version
- Deployment Name
- API Key
- Endpoint URL
- API Version
- Deployment Name
- API Key
- JSON Output Mode (recommended for most models)
- JSON Output Schema (for o1 2024-12-17+, gpt-4o-mini 2024-07-18+, gpt-4o 2024-08-06+)
- Text Mode (for o1-preview and o1-mini)
- Automatically detects when a LeanIX report is opened
- Monitors for URL changes to update report status
- Intercepts GraphQL requests for fact sheet data
- Merges multiple requests for comprehensive data collection
- Resolves UUIDs to human-readable names using cross-referencing
- Adds pulsing icons next to relevant fact sheets in the report
- Shows detailed reasoning on hover
- Smart positioning of tooltips to ensure visibility
- Transforms data into a standardized format
- Generates insights based on report structure and content
- Provides reasoning for each highlighted fact sheet
- Supports different output modes for various model types
- Only works with custom Landscape Reports (predefined reports are not supported)
- SAP GenAI Hub integration is in beta and not fully tested
- Extension is not extensively tested for bugs
- View and properties are not translated (technical values)
The extension consists of several key components:
manifest.json
: Extension configurationpopup.html/js
: User interface and control logiccontent.js
: Page interaction and visual markersbackground.js
: Request interception and data processingprompt-template.js
: AI prompt templates and schema generation