

I would like you to generate content about Batman. Profile: Your task is to generate content. With the following Profile, I was able to populate the Title and Body fields with content. Via the Configuration | Generate | Generate content from ChatGPT admin menu item, this allows developers to select the content type, Profile (which is provided as part of the prompt provided to the OpenAI API), and text fields to populate with the OpenAI response.

It appears that API keys are somehow associated with the organization.īefore I figured this out, none of my initial testing worked, I would always get a OpenAI\Exceptions\ErrorException or a You exceeded your quota… error because my personal account's initial credit has expired ☹️ OpenAI ChatGPT Devel Generateīeing able to generate realistic sample content is the dream (or not) of many Drupal developers - this submodule promises to provide this functionality. When creating an API key be sure to select the Default organization first, and then click to create a new API key. My Personal organization is not yet on a paid plan, but our client's organization is. My OpenAI account has two organizations - my Personal organization and an organization created by our DrupalEasy client.
#DRUPAL 8 MODULE DEVELOPMENT FREE#
While there is a free OpenAI API tier, it is important to note that the experiments below were all made with a paid OpenAI API account - the total cost was less than $0.25 USD. While the module includes nine(!) sub-modules, I decided to focus on only three of them - all related to content generation and manipulation.

The module only supports text fields (so far…).My initial impressions came from using version 1.0.0-alpha10 and within the first 20 minutes: On a self-serving note, one of our clients is interested in an AI-based solution for a task we're working on for them, so I had an agenda test-driving this module for content-related tasks. From what I had read about it from Kevin Quillen, it was being written in a way that was going to make it flexible and with an eye toward customization. Ever since it was announced, I've been itching to play with the new OpenAI / ChatGPT / AI Search Integration contrib module.
