Skip to content

Commit ac4ddc9

Browse files
authored
Merge branch 'main' into pob-appdev-integration
2 parents 57d2ddb + 6043b49 commit ac4ddc9

File tree

8 files changed

+73
-16
lines changed

8 files changed

+73
-16
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Identify the compartment you're currently working within. Navigate to 'Identity'
6060
* Automatically a podcast script will be created and will generate the audio podcast using the Cindy and Bob voices
6161
![alt text](generated.jpg)
6262

63+
## Notes
64+
* 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.
6365

6466
## I hope you liked it.
6567
Author: Jesús Brasero

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

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,70 @@ 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: 22.11.2024
8+
Reviewed: 26.11.2024
99

10-
# When to use this asset?
11-
12-
See the README document in the /Podcast-md folder.
13-
14-
# How to use this asset?
10+
# **1. Prepare your user**
11+
12+
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.
13+
Generate API Keys using OCI Console
14+
To Generate the API Keys using OCI Console:
15+
16+
- Login into your OCI Account.
17+
![alt text]![alt text](Podcast-md/ak1.png)
18+
- Click on the Profile icon at the top-right corner and select your Profile hyperlink.
19+
![alt text](Podcast-md/ak2.png)
20+
- Under Resources section at the bottom-left, select API Keys and then click Add API Key.
21+
![alt text](Podcast-md/ak3.png)
22+
- 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)
24+
- 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)
26+
27+
28+
29+
# **2.Pick you compartment**
30+
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)
31+
32+
# **3.Open Visual Builder**
33+
## Import Visual Builder project
34+
* Open Visual Builder and click on the "Import" button. Choose "Application from file".
35+
* Drop the zip project file
36+
* Provide a name and an ID, for example "Podcast_Generator". Click on Import button.
37+
![alt text](Podcast-md/import_project.jpg)
38+
39+
## Configure REST APIs authentication
40+
* Open the recently created project.
1541

16-
See the README document in the /Podcast-md folder.
42+
* Click on Services button (left side) and click on "Backends"
43+
![alt text](Podcast-md/services.jpg)
44+
45+
* Now, click on TTS, and Servers to edit server authentication.
46+
![alt text](Podcast-md/edit_tts.jpg)
47+
48+
* Click the pencil to provide the OCI Crendentials
49+
![alt text](Podcast-md/edit_tts_2.jpg)
50+
51+
* Provide the crendentials you got during the step 1.
52+
![alt text](Podcast-md/signature.jpg)
53+
54+
* Repeat the same process with the GenAI backend.
55+
56+
## Provide your compartmentId
57+
* Provide compartmentId default value in the project variable named "comparmentid" that you got during the step 2.
58+
![alt text](Podcast-md/compartmentid.jpg)
59+
60+
# **4.Preview the application**
61+
* Now can provide a topic in the text area and click "generate" button.
62+
![alt text](Podcast-md/preview.jpg)
63+
64+
* 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)
66+
67+
## Notes
68+
* 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.
69+
70+
## I hope you liked it.
71+
Author: Jesús Brasero
1772

1873
# License
1974

cloud-infrastructure/private-cloud-and-edge/compute-cloud-at-customer/local-llm/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*Last Update: 23 November 2024*
1+
*Last Update: 27 November 2024*
22

33
<br><h1 align="center">Local LLM Inferencing and Interaction<br>Using the Ollama Open Source Tool</h1>
44
<p align="center"><img align="centre" src="./images/ollama-logo.png" width="10%" style="float:right"/></p>
@@ -65,8 +65,7 @@ Create a VM in a public subnet following these guidelines:
6565
10. Ensure that the VM is accessible via `ssh`
6666
11. Configure the proxy setup if required (described below)
6767
12. Update your local host's `/etc/hosts` file to reflect your public IP address for `llm-host`
68-
13. Should you have a proxy'd network follow the instruction in the "Proxy Settings" section below prior to performing the next step
69-
14. Perform an OS update in `llm-host` before proceeding:
68+
13. Perform an OS update in `llm-host` before proceeding:
7069

7170
```
7271
sudo dnf update
@@ -267,16 +266,16 @@ ollama help serve
267266

268267
Download and test your first LLM (and you will notice the population of `/mnt/llm-repo` with data by running `ls -lR /mnt/llm-repo`):
269268

270-
<p><img src="./images/ollama-pull-and-test.png" title="Ollama pull/test Llama3.2" width="75%" style="float:right"/></p>
269+
<p><img src="./images/ollama-pull-and-test.png" title="Ollama pull/test mistral" width="75%" style="float:right"/></p>
271270

272271
Run some more tests from your client to test the APIs:
273272

274273
```
275274
$ curl http://llm-host:11434/api/tags
276275
$ curl http://llm-host:11434/api/ps
277276
$ curl -X POST http://llm-host:11434/api/generate -d '{
278-
"model": "llama3.2",
279-
"prompt":"Hello Llama3.2!",
277+
"model": "mistral",
278+
"prompt":"Hello Mistral!",
280279
"stream": false
281280
}'
282281
```
@@ -294,8 +293,8 @@ Install any of the GUI clients mentioned previously and test the connectivity an
294293
1. Create a Remote Models Provider
295294
2. Name it appropriately
296295
3. The Service Endpoint is `http://llm-host:11434`
297-
4. "Fetch Models" (that are already installed, in this case `llama3.2`)
298-
5. This step can be repeated as new models are added
296+
4. "Fetch Models" (that are already installed, in this case `mistral`)
297+
5. This step can be repeated as new models are added from the Ollama model repository
299298

300299
Example output as follows:
301300

30.1 KB
Loading
Loading
-179 KB
Loading
-14.9 KB
Loading

manageability-and-operations/observability-and-manageability/oci-monitoring/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Use Monitoring to query metrics and manage alarms. Metrics and alarms help monitor the health, capacity, and performance of your cloud resources.
44

5-
Reviewed: 02.10.2024
5+
Reviewed: 25.11.2024
66

77
# Table of Contents
88

@@ -17,6 +17,7 @@ Reviewed: 02.10.2024
1717
- [Customised Alarm Notification in OCI](https://karthicin.medium.com/customised-alarm-notification-in-oci-e5b367ca20bc)
1818
- [How to monitor the resource usage on your OCI Instances using Cloud Guard Instance Security Queries](https://learnoci.cloud/how-to-monitor-the-resource-usage-on-your-oci-instances-using-cloud-guard-instance-security-queries-342836ca2811)
1919
- [How to install Arkime(Moloch) using embedded Open Search](https://learnoci.cloud/how-to-install-arkime-moloch-using-embedded-open-search-19a7a58f8eff)
20+
- [OCI resource scheduler](https://learnoci.cloud/oci-resource-scheduler-997f83e2b063)
2021

2122
# Useful Links
2223

0 commit comments

Comments
 (0)