Skip to content

Commit 9bf5bc8

Browse files
authored
Merge branch 'main' into eloi-opensource
2 parents 4eca57f + 0a80622 commit 9bf5bc8

File tree

18 files changed

+906
-21
lines changed

18 files changed

+906
-21
lines changed

ai-and-app-modernisation/ai-services/generative-ai-services-and-cohere/README.md renamed to ai-and-app-modernisation/ai-services/generative-ai-service/README.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generative AI services
1+
# Generative AI service
22

33
Oracle’s AI strategy is to make artificial intelligence (AI) pervasive across its cloud
44
applications and cloud infrastructure. We serve business users who want to
@@ -9,7 +9,7 @@ most performant and cost-effective platform to host their AI services.
99

1010
# Table of Contents
1111

12-
- [Generative AI services and Cohere](#generative-ai-services-and-cohere)
12+
- [Generative AI service](#generative-ai-service)
1313
- [Table of Contents](#table-of-contents)
1414
- [Team Publications](#team-publications)
1515
- [Architecture Center](#architecture-center)
@@ -21,34 +21,31 @@ most performant and cost-effective platform to host their AI services.
2121

2222
# Team Publications
2323

24-
## Reusable Assets Overview
25-
26-
- [Gen AI powered document search (Cohere with custom UI)](https://youtu.be/vyJAZvYKY34)
27-
- [Enabling a WhatsApp Customer HelpMate using OCI Generative AI, AI Language & Integration](https://youtu.be/ryo3wVB_69E?si=SxSuTVawoRcbhReU)
24+
- [Build a knowledge search solution by implementing Retrieval Augmented Generation with Generative AI](https://www.youtube.com/watch?v=lJptksR5omo&t=1530s)
25+
- [Gen AI-powered document search (Generative AI with custom UI)](https://youtu.be/vyJAZvYKY34)
26+
- [Enabling a WhatsApp Customer HelpMate using OCI Generative AI, AI-Language & Integration](https://youtu.be/ryo3wVB_69E?si=SxSuTVawoRcbhReU)
2827
- Use OCI Generative AI (in pre-availability) for "Customer Service Quick Replies" Generation for Whatsapp Neutral Messages (customer questions, queries, etc.), sentence-level sentiment analysis from OCI AI Language to uncover overall sentiment and set service ticket severity for negative Whatsapp messages, automatically classify Customer Service tickets through OCI AI Language custom text classification and aspect-based sentiment analysis (ABSA) services
2928
- Learn how Oracle Integration Cloud and Oracle Cloud Infrastructure (OCI) Streaming allow real-time capture of WhatsApp messages.
3029
- All this automation using OCI Generative AI and AI Language Services APIs orchestrated by Oracle Integration Cloud (using no-code integration approach)
31-
32-
## Architecture Center
33-
34-
- [Deploy generative AI models to OCI](https://docs.oracle.com/en/solutions/deploy-generative-ai-to-oci/index.html#GUID-5567B1F2-4733-4D9C-B4BE-5B5429CA8C02)
30+
- [Deploy 3rd party generative AI models to OCI](https://docs.oracle.com/en/solutions/deploy-generative-ai-to-oci/index.html#GUID-5567B1F2-4733-4D9C-B4BE-5B5429CA8C02)
3531
- The reference architecture shows generative AI models deployed to an OCI GPU instance for image and text generation.
36-
37-
## Medium
38-
39-
- [Generative AI in OCI](https://medium.com/oracledevs/generative-ai-in-oci-c0467e1a68f7)
40-
- Blog post explaining on how to use generative AI models in OCI.
41-
42-
## GitHub
43-
44-
- [OCI Generative AI](https://github.com/oracle-devrel/oci-generative-ai)
45-
- Terraform script to start a stable-diffusion, bloom and dreambooth in compute instance using a nvidia GPU in OCI.
32+
- [Running 3rd party LLMs on OCI](https://github.com/oracle-devrel/oci-generative-ai)
33+
- Terraform script to start a stable-diffusion, bloom, and dreambooth in compute instance using an Nvidia GPU in OCI.
34+
- [Generative AI in OCI](https://medium.com/oracledevs/generative-ai-in-oci-c0467e1a68f7)
35+
- Blog post explaining how to use generative AI models in OCI.
4636

4737

4838
# Useful Links
4939

5040
- [Oracle and Generative AI](https://docs.oracle.com/en-us/iaas/Content/Resources/Assets/whitepapers/oracle-and-generative-ai.pdf)
51-
- A Brief Overview of Generative AI Capabilities in Oracle Cloud
41+
- [Oracle’s generative AI strategy - blog by Greg Pavlik](https://blogs.oracle.com/ai-and-datascience/post/generative-ai-strategy)
42+
- [Oracle to Deliver Powerful and Secure Generative AI Services for Business](https://www.oracle.com/news/announcement/oracle-to-deliver-powerful-and-secure-generative-ai-service-for-business-2023-06-13/)
43+
- [The future of generative AI: What enterprises need to know | Oracle CloudWorld 2023](https://www.youtube.com/watch?v=qcHpu6WA-k8&t=3s)
44+
- [What is Generative AI](https://www.youtube.com/watch?v=pWNAtUwnBS8&t=3s)
45+
- [Pre-GA OCI Generative AI (Beta) Service Product Tour](https://www.youtube.com/watch?v=1tnTyCp3GdY)
46+
- [Oracle's Vision for the Future - Larry Ellison keynote Oracle Cloud World 2023](https://www.youtube.com/watch?v=63DmgBN1rSI)
47+
- [Generative AI on Oracle.com](https://www.oracle.com/artificial-intelligence/generative-ai/)
48+
- [Generative AI product documentation](https://docs.oracle.com/en-us/iaas/Content/generative-ai/home.htm)
5249

5350

5451

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Copyright (c) 2023 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.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# OIC Resilient Batch Processing
2+
3+
This asset contains accelerator type OIC Gen3 implementation of the resilient batch processing on top of Parking Lot Pattern. This pattern address one specific need when using Oracle Integration Cloud OIC for processing many batches. The repository provides the OIC Gen3 project with sample integrations and ATP scripts required for the implementation described in the [README.md](./files/oic-parkinglot/README.md).
4+
5+
# When to use this asset?
6+
7+
Use this asset as an example respectively as the template for the resilient batch services solution. It is good to update the model based on implemented business, capabilities of the target systems and operatioonal and monitoring requirements.
8+
9+
# How to use this asset?
10+
11+
This asset is provided as the resilient batch processing solution template.
12+
Follow the instructions in the [README.md](./files/oic-parkinglot/README.md).
13+
14+
# License
15+
16+
Copyright (c) 2023 Oracle and/or its affiliates.
17+
18+
Licensed under the Universal Permissive License (UPL), Version 1.0.
19+
20+
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Copyright (c) 2023, Oracle and/or its affiliates.
2+
Licensed under The Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl/
3+
4+
Pull requests can be made under The Oracle Contributor Agreement (OCA).
5+
6+
For pull requests to be accepted, the bottom of your commit message must have the following line using your name and e-mail address as it appears in the OCA Signatories list.
7+
Signed-off-by: Peter Obert <[email protected]>
8+
9+
10+
This can be automatically added to pull requests by committing with:
11+
git commit --signoff
12+
13+
14+
Only pull requests from committers that can be verified as having signed the OCA can be accepted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Copyright (c) 2023, 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.
36+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
-- ADMIN:Parking12345#
2+
-- Copyright (c) 2020, Oracle and/or its affiliates.
3+
-- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
--------------------------------------------------------
5+
-- DDL for Table PAYLOAD_PARKING_LOT_TAB
6+
--------------------------------------------------------
7+
create sequence "ADMIN"."sqname_id_seq" start with 1 increment by 1 nocache;
8+
drop table "ADMIN"."PAYLOAD_PARKING_LOT_TAB";
9+
CREATE TABLE "ADMIN"."PAYLOAD_PARKING_LOT_TAB"
10+
( "ID" NUMBER(*,0) DEFAULT "ADMIN"."sqname_id_seq".nextval, -- BATCHID
11+
"GRPID" VARCHAR2(40 BYTE) COLLATE "USING_NLS_COMP",
12+
"GRPTYPE" VARCHAR2(40 BYTE) COLLATE "USING_NLS_COMP",
13+
"GRPSEQ" NUMBER(*,0),
14+
"PAYLOAD_CLOB" CLOB COLLATE "USING_NLS_COMP",
15+
"PAYLOAD" VARCHAR2(10000 BYTE) COLLATE "USING_NLS_COMP",
16+
"FILENAME" VARCHAR2(40 BYTE) COLLATE "USING_NLS_COMP",
17+
"DIRECTORY" VARCHAR2(200 BYTE) COLLATE "USING_NLS_COMP",
18+
"STATUS" VARCHAR2(20 BYTE) COLLATE "USING_NLS_COMP",
19+
-- NEW - new request/batch
20+
-- SUBMITTED - batch processing triggered
21+
-- PROCESSING - batch contitions passed and processing started
22+
-- FAILED - request/batch processing failed
23+
-- ERROR_RETRY - request/batch ready to be re-processed
24+
"CREATIONTIME" TIMESTAMP(3) NOT NULL,
25+
"STATUSTIME" TIMESTAMP(3) NOT NULL,
26+
"ERROR" VARCHAR2(2000 BYTE) COLLATE "USING_NLS_COMP"
27+
) DEFAULT COLLATION "USING_NLS_COMP" ;
28+
29+
CREATE UNIQUE INDEX "ADMIN"."PK_ID" ON "ADMIN"."PAYLOAD_PARKING_LOT_TAB" ("ID")
30+
;
31+
ALTER TABLE "ADMIN"."PAYLOAD_PARKING_LOT_TAB" ADD CONSTRAINT "PK_ID" PRIMARY KEY ("ID");
32+
--
33+
--drop table "ADMIN"."PAYLOAD_ERRORS_TAB";
34+
create sequence "ADMIN"."error_id_seq" start with 1 increment by 1 nocache;
35+
CREATE TABLE "ADMIN"."PAYLOAD_ERRORS_TAB"
36+
( "ERRID" INT DEFAULT "ADMIN"."error_id_seq".nextval,
37+
"BATCHID" INT NOT NULL,
38+
"GRPID" VARCHAR2(40 BYTE),
39+
"GRPTYPE" VARCHAR2(40 BYTE),
40+
"GRPSEQ" INT,
41+
"PAYLOAD_CLOB" CLOB,
42+
"PAYLOAD" VARCHAR2(10000 BYTE) COLLATE "USING_NLS_COMP",
43+
"STATUS" VARCHAR2(20 BYTE) COLLATE "USING_NLS_COMP",
44+
-- NEW after registering by initial BATCH
45+
-- READY after fixing the payload
46+
-- Whatewer else after failure
47+
"ERROR" VARCHAR2(2000 BYTE) COLLATE "USING_NLS_COMP",
48+
"CREATIONTIME" TIMESTAMP(3) NOT NULL,
49+
"STATUSTIME" TIMESTAMP(3) NOT NULL
50+
) ;
51+
CREATE UNIQUE INDEX "ADMIN"."PKERR_ID" ON "ADMIN"."PAYLOAD_ERRORS_TAB" ("ERRID");
52+
ALTER TABLE "ADMIN"."PAYLOAD_ERRORS_TAB" ADD CONSTRAINT "PKERR_ID" PRIMARY KEY ("ERRID");
53+
54+
--drop table "ADMIN"."BATCH_STATISTICS";
55+
CREATE TABLE "ADMIN"."BATCH_STATISTICS"
56+
(
57+
"BATCHID" INT NOT NULL,
58+
"GRPID" VARCHAR2(40 BYTE),
59+
"GRPTYPE" VARCHAR2(40 BYTE),
60+
"GRPSEQ" INT,
61+
"TOTAL_ROWS" INT,
62+
"PROCESSED_ROWS" INT,
63+
"SUCCEEDED_ROWS" INT,
64+
"FAILED_ROWS" INT,
65+
"CREATIONTIME" TIMESTAMP(3) NOT NULL,
66+
"STATUSTIME" TIMESTAMP(3) NOT NULL,
67+
"STATUS" VARCHAR2(20 BYTE) COLLATE "USING_NLS_COMP",
68+
"ERROR" VARCHAR2(2000 BYTE) COLLATE "USING_NLS_COMP"
69+
);
70+
CREATE UNIQUE INDEX "ADMIN"."BATCH_STATISTICS_PK_ID" ON "ADMIN"."BATCH_STATISTICS" ("BATCHID");
71+
ALTER TABLE "ADMIN"."BATCH_STATISTICS" ADD CONSTRAINT "BATCHID" PRIMARY KEY ("BATCHID");
72+
73+
74+
------------------------------------------------------------------------------------------------------
75+
76+
SELECT * FROM ADMIN.PAYLOAD_PARKING_LOT_TAB ORDER BY ID DESC;
77+
SELECT * FROM ADMIN.BATCH_STATISTICS ORDER BY BATCHID DESC;
78+
SELECT * FROM ADMIN.PAYLOAD_ERRORS_TAB ORDER BY ERRID DESC;

0 commit comments

Comments
 (0)