Skip to content

Commit

Permalink
Update ai.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skounis authored Jul 23, 2024
1 parent 27f50fb commit 4440812
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions docs/guides/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,33 +111,41 @@ Important notes:

![image](https://github.com/morethanthemes/docs/assets/690575/d90d97db-839e-40af-9817-bdf9d847be8a)

## Disable AI Image Generation for the Post Content type
TODO: prepare an overview that due to the `beta` nature of the OpenAPI image generation you can disable this feature from your Webmaker+ (Drupal) installation. This instruction will show you how.
Here is the revised and extended section on disabling the AI image generation feature for the Post content type, with improved clarity and consistent language:

### Disable the `in-page` image filed
1. Navigate to `admin/structure/types/manage/mt_post/fields`
2. Locate the **In-page Image(s)** (`field_mt_pst_image`) field and click the edit button
---

## Disable AI Image Generation for the Post Content Type
As the OpenAPI image generation feature is currently in beta, you may wish to disable it within your Webmaker+ (Drupal) installation. The following instructions will guide you through the process.

### Disable the `In-page` Image Field

1. Navigate to `admin/structure/types/manage/mt_post/fields`.
2. Locate the **In-page Image(s)** (`field_mt_pst_image`) field and click the edit button.
3. Deactivate the **Enable AI Interpolator** option.

TODO: Add screen capture
4. ![image](https://github.com/user-attachments/assets/17314e93-575f-4f18-b2a7-f0ce60b1c1e1)

### Disable the `Pre-prompt` field
1. Navigate to `admin/structure/types/manage/mt_post/fields`
2. Locate the **Pre-prompt** (`field_mt_post_pre_prompt`) field and click the edit button

### Disable the `Pre-prompt` Field

1. Navigate to `admin/structure/types/manage/mt_post/fields`.
2. Locate the **Pre-prompt** (`field_mt_post_pre_prompt`) field and click the edit button.
3. Deactivate the **Enable AI Interpolator** option.

TODO: Add screen capture
![image](https://github.com/user-attachments/assets/39df5f05-4097-4c34-8b86-0f8d9e5b0264)

### Uninstall Modules (Optional)

### Uninstall modules (optional)
You can optionaly uninstal the related modules. We suggest to keep the modules enabled so you can activate the feature more easily in the future.
If you prefer, you can uninstall the related modules. However, we suggest keeping the modules enabled for easier reactivation in the future.

1. Navigatet to `admin/modules/uninstall`
2. Uninstall the **AI Interpolator OpenAI** module
3. Uninstall the **AI Interpolator** module
1. Navigate to `admin/modules/uninstall`.
2. Uninstall the **AI Interpolator OpenAI** module.
3. Uninstall the **AI Interpolator** module.

### Delete the `Pre-prompt` Field (Optional)

### Delete the `Pre-prompt` field (optional)
If you decided that you would not need this feature you can clean up your installation by also removing the related field.
If you decide that you no longer need this feature, you can clean up your installation by removing the related field.

1. Navigate to admin/structure/types/manage/mt_post/fields
2. Locate the **Pre-prompt** (field_mt_post_pre_prompt) field and click the delete button
1. Navigate to `admin/structure/types/manage/mt_post/fields`.
2. Locate the **Pre-prompt** (`field_mt_post_pre_prompt`) field and click the delete button.

0 comments on commit 4440812

Please sign in to comment.