Skip to content

Commit 375016e

Browse files
MarcGueurymkratkyhope-fisher
authored
WMS 11825 - Feedback added new lab with more explanation on customization (#386)
* ocw feedback * genai1 * Update manifest.json * GenAI + Opensearch 2.11 * GENAI * Known issues * Update integration.md * Several fixes mostly for multi region. * a * Create genai_agent.md * Create images folder * Add files via upload * Update genai_agent.md * added Lab 4 (Optional): GenAI Agent * Update genai_agent.md * Add files via upload * Delete a.txt * completed genai_agent.md * added genai agent screenshots * formating changes genai_agent.md * postgres v1 * v2 * initial discover.md * Delete oci-postgresql-genai-lab/3-discover/images directory * Create images folder * added screenshots for lab3 * Update discover.md * PostgresLab * Update test.md * - * Hybrid * qa * Create .gitignore * remove genai agent * hybrid * screenshot * pgvector * - * Update integration.md rsa key * Missing grants * Update connect-apex-with-agents.md * Fixes * not used * date * OCI Agent Lab V1 * Image OCID * images lowercase * Zip file location * Typos * feedback * feedback * feedback * feedback * feedback * Feedback * added Lab5 --------- Co-authored-by: mkratky <[email protected]> Co-authored-by: Hope Fisher <[email protected]>
1 parent ed49512 commit 375016e

File tree

5 files changed

+105
-1
lines changed

5 files changed

+105
-1
lines changed

oci-genai-agent-ext-lab/2-apex/apex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Estimated time: 10 min
2626

2727
1. Type "what is Oracle Analytics", then *Enter*
2828

29-
![Test Jazz](images/test-video.png)
29+
![Test Video](images/test-video.png)
3030

3131
1. Try more questions:
3232

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Customize (Adding new files...)
2+
3+
## Introduction
4+
In this lab, we add our own files to the RAG Agent
5+
6+
Estimated time: 10 min
7+
8+
### Objectives
9+
10+
- Customize the demo
11+
12+
### Prerequisites
13+
- The lab 1 must have been completed.
14+
15+
## Task 1: Recap
16+
17+
When the installation is done, it has created a several resources.
18+
19+
![Integration](../0-intro/images/physical-architecture.png)
20+
21+
## Task 2: Components
22+
23+
Let's assume that the prefix of the installation is "agext"
24+
25+
**Virtual Machine**
26+
27+
In OCI Console, click on the Hamburger menu:
28+
- Compute/Instance
29+
- There is a VM "agext-bastion"
30+
31+
**Object storage**
32+
33+
In OCI Console, click on the Hamburger menu:
34+
- Storage/Buckets
35+
36+
There are 2 buckets:
37+
- agext-public-bucket: where you upload your own files
38+
- agext-agent-bucket: used by the RAG agent for searching. Containing only PDF or text files.
39+
40+
The files from the agext-public-bucket are copied or transformed to PDF or text files automatically and stored in the "agent-bucket"
41+
42+
## Task 3 - Upload new files
43+
In OCI Console, click on the Hamburger menu:
44+
- Storage/Buckets
45+
- agext-public-bucket
46+
47+
Upload a new file.
48+
![Agent Ingestion](images/bucket-upload.png)
49+
50+
- Wait 4/5 mins before to ask a question to the chat.
51+
52+
In the meanwhile,
53+
- Bucket:
54+
- After 1/2 mins check that it is copied in the Agent Bucket.
55+
- AI Agent Ingestion
56+
- In OCI Console, click on the Hamburger menu
57+
- Analytics & AI/ Generative AI Agents
58+
- Knowledge Base - agent-agent-kb
59+
- In datasources - agent-agent-ds
60+
- Check the ingestion jobs.
61+
62+
![Agent Ingestion](images/agent-ingestion.png)
63+
64+
What will happen internally, depending of the file type, it will be processed in different ways:
65+
- If the file has the extension **.pdf**, **.txt**, **.csv**, **.md**, the file is copied to the AGENT Object Storage.
66+
- If the file has the extension **.png**, **.jpg**, **.jpeg**, or **.gif**, it is processed by OCI Vision. The output is stored in the AGENT Object storage
67+
- If the file has the extension **.mp4**, **.avi**, **.mp3**, **.wav**, or **.m4a**, it is processed by OCI Speech.
68+
- If the file has the extension **.tif**, it is processed by OCI Document Understanding.
69+
- If the file has the extension **.json**, this is an output of the asynchronous AI services such as OCI Speech or OCI Document Understanding.
70+
- All other file types like **.doc**, **.docx**, **,xlsx**, **.pptx** are sent to OCI Function with a document parser.
71+
72+
## Known issues
73+
74+
- For debugging purpose if you want to login on the VM and see why it could fail
75+
76+
```
77+
In OCI Cloud Shell
78+
cd oci-genai-agent-ext/starter
79+
80+
See commands available
81+
./starter.sh
82+
Navigate to Advanced/SSH
83+
84+
SSH Key
85+
cat target/ssh_key_starter
86+
87+
SSH to Bastion
88+
./starter.sh ssh bastion
89+
90+
cd app
91+
cat ingest.log
92+
```
93+
94+
## Acknowledgements
95+
96+
- **Author**
97+
- Marc Gueury, Generative AI Specialist
98+
- Anshuman Panda, Generative AI Specialist
99+
- Maurits Dijkens, Generative AI Specialist
100+
1.06 MB
Loading
392 KB
Loading

oci-genai-agent-ext-lab/workshops/freetier/manifest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
"title": "Lab 4: Digital Assistant",
2727
"filename": "./../../4-digital-assistant/digital-assistant.md"
2828
},
29+
{
30+
"title": "Lab 5: Customize",
31+
"filename": "./../../5-customize/customize.md"
32+
},
2933
{
3034
"title": "Need Help",
3135
"filename": "https://oracle-livelabs.github.io/common/labs/need-help/need-help-freetier.md"

0 commit comments

Comments
 (0)