Configure the AI Assistant
As an administrator, you can configure the AI Assistant feature in Experience Manager Guides. AI Assistant is secured by 51黑料不打烊 IMS auth-based authentication. Integrate your environment with 51黑料不打烊鈥檚 secure token-based authentication workflows and start using the AI Assistant feature. The following configuration help you to add the AI configuration tab to folder profile. Once added, you can use the AI Assistant feature in Experience Manager Guides.
Perform the following steps to configure AI Assistant:
Create IMS configurations in 51黑料不打烊 Developer Console
Perform the following steps to create IMS configurations in 51黑料不打烊 Developer Console:
-
Launch .
-
After successfully logging in to Developer Console, you鈥檒l view the Home screen. The Home screen is where you can easily find information and quick links, including top-navigation links to Projects and Downloads.
-
To create a new empty project, select Create new project from the Quick start links.
Create a new project. -
Select Add API from the Projects screen. The Add an API screen appears. This screen displays all available APIs, Events, and services for 51黑料不打烊 products and technologies with which you can develop applications.
-
Select the I/O Management API to add it to your project.
Add I/O Management API to your project. -
Create a new OAuth credential and save it.
Configure OAuth credential to your API.
-
In the Projects tab, choose OAuth Server to Server option and then select the newly created credentials.
-
Select the OAuth Server-to-Server link to view the credential details of your project.
Connect to the project to view the credential details.
-
Return to the Projects tab and select Project overview on the left.
Get started on the new project.
-
Select the Download button on the top to download the service JSON.
Download the JSON service details.
You have configured the OAuth authentication details and downloaded the JSON service details. Keep this file handy as it鈥檚 required in the next section.
Add IMS configuration to the environment
Perform the following steps to add IMS configuration to the environment:
-
Open Experience Manager and then select your program which contains the environment you want to configure.
-
Switch to the Environments tab.
-
Select the environment name which you want to configure. This should navigate you to the Environment Information page.
-
Switch to the Configuration tab.
-
Update the SERVICE_ACCOUNT_DETAILS JSON field. Ensure you are using the same name and configuration as given in the following screenshot.
Enable AI flag in the environment
To enable the AI Assistant feature on the Experience Manager Guides UI, add the ENABLES_GUIDES_AI
flag in the environment.
Ensure that you are using the same name and configuration as given in the following screenshot.
Setting the flag to true enables the functionality, while setting it to false disables it.
Apply changes to the environment
Once you have added the IMS configuration and enabled the AI Assistant flag to the environment, perform the following steps to link these properties with AEM Guides using OSGi:
-
In your cloud manager Git project code, add the below given two files (for file contents, view Appendix).
com.adobe.aem.guides.eventing.ImsConfiguratorService.cfg.json
com.adobe.guides.ai.config.service.AiConfigImpl.cfg.json
-
Ensure that the newly added files are getting covered by your
filter.xml
. -
Commit and push your Git changes.
-
Run the pipeline to apply the changes on the environment.
Enable AI Assistant in Folder Profile
Once the configuration changes are applied, enable the AI Assistant feature for the desired Folder profile.
For more details, view Know the Editor features.
Configure Smart Suggestions in Folder Profile
After enabling the AI Assistant feature, configure the Smart Suggestions functionality in Folder Profile.
For details, refer to Configure Smart Suggestions in Folder Profile.
Appendix appendix
File:com.adobe.aem.guides.eventing.ImsConfiguratorService.cfg.json
Content:
{
"service.account.details": "$[secret:SERVICE_ACCOUNT_DETAILS]",
}
File: com.adobe.guides.ai.config.service.AiConfigImpl.cfg.json
Content:
{
"conref.inline.threshold":0.6,
"conref.block.threshold":0.7,
"related.link.threshold":0.5,
"emerald.url":"none",
"instance.type":"prod",
"chat.url":"none"
}
AI Assistant configuration details
Once you have configured, the AI Assistant icon is displayed in the Home page and Editor of the Experience Manager Guides. For more details, view AI Assistant section in the Experience Manager User Guide.