Skip to content

Commit f8d4041

Browse files
authored
Retail Lab 1 (#544)
* updating instructions for retail * updates to healthcare markdown * retail lab 1 most of screen shots are finished besides PDFS and last task
1 parent f7a2c33 commit f8d4041

36 files changed

+87
-75
lines changed

dev-ai-app-dev-healthcare/ai-exercise/ai-vector-search-challenge-answers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This lab assumes you have:
4646
4747
## Task 1: Challenge requirements
4848

49-
The data science team at SeerEquites has provided a Jupyter Notebook called `ai_vector_search_challenge.ipynb` with four key code cells. The notebook will:
49+
The data science team at Seer Healthcare has provided a Jupyter Notebook called `ai_vector_search_challenge.ipynb` with four key code cells. The notebook will:
5050

5151
- **Connect to the database and import the necessary libraries and drivers.**
5252
- **Vectorize the `loan_type` column from the `MOCK_LOAN_DATA` table into the `LOAN_CHUNK` table.**

dev-ai-app-dev-healthcare/build/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Here’s what we’ll do:
196196

197197
## Task 6: Create a function to create embeddings - Use Oracle Database 23ai's to create vector data
198198

199-
To handle follow-up questions, you will enhance the system with an AI Loan Guru powered by Oracle 23ai’s Vector Search and Retrieval-Augmented Generation (RAG). The AI Loan Guru will be able to answer questions about the loan application and provide recommendations based on the data.
199+
To handle follow-up questions, you will enhance the system with an AI Healthcare Guru powered by Oracle 23ai’s Vector Search and Retrieval-Augmented Generation (RAG). The AI Healthcare Guru will be able to answer questions about the return application and provide recommendations based on the data.
200200

201201
Before answering questions, we need to prepare the data by vectoring the loan recommendations. This step:
202202

dev-ai-app-dev-healthcare/introduction/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You will:
1717

1818
* Combine your **enterprise data with large language models (LLMs)** using Retrieval-Augmented Generation (RAG) to answer natural language questions with context-aware accuracy.
1919

20-
* Automate real-world financial workflows, like loan approvals, by **embedding and querying unstructured data** in real time.
20+
* Automate real-world healthcare workflows, like loan approvals, by **embedding and querying unstructured data** in real time.
2121

2222
By the end of this workshop, you’ll understand how Oracle Database 23ai helps financial organizations:
2323

dev-ai-app-dev-healthcare/user-story/user-story.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ In this first example, you will use the application to approve a patient with a
103103
104104
![James Smith Approved List](./images/james-smith-approved-list.png =50%x*)
105105
106-
**Conclusion**
106+
**Task Summary**
107107
108108
Once you select and save one of the 3 authorization options recommended by the AI:
109109
@@ -177,7 +177,7 @@ In this example, you will navigate the application to review a customer and deny
177177
178178
![James Woods Denied List](./images/james-woods-denied-list.png =50%x*)
179179
180-
**Conclusion**
180+
**Task Summary**
181181
182182
Congratulations, you have finished reviewing a patient with high fraudulent risk! Proceed to the next task.
183183
@@ -207,7 +207,7 @@ Lastly, let’s explore how the system uses JSON Duality Views to handle profile
207207
208208
![Customer Profile Updated](./images/income-updated.png)
209209
210-
**Conclusion**
210+
**Task Summary**
211211
212212
Once the document is uploaded:
213213
@@ -217,7 +217,7 @@ Once the document is uploaded:
217217
218218
✅ And thanks to JSON Transform and JSON Duality Views, only the relevant field is modified — leaving the rest of the profile UNTOUCHED.
219219
220-
## Summary
220+
## Conlusion
221221
222222
In conclusion our Prior Authorizations Management App was able to leverage Oracle database 23ai technologies such as **AI Vector Search, Property Graph and JSON Duality Views** to:
223223

dev-ai-app-dev-retail/build/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Here’s what we’ll do:
196196

197197
## Task 6: Create a function to create embeddings - Use Oracle Database 23ai's to create vector data
198198

199-
To handle follow-up questions, you will enhance the system with a virtual return officer assistant, Riley, powered by Oracle 23ai’s Vector Search and Retrieval-Augmented Generation (RAG). Riley will be able to answer questions about the return authorization and provide recommendations based on the data.
199+
To handle follow-up questions, you will enhance the system with a virtual return officer assistant, powered by Oracle 23ai’s Vector Search and Retrieval-Augmented Generation (RAG). The **AI Return Specialist Virtual Assistant** will be able to answer questions about the return authorization and provide recommendations based on the data.
200200

201201
Before answering questions, we need to prepare the data by vectoring the return recommendations. This step:
202202

dev-ai-app-dev-retail/codingbasics/codingbasics.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Now, that we have established a connection, we can start creating our tables and
187187

188188
![query customers](./images/task3.png " ")
189189

190-
### **Task Summary**
190+
**Task Summary**
191191

192192
Congratulations! You successfully created two new tables with sample data using Python and Oracle Database.
193193

@@ -197,7 +197,9 @@ You also created a function that allows you to query your new table which we wil
197197

198198
Next, we want to explore how we can use a **JSON Duality View** to query our new table. A JSON Duality View allows us to interact with data as JSON objects, i.e., data is stored as documents. Unlike a regular view, we can also update data in a JSON Duality View. Any updates will be reflected in our original relational tables. We will create a JSON Duality View using our newly created tables `customers` and `orders`.
199199

200-
1. Before we create the **JSON Duality View**, we need to add some **constraints** to our new tables. Copy & paste the following code into a **new cell** and run it.
200+
1. Before we create the **JSON Duality View**, we need to add some **constraints** to our new tables. Constraints define specific rules and conditions that the data in a table must follow. Their main function is to maintain data integrity and ensure the accuracy and reliability of the stored information.
201+
202+
Copy & paste the following code into a **new cell** and run it.
201203

202204
```python
203205
<copy>
@@ -480,7 +482,7 @@ The final step in our basic coding tour with Python and the Oracle Database 23ai
480482

481483
## Conclusion
482484

483-
In this lab, we learned how to use Python and Oracle's Python driver `oracledb` to interact with Oracle Database 23ai's new features. You learned how to user the `cursor` object to execute SQL queries. Using the `cursor` object, you created a **JSON Duality View** and you even used some JSON functions to query documents using SQL syntax. Then, you also learned how to connect to the database using `pymongo` and retrieve data from a table in the database using **MongoDB syntax**. You created functions to update the **JSON Duality View** and you learned how these updates are also reflected in the underlying relational database tables.
485+
In this lab, we learned how to use Python and Oracle's Python driver `oracledb` to interact with Oracle Database 23ai's new features. You learned how to use the `cursor` object to execute SQL queries. Using the `cursor` object, you created a **JSON Duality View** and you even used some JSON functions to query documents using SQL syntax. Then, you also learned how to connect to the database using `pymongo` and retrieve data from a table in the database using **MongoDB syntax**. You created functions to update the **JSON Duality View** and you learned how these updates are also reflected in the underlying relational database tables.
484486

485487
In the next labs, you will see several of the coding principles learned and even more.
486488

dev-ai-app-dev-retail/connect-to-env/connect-to-env.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ To get things started we invite you to watch this video and see the lab in actio
2828

2929
1. Review the different elements in JupyterLab:
3030

31-
**File browser:** The file browser organizes and manages files within the JupyterLab workspace. It supports drag-and-drop file uploads, file creation, renaming, and deletion. Users can open notebooks, terminals, and text editors directly from the browser. Navigation is fast and intuitive, with breadcrumbs and context menus that surface relevant actions. Users can right-click files to access options like duplicate, shutdown kernel, or open with a specific editor.
31+
**File browser (1):** The file browser organizes and manages files within the JupyterLab workspace. It supports drag-and-drop file uploads, file creation, renaming, and deletion. Users can open notebooks, terminals, and text editors directly from the browser. Navigation is fast and intuitive, with breadcrumbs and context menus that surface relevant actions. Users can right-click files to access options like duplicate, shutdown kernel, or open with a specific editor.
3232

33-
**Launcher:** The launcher offers a streamlined entry point for starting new activities. Users can create Jupyter Notebooks for interactive coding with live code execution, visualizations, and rich markdown. The terminal provides direct shell access, enabling command-line operations within the JupyterLab environment. These two tools form the core of most workflows, supporting both interactive analysis and system-level tasks from a single interface.
33+
**Launcher (2 and 3):** The launcher offers a streamlined entry point for starting new activities. Users can create Jupyter Notebooks for interactive coding with live code execution, visualizations, and rich markdown. The terminal provides direct shell access, enabling command-line operations within the JupyterLab environment. These two tools form the core of most workflows, supporting both interactive analysis and system-level tasks from a single interface.
3434

3535
![JupyterLab Launcher](./images/jupyter.png " ")
3636

dev-ai-app-dev-retail/introduction/introduction.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## About this Workshop
44

5-
**Data is more than an asset—it’s the engine behind every smart decision, risk calculation and growth strategy. From real-time decision-making to risk management and innovation, success hinges on how well you harness it.**
5+
**Data is more than an asset—it’s the engine behind every smart decision, risk calculation, and growth strategy. From real-time decision-making to risk management and innovation, success hinges on how well you harness it.**
66

77
Generative AI and Oracle Database 23ai makes it possible to unlock deeper insights, faster—directly within your database.
88

9-
In this hands-on workshop, you’ll build a retail-focused GenAI solution using Oracle Database 23ai.
9+
This hands-on lab introduces you to Generative AI and Vector Search in Oracle Database 23ai, allowing you to build real applications using multiple types of data - no setup required. You'll connect to the database using Python and the Mongo API, run queries, create JSON Duality Views, and implement AI Vector Search and retrieval-augmented generation (RAG). Explore guided use cases or experiment freely in a browser-based development environment.
1010

1111
To get things started we invite you to watch the introduction video to see the demo in action:
1212

@@ -32,12 +32,17 @@ By the end of this workshop, you’ll understand how Oracle Database 23ai helps
3232

3333
**Your next breakthrough is just a lab away!**
3434

35+
#### ➡️ **Start with the demo! (Lab 1)**
3536

36-
#### ➡️ **Start with the demo!**
37+
Check out the demo to see how Generative AI and Vector Search in the database, can operate against multiple types of data—empowering you to build real applications and make faster, smarter decisions. The best part? **No setup required**—just start with Lab 1 and follow the guide. You can explore guided use cases or experiment on your own using the demo application:
3738

38-
Check out the demo to see how Generative AI and Vector Search in the database, can operate against multiple types of data—empowering you to build real applications and make faster, smarter decisions. The best part? **No setup required**—just start with Lab 1 and follow the guide. You can explore guided use cases or experiment on your own using the demo application.
39+
* ✅ Login as a Return Authorization Specialist
3940

40-
#### ➡️ **Start coding!**
41+
* ✅ Review customers that have been recommended by the system to be approved or denied for a return
42+
43+
* ✅ Upload information to a customer's profile
44+
45+
#### ➡️ **Start coding! (Labs 2-4)**
4146

4247
Lab 2 describes how to get access to our browser-based development environment. Make sure to check it out before continuing to Lab 3 and 4, where you will get hands-on and start interacting with Python with Oracle Database 23ai:
4348

@@ -53,15 +58,21 @@ Lab 2 describes how to get access to our browser-based development environment.
5358

5459
* ✅ Implement AI Vector Search
5560

56-
In lab 4, you will learn how to **implement a working example of retrieval-augmented generation (RAG) using Oracle Database 23ai.**
61+
* ✅ Implement retrieval-augmented generation (RAG) using Oracle Database 23ai
62+
63+
#### ➡️ **Start experimenting! (Lab 5)**
64+
65+
You can also experiment with the code in your own environment. The workshop environment is flexible and allows you try out different things: Start building your own version of the prior authorization application!
66+
67+
* ✅ Vectorize customer data from one table into another
5768

58-
#### ➡️ **Start experimenting!**
69+
* ✅ Verify the data was vectorized
5970

60-
You can also experiment with the code in your own environment. The workshop environment is flexible and allows you try out different things: Start building your own version of the return authorization application!
71+
* ✅ Implement a similarity search
6172

6273
### Objectives
6374

64-
* Learn how Oracle Database 23ai capabilities can be used to automate and enhance the return authorization process
75+
* Learn how Oracle Database 23ai capabilities can be used to automate and enhance the prior authorization process, justifying medical-necessity decisions
6576

6677
* Start coding with Python and Oracle's Python driver `oracledb`
6778

131 KB
Loading
39 KB
Loading

0 commit comments

Comments
 (0)