{"id":23123390,"url":"https://github.com/openmost/mistralai","last_synced_at":"2026-01-29T08:40:02.281Z","repository":{"id":217320356,"uuid":"743577444","full_name":"openmost/MistralAI","owner":"openmost","description":"MistralAI integration and insights for Matomo","archived":false,"fork":false,"pushed_at":"2024-04-10T10:07:46.000Z","size":2626,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"5.x-dev","last_synced_at":"2024-04-10T23:08:52.427Z","etag":null,"topics":["ai","matomo","mistral","mistralai"],"latest_commit_sha":null,"homepage":"https://openmost.io","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openmost.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-15T14:32:10.000Z","updated_at":"2024-04-15T14:46:45.431Z","dependencies_parsed_at":"2024-01-15T18:55:35.281Z","dependency_job_id":"c1536257-7c2f-4487-b857-90ebed04fefa","html_url":"https://github.com/openmost/MistralAI","commit_stats":null,"previous_names":["openmost/mistralai"],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmost%2FMistralAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmost%2FMistralAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmost%2FMistralAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmost%2FMistralAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openmost","download_url":"https://codeload.github.com/openmost/MistralAI/tar.gz/refs/heads/5.x-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247119631,"owners_count":20886779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","matomo","mistral","mistralai"],"created_at":"2024-12-17T07:33:56.945Z","updated_at":"2026-01-29T08:40:02.274Z","avatar_url":"https://github.com/openmost.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matomo MistralAI Plugin\n\nIntegrate AI-powered analytics insights and chat functionality into your Matomo instance using MistralAI or any MistralAI-compatible API.\n\n## Description\n\n### AI-Powered Report Insights\nGet instant AI-generated insights for any Matomo report. The plugin adds an \"Insights\" button to all report widgets that analyzes your data and provides actionable recommendations.\n\n- Works with all report types (visitors, actions, referrers, goals, custom dimensions, custom reports, etc.)\n- Supports data tables, evolution graphs, and series visualizations\n- Conversation mode: ask follow-up questions about your report data\n\n### Dedicated AI Chat\nA full-featured chat interface for asking questions about your analytics data.\n\n- Accessible from the main menu under \"MistralAI\"\n- Real-time streaming responses (with automatic fallback for unsupported servers)\n\n### Flexible Model Configuration\nChoose from preset models or specify custom model names.\n\n**Preset Models:**\n- Mistral Large\n- Mistral Medium\n- Mistral Small\n- Open Mistral Nemo\n- Codestral\n- Pixtral Large\n- Ministral 8B\n- Ministral 3B\n\n**Custom Models:**\nSpecify any model name to use models not in the preset list, perfect for:\n- New Mistral models\n- Self-hosted LLMs (LLaMA, Mistral, etc.)\n- Other MistralAI-compatible providers\n\n### Multi-Site Configuration\nConfigure different AI settings per website using Measurable Settings:\n- Override system-wide host, API key, and model per site\n- Customize prompts for specific websites\n- Leave empty to use system defaults\n\n### Custom Host Support\nConnect to any MistralAI-compatible API endpoint:\n- MistralAI (default)\n- Azure MistralAI\n- Self-hosted solutions (Ollama, LocalAI, vLLM, etc.)\n- Other providers (Anthropic via proxy, Mistral, etc.)\n\n**Note:** API key is optional when using custom hosts, making it easy to connect to local LLM instances.\n\n### Customizable Prompts\nTailor the AI's behavior with custom prompts:\n- **Chat Base Prompt**: Customize how the AI responds in conversations\n- **Insight Base Prompt**: Customize how the AI analyzes report data\n\n### Multi-Language Support\nFull translations available in:\n- English\n- German (Deutsch)\n- Spanish (Espaol)\n- French (Franais)\n- Italian (Italiano)\n- Dutch (Nederlands)\n- Swedish (Svenska)\n\n## Installation\n\n1. Download the plugin from the [Matomo Marketplace](https://plugins.matomo.org/MistralAI)\n2. Extract to your `plugins/` directory\n3. Activate the plugin in Matomo's Plugin settings\n4. Configure your API settings in **Administration \u003e General Settings \u003e MistralAI**\n\n## Configuration\n\n### System Settings (Global)\n\n| Setting | Description |\n|---------|-------------|\n| **Host** | API endpoint URL. Default: `https://api.openai.com/v1/chat/completions` |\n| **API Key** | Your MistralAI API key (required for MistralAI, optional for custom hosts) |\n| **Model (Preset)** | Select from available model presets |\n| **Model (Custom)** | Override preset with a custom model name |\n| **Chat Base Prompt** | System prompt for chat conversations |\n| **Insight Base Prompt** | System prompt for report insights |\n\n### Measurable Settings (Per-Site)\n\nAll system settings can be overridden per website. Leave fields empty to use system defaults.\n\n## Usage\n\n### Getting Report Insights\n\n1. Navigate to any report in Matomo\n2. Click the \"Insights\" button (sparkle icon) in the report header\n3. View AI-generated insights in the side panel\n4. Ask follow-up questions to dive deeper into the data\n\n### Using the Chat\n\n1. Go to **MistralAI** in the main menu\n2. Type your question about analytics\n3. Receive AI-powered responses with streaming support\n4. Continue the conversation with follow-up questions\n\n## Requirements\n\n- Matomo 5.0.0 or higher\n- PHP 7.4 or higher\n- Valid API key (for MistralAI) or accessible custom host\n\n## API Methods\n\nThe plugin provides the following API methods:\n\n| Method | Description |\n|--------|-------------|\n| `MistralAI.getResponse` | Get AI response for messages (non-streaming) |\n| `MistralAI.getStreamingResponse` | Get AI response with SSE streaming |\n| `MistralAI.getInsight` | Get AI insights for report data |\n| `MistralAI.getModels` | Get list of available preset models |\n\nAll API methods require appropriate view permissions for the requested site.\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/openmost/MistralAI/issues)\n- **Documentation**: [Plugin Homepage](https://openmost.io/products/mistral-ai/)\n- **Email**: ronan@openmost.io\n\n## License\n\nGPL v3+\n\n## Credits\n\nDeveloped by [Openmost](https://openmost.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmost%2Fmistralai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmost%2Fmistralai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmost%2Fmistralai/lists"}