Skip to content

Commit

Permalink
WMS ID 11648 OCW Session TUT3015 (#667)
Browse files Browse the repository at this point in the history
* initial_create

* Updates and sandbox

* Updated Copy Blocks

* Update to copy blocks

* Adding additional workshops

* Manifest update

* fixing manifest

* Updates to md

* Updated markdowns

* Update markdown

* Updated descriptions

* Updates for ECPU change

* Updating md files

* Fixing step numbers

* Updated wget commands

* Uploading Images

* Updated images and instructions

* QA Updates

* Lint Fixes

* QA Updates

* Additional QA Updates

* Updates for dnf installs of tools

* dnf update

* Minor fixes

* New Screenshots

* Fixes to install

* Video upload

* Update for downloads.

* Removing Sharding 23c

* New Java version and download link

* Fixing wget

* java version change

* Updates to java

* Update download

* Updating java and adding the tenancy option

* OCW 23 pull request Adding logic for sql new features integration

* Fix for sysdba

* Update to current 23c Free Install

* Removing OCW23 from main workshop

* Fixing a few commands.

* Updating download servers

* Fixing ip address changes

* Update install.md

* Creating ai-vector-image directory

* Update query.md

* Main Upload

* Updated

* Updates

* Fixed underscores

* Image update

* Updating images

* New Images

* Update for optional

* Update introduction.md

* Update introduction.md

* Markdown Updates

* Update introduction.md

* Updates

* Updates

* Fixing Index

---------

Co-authored-by: Anoosha Pilli <63126232+anooshapilli@users.noreply.github.com>
  • Loading branch information
davidastart and anooshapilli committed Sep 3, 2024
1 parent 626b0c5 commit e268c57
Show file tree
Hide file tree
Showing 190 changed files with 1,303 additions and 0 deletions.
533 changes: 533 additions & 0 deletions ai-vector-image/apex/apex.html

Large diffs are not rendered by default.

423 changes: 423 additions & 0 deletions ai-vector-image/apex/apex.md

Large diffs are not rendered by default.

Binary file added ai-vector-image/apex/images/lab4_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_15a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_1a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_1a.png~
Binary file not shown.
Binary file added ai-vector-image/apex/images/lab4_1b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_1ba.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_1c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_20a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_21a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_22a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_23a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_25.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ai-vector-image/apex/images/lab4_25a.png
Binary file added ai-vector-image/apex/images/lab4_26.png
Binary file added ai-vector-image/apex/images/lab4_27.png
Binary file added ai-vector-image/apex/images/lab4_28.png
Binary file added ai-vector-image/apex/images/lab4_28a.png
Binary file added ai-vector-image/apex/images/lab4_29.png
Binary file added ai-vector-image/apex/images/lab4_3.png
Binary file added ai-vector-image/apex/images/lab4_30.png
Binary file added ai-vector-image/apex/images/lab4_31.png
Binary file added ai-vector-image/apex/images/lab4_32.png
Binary file added ai-vector-image/apex/images/lab4_33.png
Binary file added ai-vector-image/apex/images/lab4_34.png
Binary file added ai-vector-image/apex/images/lab4_35.png
Binary file added ai-vector-image/apex/images/lab4_36.png
Binary file added ai-vector-image/apex/images/lab4_37.png
Binary file added ai-vector-image/apex/images/lab4_38.png
Binary file added ai-vector-image/apex/images/lab4_39.png
Binary file added ai-vector-image/apex/images/lab4_3a.png
Binary file added ai-vector-image/apex/images/lab4_4.png
Binary file added ai-vector-image/apex/images/lab4_40.png
Binary file added ai-vector-image/apex/images/lab4_41.png
Binary file added ai-vector-image/apex/images/lab4_42.png
Binary file added ai-vector-image/apex/images/lab4_44.png
Binary file added ai-vector-image/apex/images/lab4_44_.png
Binary file added ai-vector-image/apex/images/lab4_45.png
Binary file added ai-vector-image/apex/images/lab4_45a.png
Binary file added ai-vector-image/apex/images/lab4_46.png
Binary file added ai-vector-image/apex/images/lab4_46a.png
Binary file added ai-vector-image/apex/images/lab4_47.png
Binary file added ai-vector-image/apex/images/lab4_48.png
Binary file added ai-vector-image/apex/images/lab4_49.png
Binary file added ai-vector-image/apex/images/lab4_49a.png
Binary file added ai-vector-image/apex/images/lab4_4pass.png
Binary file added ai-vector-image/apex/images/lab4_5.png
Binary file added ai-vector-image/apex/images/lab4_50.png
Binary file added ai-vector-image/apex/images/lab4_51.png
Binary file added ai-vector-image/apex/images/lab4_52.png
Binary file added ai-vector-image/apex/images/lab4_52a.png
Binary file added ai-vector-image/apex/images/lab4_53.png
Binary file added ai-vector-image/apex/images/lab4_53a.png
Binary file added ai-vector-image/apex/images/lab4_54.png
Binary file added ai-vector-image/apex/images/lab4_55.png
Binary file added ai-vector-image/apex/images/lab4_55a.png
Binary file added ai-vector-image/apex/images/lab4_56.png
Binary file added ai-vector-image/apex/images/lab4_56a.png
Binary file added ai-vector-image/apex/images/lab4_57.png
Binary file added ai-vector-image/apex/images/lab4_57a.png
Binary file added ai-vector-image/apex/images/lab4_58.png
Binary file added ai-vector-image/apex/images/lab4_58a.png
Binary file added ai-vector-image/apex/images/lab4_59.png
Binary file added ai-vector-image/apex/images/lab4_59a.png
Binary file added ai-vector-image/apex/images/lab4_6.png
Binary file added ai-vector-image/apex/images/lab4_60.png
Binary file added ai-vector-image/apex/images/lab4_60a.png
Binary file added ai-vector-image/apex/images/lab4_61.png
Binary file added ai-vector-image/apex/images/lab4_61a.png
Binary file added ai-vector-image/apex/images/lab4_62.png
Binary file added ai-vector-image/apex/images/lab4_62a.png
Binary file added ai-vector-image/apex/images/lab4_63.png
Binary file added ai-vector-image/apex/images/lab4_63a.png
Binary file added ai-vector-image/apex/images/lab4_64.png
Binary file added ai-vector-image/apex/images/lab4_65.png
Binary file added ai-vector-image/apex/images/lab4_65a.png
Binary file added ai-vector-image/apex/images/lab4_66.png
Binary file added ai-vector-image/apex/images/lab4_66a.png
Binary file added ai-vector-image/apex/images/lab4_67.png
Binary file added ai-vector-image/apex/images/lab4_67a.png
Binary file added ai-vector-image/apex/images/lab4_68.png
Binary file added ai-vector-image/apex/images/lab4_68a.png
Binary file added ai-vector-image/apex/images/lab4_69.png
Binary file added ai-vector-image/apex/images/lab4_69a.png
Binary file added ai-vector-image/apex/images/lab4_7.png
Binary file added ai-vector-image/apex/images/lab4_70.png
Binary file added ai-vector-image/apex/images/lab4_70a.png
Binary file added ai-vector-image/apex/images/lab4_71.png
Binary file added ai-vector-image/apex/images/lab4_72.png
Binary file added ai-vector-image/apex/images/lab4_74.png
Binary file added ai-vector-image/apex/images/lab4_75.png
Binary file added ai-vector-image/apex/images/lab4_76.png
Binary file added ai-vector-image/apex/images/lab4_76a.png
Binary file added ai-vector-image/apex/images/lab4_77.png
Binary file added ai-vector-image/apex/images/lab4_78.png
Binary file added ai-vector-image/apex/images/lab4_78a.png
Binary file added ai-vector-image/apex/images/lab4_79.png
Binary file added ai-vector-image/apex/images/lab4_79a.png
Binary file added ai-vector-image/apex/images/lab4_8.png
Binary file added ai-vector-image/apex/images/lab4_80.png
Binary file added ai-vector-image/apex/images/lab4_80a.png
Binary file added ai-vector-image/apex/images/lab4_80b.png
Binary file added ai-vector-image/apex/images/lab4_81.png
Binary file added ai-vector-image/apex/images/lab4_82.png
Binary file added ai-vector-image/apex/images/lab4_82a.png
Binary file added ai-vector-image/apex/images/lab4_83.png
Binary file added ai-vector-image/apex/images/lab4_83a.png
Binary file added ai-vector-image/apex/images/lab4_84.png
Binary file added ai-vector-image/apex/images/lab4_84a.png
Binary file added ai-vector-image/apex/images/lab4_85.png
Binary file added ai-vector-image/apex/images/lab4_86.png
Binary file added ai-vector-image/apex/images/lab4_86a.png
Binary file added ai-vector-image/apex/images/lab4_87.png
Binary file added ai-vector-image/apex/images/lab4_89.png
Binary file added ai-vector-image/apex/images/lab4_9.png
Binary file added ai-vector-image/apex/images/lab4_90.png
Binary file added ai-vector-image/apex/images/lab4_91.png
Binary file added ai-vector-image/apex/images/lab4_92.png
Binary file added ai-vector-image/apex/images/lab4_93.png
Binary file added ai-vector-image/apex/images/lab4_94.png
Binary file added ai-vector-image/apex/images/lab4_95.png
Binary file added ai-vector-image/apex/images/lab4_96.png
Binary file added ai-vector-image/apex/images/lab4_image_detail.png
Binary file added ai-vector-image/apex/images/lab4_task2_1.png
Binary file added ai-vector-image/apex/images/lab4_task2_2.png
Binary file added ai-vector-image/apex/images/lab4_task2_3.png
Binary file added ai-vector-image/apex/images/lab4_task3_1.png
Binary file added ai-vector-image/apex/images/lab4_task4_1.png
Binary file added ai-vector-image/apex/images/lab4_task5_1.png
Binary file added ai-vector-image/apex/images/lab4_task5_2.png
Binary file added ai-vector-image/apex/images/lab4_task6_1.png
Binary file added ai-vector-image/apex/images/sample1.png
Binary file added ai-vector-image/apex/images/sample2.png
64 changes: 64 additions & 0 deletions ai-vector-image/generate/generate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Getting Familiar with Models and Notebooks

## Introduction

This lab will walk you through working with models, preprocessors and general python notebooks. By the end you will convert an image to text and should be familiar with the steps to run the next set of labs.

Estimated Lab Time: 15 minutes

### Objectives

In this lab, you will:
* Setup the necessary libraries
* Load various preprocessors and models
* Run the steps to convert an image to text

### Prerequisites

This lab assumes you have:
* All previous labs successfully completed


## Task 1: Open Notebook

This task will have you login to the Jupyter Notebook environment and run the specific notebook for this lab.

1. **If you are already logged into the Jupyter Notebook environment skip to step 5 otherwise** open the "View Login Info" section of your workshop.

![Image alt text](images/lab4_1ba.png)

2. Copy the Jupyter Notebook Password and Click the Jupyter Notebook URL

![Image alt text](images/lab4_1a.png)

3. Paste the Jupyter Notebook Password you copied in the previous step into the Notebook
![Image alt text](images/lab1_3.png)

4. You should now be on the Jupyter Notebook landing screen. Open the folder named `vector lab` on the left hand side of the screen located in the file explorer
![Image alt text](images/lab1_4.png)


5. In the left File Explorer panel open the vector\_lab folder and open the **1\_generate\_lab.ipynb** notebook
![Image alt text](images/lab1_5.png)
![Image alt text](images/lab1_6.png)

6. Follow the steps in the notebook. A few things to remember:
- There are markdown blocks and code blocks mixed together
- The run button can be used on both code and markdown blocks (markdown just advances you to the next block)
- When you run a code block there are [ ] next to the code block. If it changes to a [\*] that means it running. If it has a number like [1] then its done running.
- Passwords and additional information you may need will be found in the "View Login Info" where the Jupyter Notebook link was

**Note: The notebooks can be downloaded in the learn more section for your viewing**

Once you have completed the steps in the notebook please return to the workshop so you can continue to the next lab.

## Learn More

* [Oracle AI Vector Search Users Guide](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/whats-new-oracle-ai-vector-search.html)
* [AI Vector Search Blog](https://blogs.oracle.com/database/post/oracle-announces-general-availability-of-ai-vector-search-in-oracle-database-23ai)
* [Workshop Notebook Download](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/labfiles/ocw_image_vector_lab.zip)

## Acknowledgements
* **Author** - David Start, Product Management
* **Contributors** - David Start, Product Management, Francis Regalado, Product Management
* **Last Updated By/Date** - David Start, Sept 2024
Binary file added ai-vector-image/generate/images/lab1_1.png
Binary file added ai-vector-image/generate/images/lab1_2.png
Binary file added ai-vector-image/generate/images/lab1_3.png
Binary file added ai-vector-image/generate/images/lab1_4.png
Binary file added ai-vector-image/generate/images/lab1_5.png
Binary file added ai-vector-image/generate/images/lab1_6.png
Binary file added ai-vector-image/generate/images/lab1_7.png
Binary file added ai-vector-image/generate/images/lab4_1a.png
Binary file added ai-vector-image/generate/images/lab4_1ba.png
Binary file added ai-vector-image/generate/images/sample1.png
Binary file added ai-vector-image/generate/images/sample2.png
Binary file added ai-vector-image/introduction/images/diagram.png
Binary file added ai-vector-image/introduction/images/diagram1.png
48 changes: 48 additions & 0 deletions ai-vector-image/introduction/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Introduction

## About this Workshop

Large Language Models (LLMs) have transformed artificial intelligence by enabling computers to understand and generate human-like text. These models rely on vectors—mathematical representations of words, phrases, and sentences—to process and create language. Vectors allow LLMs to capture the meaning of words and the relationships between them, making it possible for the models to perform tasks like text generation, translation, and question-answering with impressive accuracy. However, as we push LLMs to handle more complex tasks, such as integrating text with other types of data like images, new challenges arise. Combining these different kinds of vectors—those representing text and those representing images—requires advanced techniques to ensure the model can effectively understand and generate multimodal information.

This workshop outlines a two-step approach to tackle a problem by leveraging two different models. The first model generates descriptions for images, while the second model creates vectors for these textual descriptions. The second model is loaded in the database allowing for both vector generation and AI Vector Search without leaving the database. By separating the tasks, the complexity is reduced, making it easier to use existing models, as very few can handle both images and text simultaneously. This approach not only simplifies the problem but also broadens the range of available large language models (LLMs) since each task is more straightforward on its own.

The workflow diagram illustrates the following steps:

- Image Input: Start with an image that needs to be described.
- Description Generation: Use a model to generate a textual description or caption for the image.
- Text Vectorization: Pass the generated description through a second model (embedded in the database) that creates vectors from the text.
- APEX Application: Create a quick application leveraging an embedded text model and AI Vector Search

This method makes the solution more versatile since the text embeddings and search occur within the database allowing any application to be developed.


![Image alt text](images/diagram1.png)




[](youtube:pu79sny1AzY)

Estimated Workshop Time: 70 Minutes

### Objectives

In this workshop, you will learn how to:
* Work with Large Language Models (LLMs)
* Create and Load Vectors
* Create an APEX application using AI Vector Search

### Prerequisites

This lab assumes you have:
* An Oracle account

## Learn More

* [Oracle AI Vector Search Users Guide](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/whats-new-oracle-ai-vector-search.html)
* [AI Vector Search Blog](https://blogs.oracle.com/database/post/oracle-announces-general-availability-of-ai-vector-search-in-oracle-database-23ai)

## Acknowledgements
* **Author** - David Start, Product Management
* **Contributors** - David Start, Product Management, Francis Regalado, Product Management
* **Last Updated By/Date** - David Start, Sept 2024
Binary file added ai-vector-image/load-desc/images/lab2_1.png
Binary file added ai-vector-image/load-desc/images/lab2_2.png
Binary file added ai-vector-image/load-desc/images/lab2_3.png
Binary file added ai-vector-image/load-desc/images/lab2_4.png
Binary file added ai-vector-image/load-desc/images/lab2_5.png
Binary file added ai-vector-image/load-desc/images/lab2_7.png
Binary file added ai-vector-image/load-desc/images/lab2_8.png
Binary file added ai-vector-image/load-desc/images/lab2_9.png
Binary file added ai-vector-image/load-desc/images/lab4_1a.png
Binary file added ai-vector-image/load-desc/images/lab4_1ba.png
Binary file added ai-vector-image/load-desc/images/sample1.png
Binary file added ai-vector-image/load-desc/images/sample2.png
62 changes: 62 additions & 0 deletions ai-vector-image/load-desc/load-desc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Create and Load Image Descriptions

## Introduction

This lab will walk you through generating descriptions for all of the images and loading them into the database.

Estimated Lab Time: 15 minutes

### Objectives

In this lab, you will:
* Use two models to generate descriptions for each image
* Load the descriptions and images into a databse

### Prerequisites

This lab assumes you have:
* All previous labs successfully completed


## Task 1: Open Notebook

This task will have you login to the Jupyter Notebook environment and run the specific notebook for this lab.

1. **If you are already logged into the Jupyter Notebook environment skip to step 5 otherwise** open the "View Login Info" section of your workshop.

![Image alt text](images/lab4_1ba.png)

2. Copy the Jupyter Notebook Password and Click the Jupyter Notebook URL

![Image alt text](images/lab4_1a.png)

3. Paste the Jupyter Notebook Password you copied in the previous step into the Notebook
![Image alt text](images/lab2_3.png)

4. You should now be on the Jupyter Notebook landing screen.Open the folder named `vector lab` on the left hand side of the screen located in the file explorer
![Image alt text](images/lab2_4.png)

5. In the left File Explorer panel open the vector\_lab folder and open the **2\_load\_lab.ipynb** notebook
![Image alt text](images/lab2_5.png)
![Image alt text](images/lab2_7.png)

6. Follow the steps in the notebook. A few things to remember:
- There are markdown blocks and code blocks mixed together
- The run button can be used on both code and markdown blocks (markdown just advances you to the next block)
- When you run a code block there are [ ] next to the code block. If it changes to a [\*] that means it running. If it has a number like [1] then its done running.
- Passwords and additional information you may need will be found in the "View Login Info" where the Jupyter Notebook link was

**Note: The notebooks can be downloaded in the learn more section for your viewing**

Once you have completed the steps in the notebook please return to the workshop so you can continue to the next lab.

## Learn More

* [Oracle AI Vector Search Users Guide](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/whats-new-oracle-ai-vector-search.html)
* [AI Vector Search Blog](https://blogs.oracle.com/database/post/oracle-announces-general-availability-of-ai-vector-search-in-oracle-database-23ai)
* [Workshop Notebook Download](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/labfiles/ocw_image_vector_lab.zip)

## Acknowledgements
* **Author** - David Start, Product Management
* **Contributors** - David Start, Product Management, Francis Regalado, Product Management
* **Last Updated By/Date** - David Start, Sept 2024
Binary file added ai-vector-image/load-vectors/images/lab3_1.png
Binary file added ai-vector-image/load-vectors/images/lab3_2.png
Binary file added ai-vector-image/load-vectors/images/lab3_3.png
Binary file added ai-vector-image/load-vectors/images/lab3_4.png
Binary file added ai-vector-image/load-vectors/images/lab3_5.png
Binary file added ai-vector-image/load-vectors/images/lab3_6.png
Binary file added ai-vector-image/load-vectors/images/lab4_1a.png
Binary file added ai-vector-image/load-vectors/images/lab4_1ba.png
Binary file added ai-vector-image/load-vectors/images/sample2.png
64 changes: 64 additions & 0 deletions ai-vector-image/load-vectors/load-vectors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Create and Load Vectors into the Database

## Introduction

This lab will walk you through the steps to load models into the database and then use them to create vectors in the database.

Estimated Lab Time: 15 minutes

### Objectives

In this lab, you will:
* Load a model into the database
* Create vectors for the description fields
* Perform an AI Vector Search

### Prerequisites

This lab assumes you have:
* All previous labs successfully completed


## Task 1: Open Notebook

This task will have you login to the Jupyter Notebook environment and run the specific notebook for this lab.

1. **If you are already logged into the Jupyter Notebook environment skip to step 5 otherwise** open the "View Login Info" section of your workshop.

![Image alt text](images/lab4_1ba.png)

2. Copy the Jupyter Notebook Password and Click the Jupyter Notebook URL

![Image alt text](images/lab4_1a.png)

3. Paste the Jupyter Notebook Password you copied in the previous step into the Notebook
![Image alt text](images/lab3_3.png)

4. You should now be on the Jupyter Notebook landing screen
Open the folder named `vector lab` on the left hand side of the screen located in the file explorer
![Image alt text](images/lab3_4.png)

5. In the left File Explorer panel open the vector\_lab folder and open the **3\_create\_vectors.ipynb** notebook
![Image alt text](images/lab3_5.png)
![Image alt text](images/lab3_6.png)

6. Follow the steps in the notebook. A few things to remember:
- There are markdown blocks and code blocks mixed together
- The run button can be used on both code and markdown blocks (markdown just advances you to the next block)
- When you run a code block there are [ ] next to the code block. If it changes to a [\*] that means it running. If it has a number like [1] then its done running.
- Passwords and additional information you may need will be found in the "View Login Info" where the Jupyter Notebook link was

**Note: The notebooks can be downloaded in the learn more section for your viewing**

Once you have completed the steps in the notebook please return to the workshop so you can continue to the next lab.

## Learn More

* [Oracle AI Vector Search Users Guide](https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/whats-new-oracle-ai-vector-search.html)
* [AI Vector Search Blog](https://blogs.oracle.com/database/post/oracle-announces-general-availability-of-ai-vector-search-in-oracle-database-23ai)
* [Workshop Notebook Download](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/labfiles/ocw_image_vector_lab.zip)

## Acknowledgements
* **Author** - David Start, Product Management
* **Contributors** - David Start, Product Management, Francis Regalado, Product Management
* **Last Updated By/Date** - David Start, Sept 2024
8 changes: 8 additions & 0 deletions ai-vector-image/other-livelabs/other-livelabs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Other LiveLabs you might like


- [Autonomous Database Dedicated](https://apexapps.oracle.com/pls/apex/dbpm/r/livelabs/view-workshop?wid=677)

- [Manage and Monitor Autonomous Database](https://apexapps.oracle.com/pls/apex/dbpm/r/livelabs/view-workshop?wid=553)

- [Scaling and Performance in the Autonomous Database](https://apexapps.oracle.com/pls/apex/dbpm/r/livelabs/view-workshop?wid=608)
62 changes: 62 additions & 0 deletions ai-vector-image/workshops/sandbox/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Oracle LiveLabs gives you access to Oracle's products to run a wide variety of labs and workshops; allowing you to experience our best technology, live!">
<title>Oracle LiveLabs</title>

<script src="https://oracle-livelabs.github.io/common/redwood-hol/js/jquery-1.11.0.min.js"></script>
<script src="https://oracle-livelabs.github.io/common/redwood-hol/js/jquery-ui-1.10.4.custom.js"></script>
<script src="https://oracle-livelabs.github.io/common/redwood-hol/js/main.min.js"></script>

<link rel="stylesheet" href="https://oracle-livelabs.github.io/common/redwood-hol/css/style.min.css" />
<link rel="shortcut icon" href="https://oracle-livelabs.github.io/common/redwood-hol/img/favicon.ico" />
</head>

<body>
<header class="hol-Header" role="banner">
<div class="hol-Header-wrap">
<div class="hol-Header-logo"><span>Oracle LiveLabs</span></div>
<a href="https://livelabs.oracle.com" target="_blank" id="livelabs" title="Oracle LiveLabs"></a>
<div class="hol-Header-actions">
<button id="openNav" class="hol-Header-button hol-Header-button--menu rightNav" aria-label="Open Menu"
title="Open Menu">
<span class="hol-Header-toggleIcon"></span>
</button>
</div>
</div>
</header>

<div id="container">
<div id="leftNav">
<div id="toc"></div>
</div>
<div id="contentBox">
<main class="hol-Content" id="module-content"></main>
</div>
</div>

<footer class="hol-Footer">
<a class="hol-Footer-topLink" href="#top">Return to Top</a>
<div id="footer-banner"><div class="footer-row">
<div class="footer-content"><ul class="footer-links">
<li><a href="https://docs.oracle.com/pls/topic/lookup?ctx=en/legal&id=cpyr" target="_blank" aria-label="Open a new window to Oracle legal notices" data-lbl="copyright">© Oracle</a></li>
<li><a href="https://www.oracle.com/corporate/index.html" target="_blank" aria-label="Open a new window to learn more about oracle" data-lbl="about-oracle">About Oracle</a></li>
<li><a href="https://www.oracle.com/corporate/contact/" target="_blank" aria-label="Open a new window to contact oracle" data-lbl="contact-us">Contact Us</a></li>
<li class="footer-links-break"></li>
<li><a href="https://docs.oracle.com/en/browseall.html" target="_blank" aria-label="Open a new window to products a-z" data-lbl="products-a-z">Products A-Z</a></li>
<li><a href="https://www.oracle.com/legal/privacy/" target="_blank" aria-label="Open a new window to read more about Oracle terms of use and privacy" data-lbl="terms-of-use-and-privacy">Terms of Use & Privacy</a></li>
<li><a href="https://www.oracle.com/legal/privacy/privacy-policy.html#11" target="_blank" aria-label="Open a new window to read more about managing Oracle cookie preferences" data-lbl="cookie-preferences">Cookie Preferences</a></li>
<li><a href="https://www.oracle.com/legal/privacy/marketing-cloud-data-cloud-privacy-policy.html#adchoices" target="_blank" aria-label="Open a new window to ad choices" data-lbl="ad-choices">Ad Choices</a></li>
<li class="footer-links-break"></li><li class="last"><a href="https://docs.oracle.com/pls/topic/lookup?ctx=en/legal&id=cpyr" target="_blank" aria-label="Open a new window to Oracle legal notices" data-lbl="copyright">© Oracle</a></li>
</ul>
</div>
</div>
</div>
</footer>
</body>

</html>
39 changes: 39 additions & 0 deletions ai-vector-image/workshops/sandbox/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"workshoptitle": "Reimage-ing Search: AI Vector Search with Oracle Database 23ai",
"help": "livelabs-help-**enterarea**_us@oracle.com",
"variables": ["../../variables/variables.json",
"../../variables/variables-in-another-file.json"],
"tutorials": [
{
"title": "Introduction",
"description": "The Introduction is always second for LiveLabs. The title and contents menu title match for the Introduction.",
"filename": "../../introduction/introduction.md"
},
{
"title": "Get Started",
"description": "Prerequisites for LiveLabs (Oracle-owned tenancies). The title of the lab and the Contents Menu title (the title above) match for Prerequisite lab. This lab is always first.",
"filename": "https://oracle-livelabs.github.io/common/labs/cloud-login/cloud-login-23ai.md"
},
{
"title": "Lab 1: Learning about Notebooks and Models",
"filename": "../../generate/generate.md"
},
{
"title": "Lab 2: Create and Load Descriptions",
"filename": "../../load-desc/load-desc.md"
},
{
"title": "Lab 3: Create and Load Vectors",
"filename": "../../load-vectors/load-vectors.md"
},
{
"title": "Lab 4: Building an APEX Application",
"filename": "../../apex/apex.md"
},
{
"title": "Need Help?",
"description": "Solutions to Common Problems and Directions for Receiving Live Help",
"filename":"https://oracle-livelabs.github.io/common/labs/need-help/need-help-livelabs.md"
}
]
}

0 comments on commit e268c57

Please sign in to comment.