Drupal AI Initiative: Drupal AI 1.2.0-alpha2 is out and comes with stability fixes and new features

Drupal AI 1.2.0-alpha2 was released on the 13th of August and it comes with a lot of stability fixes and some new features. 

Note that since this is an alpha, we will not provide upgrade paths from this alpha and more features will still be added before the beta releases.

To discover more about Drupal AI and to access full documentation visit the project page.

Stability Fixes

The release takes us closer to a production release, by fixing a lot of bugs on the added features since the 1.2.0-alpha1 release and it fixes minor bugs on the features that already exist.

Views Automators Type

This new AI Automators type gives a whole set of new powers to AI Automators by making it possible to invoke Views from anywhere in your Automators Workflows.

This means that any content you can express in a view, the Automator can use to automate or make part of an editorial workflow.

The following scenarios are some of thousands of different workflows that you could create within minutes using the AI Automators due to this new type:

  • You want to figure out not just what was the most commented articles last week, but you also want a short summary and semantic rating of if the comments were positive or negative for each article. You can now set that up in minutes.
  • You want to have a related content block on your article, but you want it actually written in free text as a couple of sentences, how the linked content connects to the article you are reading now. You can now set that up in minutes.
  • You want a weekly mail with quotes that touches a specific topic, filtered out from all the editorial content that was added last week. You can now set that up in minutes.

Field Widget Actions - now with more Automator Types and with improved accessibility 

The new Field Widget Actions module makes it possible to add interactive buttons on any entity form, to make it easy for editors to interact and fill out fields with AI from anywhere. With a push of a button you can have suggestions or picks - if you are not happy, you can push and ask again. This ensures that we can use AI to help the editor, but the editor has the final decision. 

We have now added so you can use select lists, numeric fields, e-mail fields and more using the Automators and Field Widget Actions.

Outside of that, the initial version lacked needed accessibility features, making it hard to be used by everyone. We have added fixes for this.

Fully flexible streamed response

Streaming has been a second class citizen up until now in the AI module. The problem with the architecture of PHP and how a streamed response works, made it hard to do things like logging, token counting, callbacks and other post streaming events.

This has now been alleviated and it's now possible to do all things that you can do in a normal response as a streamed response.

Better CKEditor experience

The AI CKEditor experience had a limited experience when using it with the text selection. We have now added improvements to how the plugin works when selecting text and using the AI CKEditor.

Normalized Token Usage

The token usage for chat clients has historically been represented as a raw value on the response, however now we have added normalization of token usage, meaning that any third party library that for instance wants to count usage costs or add usage limits now has the possibility to do this.

Work on such an module is already underway here

Thank you 

Thank you to the following contributors for your contributions:

marcus_johansson, leo pitt, bbruno, a.dmitriiev, mrdalesmith, anjaliprasannan, prashant.c, danielveza, sijumpk, johnpicozzi, bisonbleu, jayzalani34, sanket.tale, ishani patel, libbna, abhishek@kumar, kanchan bhogade, jofitz, sarvjeetsingh, techmantejas, project update bot, kristen pol, mgifford, ravimane23, prabha1997, annmarysruthy, valthebald, andrewbelcher, riyas_nr, murz, gxleano, aporie, sirclickalot, seogow, svendecabooter, breidert, dan2k3k4, akhil babu, michaellander, ralkeon, scott_euser, jurgenhaas, andypost, binoli lalani, nicholass, petar_basic, matthews, dunx

Thank you to the following organizations for supporting contribution:

  • 1xINTERNET
  • Acquia
  • Amazee Labs
  • amazee.io
  • CivicActions
  • Dropsolid
  • drunomics
  • Drupal India Association
  • EPAM Systems
  • European Commission and European Union Institutions, Agencies and Bodies
  • FAB Web Studio
  • Factorial GmbH
  • FreelyGive
  • Itty Bitty Byte
  • jofitz
  • LakeDrops
  • Noble Services Scotland
  • PreviousNext
  • QED42
  • Salsa Digital
  • Sixeleven
  • Skilld
  • Soapbox
  • Sven Decabooter
  • SystemSeed
  • Zoocha

Learn more about the Drupal AI Initiative and get involved

We have a variety of webinars, events and ways to get involved. There are opportunities for individuals across a range of skillsets plus we are keen to encourage organisations to become Makers of Drupal AI via sponsorship.

Visit the Drupal AI Initiative homepage to find out more.

PubDate

Tags