Initial Setup
Last updated on
27 September 2023
- The first step is to install the Augmentor AI module, along with the related module for any AI service you want to use, along with the Key module.
- Create a key entry with your API connection information for each AI service you plan to use.
- Create your augmentors. You will need at least one augmentor for each AI service, but potentially multiple, if you plan to use a service for different kinds of content generation. For example, if you plan to use a service with different Augmentor widgets to create content for different fields, you may find it helpful to have multiple augmentors, to allow you to structure the prompts differently for different use cases. Each augmentor needs to specify which AI service it will use, as well as the messages that will comprise the prompt to the service, including where the user input will be passed. Additional configuration options are available, for example to control how much randomness to introduce, or the maximum length of the response.
- Add fields to each content type where you want to make the AI capabilities available. Create a new field on the Manage fields tab of a content type, and select Field Augmentor as the type. You won't be able to change the cardinality, and for the next page (default value, etc) you can accept the suggested values. Generally speaking, you will probably find it useful for each instance of a field that should generate content for another (or itself).
- Go to the Manage form display tab and configure each Field Augmentor you created in the previous step. Select the widget you want to use and then use the cogwheel to configure how it should work. This includes specifying one or more source fields (where the content for the prompt will be taken from), one or more target fields (where content will go when returned from the AI service), which augmentor to use, and then other details such as whether the new content should replace, prepend, or append any existing content in the target field. You will also find it helpful to consider where to position the Field Augmentors within your form, for example next to the the fields they are meant to populate.
- Once you save the form display, your users are ready to start benefitting from your site's new AI functionality.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion