Skip to content

Commit 23f9c94

Browse files
authored
Merge branch 'main' into dependabot/pip/ai/generative-ai-service/smart-invoice-extraction/pillow-10.3.0
2 parents fbf8a2f + 594d63d commit 23f9c94

File tree

513 files changed

+21606
-642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

513 files changed

+21606
-642
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
shared-assets/bastion-py-script/.oci/
33
shared-assets/bastion-py-script/temp/
44
temp/
5+
app-dev/app-integration-and-automation/oracle-integration-cloud/01-oic-connectivity-agent/README_tmp.html

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": []
3+
}

ai/ai-speech/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
OCI Speech is an AI service that applies automatic speech recognition technology to transform audio-based content into text. Developers can easily make API calls to integrate OCI Speech’s pre-trained models into their applications. OCI Speech can be used for accurate, text-normalized, time-stamped transcription via the console and REST APIs as well as command-line interfaces or SDKs. You can also use OCI Speech in an OCI Data Science notebook session. With OCI Speech, you can filter profanities, get confidence scores for both single words and complete transcriptions, and more.
44

5-
Reviewed: 13.11.2024
5+
Reviewed: 12.05.2025
66

77
# Table of Contents
88

@@ -17,7 +17,7 @@ Reviewed: 13.11.2024
1717

1818
# Team Publications
1919
- [AI Meetings: Meetings transcription](https://www.oracle.com/artificial-intelligence/automate-meeting-transcriptions/)
20-
- [Search Documents stored in Object Storage using Opensearch, Generative AI, Semantic Search, RAG](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3762)
20+
- [Create Podcasts with Generative AI](https://www.oracle.com/artificial-intelligence/create-podcasts-with-generative-ai/)
2121

2222
## Reusable Assets Overview
2323

@@ -36,18 +36,19 @@ Reviewed: 13.11.2024
3636
- [Podcast Generator](https://github.com/oracle-devrel/technology-engineering/tree/main/ai/ai-speech/podcast-generator)
3737

3838
## Architecture Center
39-
39+
- [Implement a web-based user interface for interacting with Oracle Cloud Infrastructure Generative AI Agents](https://docs.oracle.com/en/solutions/oci-genai-speech/index.html)
4040
- [Use OCI Speech to transcribe natural language](https://docs.oracle.com/en/solutions/ai-speech/index.html)
4141

4242
## LiveLabs and Workshops
4343

4444
- [Introduction to OCI Speech](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3135&clear=RR,180&session=106771425893627)
45-
45+
- [Search Documents stored in Object Storage using Opensearch, Generative AI, Semantic Search, RAG](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3762)
46+
- [Detect and manage offensive behavior in YouTube videos using OCI Data Science, OCI Language, and OCI Speech integrated with APEX](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3867&clear=RR,180&session=110244305190461)
4647

4748
# Useful Links
4849

4950
- [AI Solutions Hub](https://www.oracle.com/artificial-intelligence/solutions/)
50-
- [Oracle AI Speech on oracle.com](https://www.oracle.com/uk/artificial-intelligence/speech/)
51+
- [Oracle AI Speech on oracle.com](https://www.oracle.com/artificial-intelligence/speech/)
5152
- [Oracle AI Speech documentation](https://docs.oracle.com/en-us/iaas/Content/speech/home.htm)
5253
- [Oracle Speech AI service now supports diarization](https://blogs.oracle.com/ai-and-datascience/post/oracle-speech-ai-service-now-supports-diarization)
5354

ai/ai-speech/podcast-generator/README.md

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,66 +5,82 @@ The application is designed to streamline podcast production through advanced AI
55
This application is built using Oracle Visual Builder Cloud Service (VBCS), a powerful low-code platform that simplifies development and accelerates the creation of robust applications without extensive coding. With this low-code approach, even complex workflows are straightforward to set up, allowing developers to focus on leveraging AI's potential for high-quality audio synthesis.
66
This AI-powered solution not only automates and optimizes the podcast creation process but also allows content creators to deliver professional audio content at scale efficiently.
77

8-
Reviewed: 26.11.2024
8+
Reviewed: 24.04.2025
9+
10+
11+
# When to use this asset?
12+
13+
This asset is ideal for developers, content creators, marketers, educators, or any professional looking to:
14+
15+
- **Automate podcast production**: Save time by turning written content into high-quality audio without manual recording or editing.
16+
- **Enhance content accessibility**: Make blog posts, newsletters, or reports more accessible by offering audio formats.
17+
- **Create engaging internal communications**: HR or corporate communications teams can quickly generate spoken updates for employees.
18+
- **Support e-learning**: Teachers or educational platforms can generate audio lessons, summaries, or storytelling content.
19+
- **Prototype AI-based solutions**: Developers building solutions with Oracle Cloud’s AI services can use this as a reference or starting point.
20+
- **Demonstrate Oracle Cloud capabilities**: This is a great demo asset for solution engineers and pre-sales teams showcasing OCI GenAI and AI Speech.
21+
22+
Use this asset when you need a scalable, repeatable, and professional way to transform any kind of text into engaging, spoken content—quickly and efficiently.
23+
24+
# How to use this asset?
925

10-
# **1. Prepare your user**
26+
## **1. Prepare your user**
1127

1228
In Oracle Cloud Infrastructure (OCI), API keys are used for secure authentication when accessing OCI resources through REST APIs. OCI API keys consist of two parts: a Public key and a Private key. You use the OCI console to generate the Private/Public key pair.
1329
Generate API Keys using OCI Console
1430
To Generate the API Keys using OCI Console:
1531

1632
- Login into your OCI Account.
17-
![alt text]![alt text](Podcast-md/ak1.png)
33+
![alt text]![alt text](files/Podcast-md/ak1.png)
1834
- Click on the Profile icon at the top-right corner and select your Profile hyperlink.
19-
![alt text](Podcast-md/ak2.png)
35+
![alt text](files/Podcast-md/ak2.png)
2036
- Under Resources section at the bottom-left, select API Keys and then click Add API Key.
21-
![alt text](Podcast-md/ak3.png)
37+
![alt text](files/Podcast-md/ak3.png)
2238
- The Add API Key dialog is displayed. Select Generate API Key Pair to create a new key pair.
23-
![alt text](Podcast-md/ak4.png)
39+
![alt text](files/Podcast-md/ak4.png)
2440
- Click Download Private Key. A .pem file is saved to your local device. You do not need to download the public key and click Add button.
25-
![alt text](Podcast-md/ak5.png)
41+
![alt text](files/Podcast-md/ak5.png)
2642

2743

2844

29-
# **2.Pick you compartment**
45+
## **2.Pick you compartment**
3046
Identify the compartment you're currently working within. Navigate to 'Identity' -> 'Compartments'. Locate your compartment and make a note of its OCID (Oracle Cloud Identifier)
3147

32-
# **3.Open Visual Builder**
33-
## Import Visual Builder project
48+
## **3.Open Visual Builder**
49+
### Import Visual Builder project
3450
* Open Visual Builder and click on the "Import" button. Choose "Application from file".
3551
* Drop the zip project file
3652
* Provide a name and an ID, for example "Podcast_Generator". Click on Import button.
37-
![alt text](Podcast-md/import_project.jpg)
53+
![alt text](files/Podcast-md/import_project.jpg)
3854

39-
## Configure REST APIs authentication
55+
### Configure REST APIs authentication
4056
* Open the recently created project.
4157

4258
* Click on Services button (left side) and click on "Backends"
43-
![alt text](Podcast-md/services.jpg)
59+
![alt text](files/Podcast-md/services.jpg)
4460

4561
* Now, click on TTS, and Servers to edit server authentication.
46-
![alt text](Podcast-md/edit_tts.jpg)
62+
![alt text](files/Podcast-md/edit_tts.jpg)
4763

4864
* Click the pencil to provide the OCI Crendentials
49-
![alt text](Podcast-md/edit_tts_2.jpg)
65+
![alt text](files/Podcast-md/edit_tts_2.jpg)
5066

5167
* Provide the crendentials you got during the step 1.
52-
![alt text](Podcast-md/signature.jpg)
68+
![alt text](files/Podcast-md/signature.jpg)
5369

5470
* Repeat the same process with the GenAI backend.
5571

56-
## Provide your compartmentId
72+
### Provide your compartmentId
5773
* Provide compartmentId default value in the project variable named "comparmentid" that you got during the step 2.
58-
![alt text](Podcast-md/compartmentid.jpg)
74+
![alt text](files/Podcast-md/compartmentid.jpg)
5975

60-
# **4.Preview the application**
76+
## **4.Preview the application**
6177
* Now can provide a topic in the text area and click "generate" button.
62-
![alt text](Podcast-md/preview.jpg)
78+
![alt text](files/Podcast-md/preview.jpg)
6379

6480
* Automatically a podcast script will be created and will generate the audio podcast using the Cindy and Bob voices
65-
![alt text](Podcast-md/generated.jpg)
81+
![alt text](files/Podcast-md/generated.jpg)
6682

67-
## Notes
83+
### Notes
6884
* It is important to note that, as of the time of writing this tutorial, the Speech-to-Text service is available exclusively in the Phoenix region.
6985

7086
## I hope you liked it.

ai/gen-ai-agents/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Oracle’s Generative AI Agents is a fully managed service that combines the pow
99
- [Analysis of Structured Data and Use of AI Agents](https://luigi-saetta.medium.com/analysis-of-structured-data-and-use-of-ai-agents-a40f18da4ed5)
1010
- [AI Agents: The Future of Intelligent Systems in 2025](https://medium.com/@anshuman4luv/ai-agents-the-future-of-intelligent-systems-in-2025-5558c13aa328)
1111
- [LangChain vs LangGraph vs LangFlow vs LangSmith: A Detailed Comparison](https://medium.com/@anshuman4luv/langchain-vs-langgraph-vs-langflow-vs-langsmith-a-detailed-comparison-74bc0d7ddaa9)
12+
- [Developer Coaching: Unlock the power of Oracle AI](https://www.youtube.com/watch?v=6weQp8BugSg&t=2460s)
1213

1314
## Reusable Assets Overview
1415
- [HCM agent created by partner Conneqtion Group which contains agents to connect to Fusion HCM, Expense and many others](https://www.youtube.com/watch?v=OhZcWx_H_tQ)
Lines changed: 60 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,80 @@
11
# Assistant Secretary Agent
22

3-
*An AI-powered assistant that routes user input across tools like Gmail, Google Calendar, Weather API, Calculator, and Oracle’s Generative AI services for smart, dynamic task automation.*
3+
An AI-powered assistant that routes user input across tools like Gmail, Google Calendar, Weather API, Calculator, and Oracle’s Generative AI services for smart, dynamic task automation.
44

5-
Reviewed: 31.03.2025
5+
Reviewed: 23.04.2025
66

7-
---
8-
9-
## When to use this asset?
7+
# When to use this asset?
108

119
Use this asset when you want to:
12-
- Automate tasks across Gmail, Calendar, and Weather
13-
- Get answers via OCI’s AI Agents and RAG-powered chat
14-
- Use a simple UI to interact with multiple tools seamlessly
15-
- Demo a multi-tool assistant combining local logic and cloud intelligence
10+
- Automate tasks across Gmail, Calendar, and Weather
11+
- Get answers via OCI’s AI Agents and RAG-powered chat
12+
- Use a simple UI to interact with multiple tools seamlessly
13+
- Demo a multi-tool assistant combining local logic and cloud intelligence
1614

1715
Ideal for:
18-
- AI developers building assistants
19-
- Oracle consultants showcasing GenAI + agent capabilities
20-
- Technical users exploring LLM + API routing in real-world use cases
16+
- AI developers building assistants
17+
- Showcasing GenAI + agent capabilities
18+
- Technical users exploring LLM + API routing in real-world use cases
2119

22-
---
23-
24-
## How to use this asset?
20+
# How to use this asset?
2521

2622
This assistant can be launched via:
27-
- **Terminal (CLI mode)**
28-
- **Streamlit UI** for visual interaction
23+
- Terminal (CLI mode)
24+
- Streamlit UI for visual interaction
2925

3026
It supports:
3127
- Reading and replying to emails
3228
- Summarizing or replying smartly using GenAI
3329
- Scheduling calendar events
3430
- Fetching and advising based on weather
35-
- Answering user queries via RAG and fallback GenAI tools
36-
37-
---
31+
- Answering user queries via RAG and fallback GenAI tools
3832

3933
## Setup Instructions
4034

41-
### 🔑 Google API (Gmail + Calendar)
42-
1. Go to **[Google Cloud Console](https://console.cloud.google.com)**
43-
2. Enable the **Gmail API** and **Calendar API**
44-
3. Create **OAuth 2.0 Credentials** and download `credentials.json`
45-
4. Place `credentials.json` in your project root
46-
5. The first time you run the assistant, a `token.json` will be created automatically
35+
### OCI Generative AI (Cohere on OCI)
4736

48-
---
37+
1. Go to OCI Console → Generative AI
38+
2. Select a model like `cohere.command-r-plus-08-2024`
39+
3. Copy the following values:
40+
- model_id
41+
- compartment_id
42+
- endpoint (e.g., `https://inference.generativeai.us-chicago-1.oci.oraclecloud.com`)
43+
4. Paste these in `oci_models.py`
4944

50-
### ☁️ OCI Generative AI (Cohere on OCI)
51-
1. Go to **OCI Console → Generative AI**
52-
2. Select a model like `cohere.command-r-plus-08-2024`
53-
3. Copy the following values:
54-
- `model_id`
55-
- `compartment_id`
56-
- `endpoint` (e.g., `https://inference.generativeai.us-chicago-1.oci.oraclecloud.com`)
57-
4. Paste these in `oci_models.py`
45+
[OCI GenAI Agent Guide](https://docs.oracle.com/en-us/iaas/Content/generative-ai-agents/overview.htm)
5846

59-
🔗 [OCI GenAI Agent Guide](https://docs.oracle.com/en-us/iaas/Content/generative-ai-agents/overview.htm)
47+
Also create an AI Agent in OCI with a knowledge base, and upload your RAG documents into that knowledge base.
6048

61-
Also create an **AI Agent** in OCI with a knowledge base, and upload your RAG documents into that knowledge base.
49+
### Google API (Gmail + Calendar)
6250

63-
---
51+
1. Go to [Google Cloud Console](https://console.cloud.google.com)
52+
2. Enable the Gmail API and Calendar API
53+
3. Create OAuth 2.0 Credentials and download `credentials.json`
54+
4. Place `credentials.json` in your project root
55+
5. The first time you run the assistant, a `token.json` will be created automatically
6456

65-
### 🌦️ Weather API
66-
1. Sign up at [weatherapi.com](https://www.weatherapi.com/)
67-
2. Get a free API key
68-
3. In `tools.py`, update this line with your key:
57+
### Weather API
58+
59+
1. Sign up at [weatherapi.com](https://www.weatherapi.com/)
60+
2. Get a free API key
61+
3. In `tools.py`, update this line with your key:
6962
```python
7063
WEATHER_API_KEY = "your_api_key_here"
7164
```
7265

73-
---
66+
### Start the Assistant
7467

75-
### 💬 Start the Assistant
76-
77-
**Terminal Mode**
68+
Terminal Mode:
7869
```bash
7970
python assistant.py
8071
```
8172

82-
**Streamlit UI**
73+
Streamlit UI:
8374
```bash
8475
streamlit run frontend.py
8576
```
8677

87-
---
88-
8978
## Key Features
9079

9180
| Tool | Description |
@@ -101,21 +90,17 @@ streamlit run frontend.py
10190
| Fallback Q&A | Handles general questions using OCI GenAI |
10291
| Calculator | Parses and evaluates math queries |
10392

104-
---
93+
## Notes
10594

106-
## ⚠️ Notes
95+
- The assistant dynamically routes user queries using Cohere (hosted on OCI)
96+
- Each tool is modular — easy to extend or replace
97+
- Streamlit UI provides real-time visibility on tool routing
10798

108-
- The assistant dynamically routes user queries using Cohere (hosted on OCI)
109-
- Each tool is modular — easy to extend or replace
110-
- Streamlit UI provides real-time visibility on tool routing
111-
112-
---
113-
114-
### 🔁 Update Email Mappings (Required)
99+
## Update Email Mappings (Required)
115100

116101
To match received emails to locations (for RAG/OCI agent logic), update:
117102

118-
**At line 397 in the code**:
103+
At line 397 in the code:
119104
```python
120105
EMPLOYEE_DATA = {
121106
"example example <example@example.com>": "Netherlands",
@@ -124,7 +109,7 @@ EMPLOYEE_DATA = {
124109
}
125110
```
126111

127-
**At line 812 in the code**:
112+
At line 812 in the code:
128113
```python
129114
EMPLOYEE_CITY_MAP = {
130115
"example example <example@example.com>": "Netherlands",
@@ -133,24 +118,28 @@ EMPLOYEE_CITY_MAP = {
133118
}
134119
```
135120

136-
Replace these keys with the **actual email addresses** you'll be receiving messages from.
121+
Replace these keys with the actual email addresses you'll be receiving messages from.
137122

138123
---
139124

140-
## Useful Links
125+
# Useful Links (Optional)
141126

142-
- [Oracle Generative AI Agents](https://docs.oracle.com/en-us/iaas/Content/generative-ai-agents/overview.htm)
143-
- Overview of OCI's GenAI agent features
144-
- [Oracle Cloud Docs](https://docs.oracle.com/en/cloud/)
145-
- Full documentation for OCI services
146-
- [Weather API](https://www.weatherapi.com/)
147-
- Used for real-time weather data
127+
- [Oracle Generative AI Agents](https://docs.oracle.com/en-us/iaas/Content/generative-ai-agents/overview.htm)
128+
Overview of OCI's GenAI agent features
129+
- [Oracle Cloud Docs](https://docs.oracle.com/en/cloud/)
130+
Full documentation for OCI services
131+
- [Weather API](https://www.weatherapi.com/)
132+
Used for real-time weather data
133+
- [Oracle](https://www.oracle.com)
134+
Oracle Website
148135

149136
---
150137

151-
## License
138+
# License
152139

153-
Copyright (c) 2024 Oracle and/or its affiliates.
140+
Copyright (c) 2025 Oracle and/or its affiliates.
141+
142+
Licensed under the Universal Permissive License (UPL), Version 1.0.
154143

155-
Licensed under the Universal Permissive License (UPL), Version 1.0.
156144
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
145+

0 commit comments

Comments
 (0)