Skip to content

Commit de4cb03

Browse files
Merge branch 'main' into al3xne-patch-3
2 parents ef81ec9 + 3c6f4e1 commit de4cb03

File tree

11 files changed

+53
-16
lines changed

11 files changed

+53
-16
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Copyright (c) 2024 Oracle and/or its affiliates.
2+
3+
The Universal Permissive License (UPL), Version 1.0
4+
5+
Subject to the condition set forth below, permission is hereby granted to any
6+
person obtaining a copy of this software, associated documentation and/or data
7+
(collectively the "Software"), free of charge and under any and all copyright
8+
rights in the Software, and any and all patent rights owned or freely
9+
licensable by each licensor hereunder covering either (i) the unmodified
10+
Software as contributed to or provided by such licensor, or (ii) the Larger
11+
Works (as defined below), to deal in both
12+
13+
(a) the Software, and
14+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
15+
one is included with the Software (each a "Larger Work" to which the Software
16+
is contributed by such licensors),
17+
18+
without restriction, including without limitation the rights to copy, create
19+
derivative works of, display, perform, and distribute the Software and make,
20+
use, sell, offer for sale, import, export, have made, and have sold the
21+
Software and the Larger Work(s), and to sublicense the foregoing rights on
22+
either these or other terms.
23+
24+
This license is subject to the following condition:
25+
The above copyright notice and either this complete permission notice or at
26+
a minimum a reference to the UPL must be included in all copies or
27+
substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35+
SOFTWARE.

ai-and-app-modernisation/ai-services/generative-ai-service/vision-genai/README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ In this article, we'll explore how to describe an image using OCI AI Vision Serv
55
The application is developed using Oracle VBCS, OIC, OCI AI Vision service, and OCI Generative AI Service.
66
This integrated approach combines the strength of OCI AI Vision and OCI Generative AI Service, allowing for efficient and insightful summarization of image content.
77

8+
89
Reviewed: 21.02.2024
910

10-
<img src="./AIVisionApp.jpg></img>
11+
<img src="./files/AIVisionApp.jpg>"</img>
1112

1213
# Prerequisites
1314

@@ -36,40 +37,41 @@ Before getting started, make sure you have access to these services:
3637
5. Summarization Process:
3738
- OCI Generative AI Service generates text using the keywords received from OCI Vision service, to create a concise summary of the image.
3839

39-
<img src="./AIVisionAppArch.svg></img>
40+
<img src="./files/AIVisionAppArch.svg></img>
4041

4142
# Application Flow in Detail (VBCS, OIC, OCI Vision, OCI Generative AI Service)
42-
In this application,
43-
• The File Picker action in VBCS allows the user to select the image.
44-
• Create an integration process in Oracle Integration Cloud (OIC) to handle the communication between VBCS and OCI Vision Service.
45-
• Pass the selected image from VBCS to OCI Vision Service to analyze the image.
46-
• OCI Vision Service analyzes the image and identifies objects within it.
47-
• The OCI Vision Service returns the detected objects (keywords) to the OIC integration process and returns the results to VBCS.
43+
44+
In this application,
45+
- The File Picker action in VBCS allows the user to select the image.
46+
- Create an integration process in Oracle Integration Cloud (OIC) to handle the communication between VBCS and OCI Vision Service.
47+
- Pass the selected image from VBCS to OCI Vision Service to analyze the image.
48+
- OCI Vision Service analyzes the image and identifies objects within it.
49+
- The OCI Vision Service returns the detected objects (keywords) to the OIC integration process and returns the results to VBCS.
4850

4951
User (VBCS) --> (File Picker) --> |Image| --> (OIC) --> |OCI Vision Service| --> |Detected Objects| --> (OIC) --> |Result| --> (VBCS)
5052

51-
<img src="./VBCS_Vision.jpg">
53+
<img src="./files/VBCS_Vision.jpg">
5254
</img>
5355

5456
OIC call - Invoke OCI Vision Service
5557
Endpoint - /actions/analyzeImage
5658

57-
<img src="./OIC_VisionService.jpg">
59+
<img src="./files/OIC_VisionService.jpg">
5860
</img>
5961

60-
User clicks the "Generate" button in the app to initiate the summary generation.
61-
Configure the OIC integration process to invoke the GenAI service.
62-
Pass the keywords returned by the OCI Vision Service along with any additional relevant information.
63-
Generative AI Service processes the received keywords and generates a summary of the image content.
62+
- User clicks the "Generate" button in the app to initiate the summary generation.
63+
- Configure the OIC integration process to invoke the GenAI service.
64+
- Pass the keywords returned by the OCI Vision Service along with any additional relevant information.
65+
- Generative AI Service processes the received keywords and generates a summary of the image content.
6466

6567
User (VBCS) --> (File Picker) --> |Image| --> (OIC) --> |OCI Vision Service| --> |Detected Keywords| --> (OIC) --> | OCI Generative AI Service --> |Summary| --> (OIC) --> |Result| --> (VBCS)
6668

67-
<img src="./VBCS_GenerateSummary.jpg">
69+
<img src="./files/VBCS_GenerateSummary.jpg">
6870
</img>
6971

7072
OIC call - Invoke OCI Generative AI Service
7173
Endpoint - /20231130/actions/generatText
72-
<img src="./OIC_GenerateSummary.jpg">
74+
<img src="./files/OIC_GenerateSummary.jpg">
7375
</img>
7476

7577
# Code

0 commit comments

Comments
 (0)