Introduction: –
In Oracle APEX, the Open AI Assistant dynamic action allows us to seamlessly integrate a chat bot into our application. By using this feature, we can enhance user interaction and provide real-time assistance within our application. To set up this functionality, it’s essential to configure the specific Generative AI service that will be employed by the application. This ensures that the chat bot operates effectively, providing relevant responses based on the chosen AI service.
The following technologies has been used to achieve the same.
- Oracle APEX
Why we need to do: –
Enhancing Ticket Submission with Open AI Assistant in Oracle APEX
In an Oracle APEX application for a customer support portal, the Open AI Assistant is integrated to enhance the ticket submission process. When a user starts filling out the support ticket form, the AI dynamically corrects common mistakes, such as misspelled product names or incorrectly formatted dates, in real-time. As the user types, the assistant instantly provides feedback, like suggesting the correct format for a phone number or alerting the user if a required field is missing. If the user requests help with describing the issue, the AI can even suggest common troubleshooting steps or related issues based on previous tickets. This dynamic action not only ensures that the form is completed accurately but also enhances the user experience by providing timely and relevant assistance.
How do we solve:
Step1: Create an account with an AI service, such as Cohere, and copy the API key.
Step2: Select “Workspace Utilities” From the App Builder (or) To go All workspace utilities from the top left corner of the screen, go to the workspace, click the App-Builder drop-down,
and select the Workspace Utilities option.
Step3: Once it is open, it shows the Generate AI option from the Utilities list. Select Generate AI option from the list.
Step4: Click create button to initialize the Generative AI process. It needs some details for
integration. Once all this steps are done then click create button.
Step5:Click the “Create” button, and the following pop-up will appear.
Step6: For example, create a sample application with a single button.
Step 7: Right-click the button and create a dynamic action. In the True Action, change the action to Open AI Assistant.
Step 8:Fill other attribute details based on our need. Description for each attribute is given below.
Step 9:Click “Edit Application Definition”. Go to “AI” tab to configure application UI level. Select Service from select list. Content message is nothing, It ask to user to confirm their consent to use AI. If you skip this configuration it show static id not found error.
Conclusion:
In conclusion, integrating the Open AI Assistant dynamic action within Oracle APEX applications not only improves user engagement but also elevates the overall experience by offering personalized and responsive support. By carefully configuring the necessary attributes and selecting the appropriate Generative AI service, we ensure that the AI assistant functions optimally, meeting the specific needs of our application and its users. This powerful feature allows us to create smarter, more interactive applications that can adapt to various user scenarios.