How To Integrate eG Enterprise with Generative AI?
To integrate with existing Generative AI services like ChatGPT and Google Gemini, administrators should do the following:
-
Login to the eG administrative interface as a user with any of the following user roles: Admin, MonitorwithLimitedAdmin, MonitorWithLimitedAdminNoConfig, OrgAdmin, OrgAdminNoConfig, OrgAdminWithUserMgmt, OrgAdminWithUserMgmtNoConfig or ServerAdmin.
-
Navigate through the menu sequence: Admin -> Miscellaneous -> AI Assistant.
-
Figure 1 will then appear.
-
By default, integration of eG Enterprise with Generative AI services is disabled. Therefore, the Enable AI Integration flag is set to No (see Figure 1). To enable integration of eG Enterprise with Generative AI services, set this flag to Yes.
-
Figure 2 then appears requesting you to pick a Generative API service (Gemini or ChatGPT) that can be used by the eG AI Assistant.
-
Clicking on any Generative AI service reveals Figure 3 where you are required to key in the Authentication key. The eG AI Assistant uses this Authentication key to authenticate and access the Generative AI service. You can either use an existing Authentication key a.k.a API key or you can obtain a new one by accessing the Generative AI service of your choice. To know how to obtain Authentication key for Gemini, refer to How to Obtain Authentication Key for Gemini?. To know how to obtain Authentication key for ChatGPT, refer to How to Obtain Authentication Key for ChatGPT?.
-
Once you have specified the Authentication Key, clicking the right arrow button in Figure 3 will ensure that your key is authenticated. If your key is authenticated successfully, Figure 4 will appear.
Figure 4 : Message stating validation successful for Authentication key
-
Clicking the OK button in Figure 4 will reveal Figure 5 where you will be required to determine the state of a metric for which you want the AI assistant enabled. For this, based on your choice, you can check the one/more check boxes preceding Critical, Major, Minor and Normal labels against the AI Alert & Metric forwarding option. If you choose Critical and Major, you will be able to use the AI assistant only for alerts and metrics that remain in this state. By default, the check box preceding Critical option alone is checked.
Figure 5 : Picking the state of metric for which AI Assistant should be enabled
-
If you wish the AI Assistant to offer detailed insights, then set the Would you like to enable detailed insights? flag to Yes (see Figure 6). This will ensure that detailed diagnosis from eG Enterprise is passed to the AI assistant for further analysis and recommendations. by default, this flag is set to No as indicated in Figure 5.
How to Obtain Authentication Key for ChatGPT?
To obtain the Authentication key for ChatGPT, you should do the following:
-
Login to the URL: https://platform.openai.com with valid user credentials.
-
Figure 7 then appears.
-
Click the API keys option from the left panel of Figure 7. Figure 13 will then appear.
-
To create a new API key, click the Create new secret key button as shown in Figure 8. Figure 9 then appears. Specify a unique name for the API key in the Name text box. Choose the project of your choice from the Project list. Finally, click the Create secret key button.
-
Figure 10 then appears listing the API key that you have created.
-
Click the Copy button to copy the API key and paste the same to a text editor and save the API key for future reference. Clicking the Done button will list the API key as shown in Figure 11.
-
You can paste the API key copied from Figure 10 against the Authentication Key field as shown in Figure 3.
How to Obtain Authentication Key for Gemini?
To obtain the Authentication key for Gemini, you should do the following:
-
Login to the URL: https://google.aistudio.com with valid user credentials.
-
Figure 12 then appears.
-
Click the Get API key option from the left panel of Figure 12. Figure 13 will then appear listing the default API key available for you. You can either use the API key or create a new API key.
-
To create a new API key, click the Create API Key button as shown in Figure 13. Figure 14 then appears. Specify a unique name for the API key in the Name your key text box. Choose the project of your choice from the Choose an imported project list. Finally, click the Create key button.
-
Figure 15 then appears listing the API key that you have created.
-
Click the
button to copy the API key. You can paste this API key against the Authentication Key field as shown in Figure 3.