Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates with AI providers to help you create charts for your Drupal site. It allows you to send your site's information to an AI, which can then assist in generating charts based on your data.

The Charts AI Agents module provides a plugin (with hopes to include more) that can send information about your Drupal site to a chosen AI provider to have it help you create charts.

Dependencies

  1. The AI Core module, with at least one AI Provider to be installed and configured
  2. The AI Agents module, which includes the Views Agent plugin that this module extends
  3. The Charts module, which is needed to display a chart using Views.
  4. A charting submodule, such as Charts Highcharts, which is needed to display a chart using Views.

Documentation

Please start by using the documentation provided by the AI Agents module, available here: https://project.pages.drupalcode.org/ai_agents/, and the Charts module, available here: https://www.drupal.org/docs/contributed-modules/charts.

Once you have the AI Agents module installed and configured, you can create your Charts AI Agent, following the same instructions for the Views Agent.

To create a chart, you either need to use the Explore page provided by the AI Agents module, which will be available at /admin/config/ai/agents/explore?agent_id=charts_views_agent (although the) ID referenced in that link will be the machine name of your agent), or you can use the AI Chatbot, accessible as a Block you will need to place on your site.

Here's an example prompt you can provide to the AI Chatbot to create a new chart:

Please create a view of Chart Usage Statistics nodes using the chart style plugin. Use the title field as the label and the 7.x field as data provider. Make the chart a line chart using the Highcharts library.


Activity

Total releases
2
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 26, 2025
1.0.x-dev Dev Jan 26, 2025