Leveraging AI with Visual Builder
Science & Technology
Introduction
Hello everyone, my name is Blaine Carter, and I am a product manager at Oracle focusing on Oracle Visual Builder and Oracle Visual Builder Studio. Today, I will walk you through integrating Oracle's AI Services into an Oracle Visual Builder application.
Introduction to Oracle Visual Builder
Oracle Visual Builder is a comprehensive cloud platform that helps you create and host enterprise-level applications rapidly using a visual environment. It serves both as a development tool where you build your application and a managed cloud hosting service where you can deploy it. Visual Builder is also the development tool behind Oracle's Fusion Cloud applications that include HCM, CX, ERP, SCM, and others.
When you spin up Visual Builder in the cloud, it provides you with a visual development environment, a managed web server, and a database. The development environment allows you to drag-and-drop components, create action chains, and edit the actual code which can be checked into Git for branching and merging. Also, it manages server-related tasks such as upgrading and patching.
Components of Visual Builder
- Visual Development Environment: Drag-and-drop components and action chains to build applications.
- Managed Web Server: Handles mundane tasks like upgrading and patching.
- Database: Can be a built-in database or redirected to an existing Oracle Cloud database.
- Business Objects: Define application data and associated business rules.
- REST Proxy Service: Manages secure interactions with external services by storing credentials at the server level.
Using Oracle's AI Services
Oracle offers several AI services:
- Generative AI: Creates text, SQL queries, code, and artwork.
- Machine Learning Services: For comprehensive data science needs.
- Pre-built AI Services:
- Digital Assistant: Helps users through natural language conversation.
- Speech Service: Transforms audio content into text.
- Language Service: Performs advanced text analysis.
- Vision Service: Conducts deep learning image analysis.
- Document Understanding: Analyzes documents to extract data.
Pre-built AI Document Understanding Service
The Document Understanding service supports various document types like receipts, driver's licenses, passports, and invoices. It downloads the document from Oracle Object Storage, analyzes it, and uploads the results back.
Setting up the Integration
Creating Service Connections
- Define Service Connections:
- Put Image in Bucket: Uploads an image to Oracle Object Storage.
- Get Results from Bucket: Retrieves the results from Oracle Object Storage.
- Create Document Processor Job: Initiates the AI document processing job.
Building the Application
UI Components:
- Camera File Upload: Allows for uploading files or activating the camera on mobile devices.
- Image Display: Shows the uploaded image on the screen.
Action Chains:
- Configure the action chains to upload an image, initiate the AI processing, and retrieve and display the results.
Final Steps and Testing
After completing the setup, you can test the application by uploading an image of an invoice and checking the results processed by AI.
Conclusion
Now that you've integrated Oracle's AI Services with Visual Builder, expanding this functionality to other AI services like speech, language, and vision should be straightforward.
Keywords
- Oracle Visual Builder
- AI Services
- Document Understanding
- Object Storage
- REST Proxy Service
- Action Chains
- UI Components
FAQ
What is Oracle Visual Builder? Oracle Visual Builder is a cloud platform for rapidly creating and hosting enterprise-level applications using a visual environment.
What AI services does Oracle offer? Oracle offers generative AI, machine learning services, and pre-built services for digital assistants, speech, language, vision, and document understanding.
How do you upload files in Visual Builder? You can use the Camera File Upload component to upload files or take pictures directly from mobile devices.
How is security managed in Visual Builder? Visual Builder manages security through the REST Proxy Service, which handles credentials at the server level to ensure secure interactions.
Can Visual Builder integrate with other Oracle Cloud services? Yes, Visual Builder can integrate with numerous Oracle Cloud services, including Oracle Analytics and Processor Automation.