-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WMS ID 11694 - updated instructions (#136)
* Updated manifest for sandbox configuration 4261 * Updated manifest for Workshop ID: 4261 * ID: 4261 Updated manifest and screenshots to show redwood interface * ID: 11018 - Updated screenshots and instructions to match redwood theme * Updated bank graph lab to be consistent in format and added a new manifest for moviesteam for future event * updated format of bank_graph * updated manifest and lab * updated livelab * updated livelab * updated manifest for level up * Deleted the unnecessary text files and updated the manifest * updated instructions * updated screenshots * updated lab to fit new green button dataset * updated an image missing * updated livelab * updated queries * adding the compartment block * 1018 - updated manifest and fixed format for Self QA * made corrections for self qa * ID:4261 updated object storage link and corrected queries * made some corrections in the intro * fixed minor typos * ID 4261 - updated PAR link * ID 4261: updated instructions * changes to the PAR URL * corrected typos * ID 4261: updated the notebook link * updated the PAR link * added note to instructions * ID 4261: Updated information to fit current version of livelab * ID 4261: updated livelab for cloud world * WMS: 4261 LL ID: 3599 Updated lab steps and manifest * updated number that was missing * WMS ID 4261 LiveLabs ID 3665: fixed typos and updated screenshots * new PAR link updated * WMS ID: 11442 and WMS ID: 4261 updated screenshots and instructions since there is a new interface * WMS ID 11018 - Quartetly QA * additional fixes * updated update date * updated links in manifest that weren't working - WMS ID 4261 * Updated screenshots for redwood version * WMS ID: 4261 and 11018 making updates and fixing typos * resolved conflict * Delete .DS_Store * WMS ID 4261: updated livelab * WMS ID 4261 - updates from changes in interface * updated own tenancy * added help section * manifest change * WMS ID 4261: updated screenshots and descriptions * WMS ID 4261 fixed queries and task numbering * WMS ID 4261 - Added links to videos * WMS ID 4261: fixed video and lab numbering * WMS ID 11442 - updating livelab for QA * WMS ID 3400 - updated instructions and screenshots * WMS ID 3400 & WMS ID 4261: updated content * updated livelab to add machine learning * updated title for lab 4 * updated broken images * changed wording * edited some screenshots and updated livelab * updated instructions * QA for graph and spatial changes * md file changes for movie-stream graph livelab and spatial studio installation * updated screenshots * changed some sentences * fixed sentence * updated spatial studio and bank graph livelab * updated pictures * corrected month * update of screenshots * fixed note * blurred information * updated help email * corrected date * updated instructions and last updated line * updated time * Updated instructions to match current steps * WMS ID 11018 - updated manifest to point to a common lab. * WMS ID 3400 - updated lab instructions * updated screenshots and instructions * updated instructions * updated instructions * screenshot and manifest update * upadated manifest to include blocks * updated steps * qa * WMS ID 11694: livelabs creation for 23ai * updated typos * remove image * spatial apex updates * changed to livelab * updated tenancy folder * adjusted help email * fixed path * custom changes for event * update to OCW livelab * WMS ID 9881 - updates to instructions * updated instructions * updated instructions * updated markdown * updated screenshot and instructions * updated instructions and screenshots * WMS ID 11694 - updates to lab * WMS ID 11694 - update lab
- Loading branch information
Showing
52 changed files
with
397 additions
and
559 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<!-- | ||
{ | ||
"name":"GenAI Setup to integrate with Graph Studio", | ||
"description":"Prerequisites for this workshop." | ||
} | ||
--> | ||
|
||
# GenAI Setup to integrate with Graph Studio | ||
|
||
## Introduction | ||
|
||
In this lab, you will | ||
|
||
Estimated Time: 10 minutes. | ||
|
||
### Objectives | ||
|
||
Learn how to | ||
|
||
- Access SQL Worksheet | ||
- Create a DBMS Cloud Credential | ||
- Create a Gen AI profile | ||
|
||
### Prerequisites | ||
|
||
- The following lab requires access to an OCI account. | ||
|
||
## Task 1: Access the Autonomous Database and Open a SQL worksheet | ||
|
||
1. Click the **Navigation Menu** in the upper left, navigate to **Oracle Database**, and select **Autonomous Database**. | ||
|
||
![Navigating to Autonomous Database.](images/navigation-menu.png " ") | ||
|
||
2. Select the compartment provided on **View Login Info**, and click on the **Display Name** for the **Autonomous Database**. | ||
|
||
![Selecting Autonomous Database in the Navigation Menu.](images/select-autonomous-database.png " ") | ||
|
||
3. In your Autonomous Database details page, click the **Database Actions** button. | ||
|
||
![Click Database Actions button.](./images/database-action-sql.png " ") | ||
|
||
Logging in from the OCI service console expects you are the ADMIN user. Log in as ADMIN if you are not automatically logged in. | ||
|
||
3. The Database Actions page opens. In the **Development** box, click **SQL**. | ||
|
||
![Click SQL.](./images/adb-dbactions-click-sql.png " ") | ||
|
||
4. The first time you open SQL Worksheet, a series of pop-up informational boxes may appear, providing you a tour that introduces the main features. If not, click the Tour button (labeled with binoculars symbol) in the upper right corner. Click **Next** to take a tour through the informational boxes. | ||
|
||
![SQL Worksheet.](./images/adb-sql-worksheet-opening-tour.png " ") | ||
|
||
5. Sign out of the worksheet and log back in. Then, open SQL again and run the analytics as **MOVIESTREAM**. | ||
|
||
![Log out.](./images/log-out-dbactions.png " ") | ||
|
||
login using the following credentials: | ||
|
||
**Username:** MOVIESTREAM | ||
**Password:** watchS0meMovies# | ||
|
||
## Task 2: Setup GenAI Connection | ||
|
||
1. Download and unzip the zipfile under the GenAI Key lab. This contains the connection information needed for GenAI to be used in the Graph Studio notebook. | ||
|
||
![Selecting Autonomous Database in the Navigation Menu.](images/genai-key.png " ") | ||
|
||
2. Create a DBMS Cloud Credential to call the Gen AI service from SQL in Graph Studio. You will need this information: | ||
|
||
``` | ||
<user> can be found in the text file as 'user' | ||
<tenancy> can be found in the text file as 'tenancy' | ||
<private_key> can be found as the contents .pem file that does not have the '_public' extention. | ||
<fingerprint> can be found in the textfile as 'fingerprint' | ||
``` | ||
Copy and paste the following code, and make the necessary changes: | ||
``` | ||
<copy> | ||
BEGIN | ||
DBMS_CLOUD.CREATE_CREDENTIAL ( | ||
credential_name => 'GRAPH_OCW_CREDENTIAL', | ||
user_ocid => '<user>', | ||
tenancy_ocid => '<tenancy>', | ||
private_key => '<private_key>', | ||
fingerprint => '<fingerprint>' | ||
); | ||
END; | ||
/</copy> | ||
``` | ||
Here is an example of how it should look: | ||
``` | ||
BEGIN | ||
DBMS_CLOUD.CREATE_CREDENTIAL ( | ||
credential_name => 'GRAPH_OCW_CREDENTIAL', | ||
user_ocid => 'ocid1.user.oc1..aaaaaaaa3k363plccg...ymfnqkplbxv6rb33wygq', | ||
tenancy_ocid => 'ocid1.tenancy.oc1..aaaaaaaaj4c...24mb6utvkymyo4xwxyv3gfa', | ||
private_key => 'b3BlbnNzaC1rZXktdjEAAAAABG5v...Cb29rLVByby5sb2NhbAE=', | ||
fingerprint => '5d:cf:...35:98'); | ||
END; | ||
/ | ||
``` | ||
Run the the script using the **Run Statement** button to create the DBMS Cloud Credential. | ||
![Create the DBMS Cloud Credential.](images/dbms-credentials.png " ") | ||
3. Then, create a Gen AI profile using the default llama model. Copy and run thhis script usisng the **Run Script** button. | ||
``` | ||
<copy>begin | ||
-- drops the profile if it already exists | ||
DBMS_CLOUD_AI.drop_profile(profile_name => 'genai', force => true); | ||
-- Create an AI profile that uses the default LLAMA model on OCI | ||
dbms_cloud_ai.create_profile( | ||
profile_name => 'genai', | ||
attributes => | ||
'{"provider": "oci", | ||
"credential_name": "GRAPH_OCW_CREDENTIAL", | ||
"comments":"true", | ||
"object_list": [ | ||
{"owner": "MOVIESTREAM", "name": "MOVIE"}, | ||
{"owner": "MOVIESTREAM", "name": "CUSTOMER"}, | ||
{"owner": "MOVIESTREAM", "name": "WATCHED"}, | ||
{"owner": "MOVIESTREAM", "name": "WATCHED_WITH"} | ||
] | ||
}' | ||
); | ||
end; | ||
/</copy> | ||
``` | ||
![Create a GenAI profile using thte default llama model.](images/genai-profile.png " ") | ||
This concludes this lab. **You may now proceed to the next lab.** | ||
## Acknowledgements | ||
* **Author** - Ramu Murakami Gutierrez, Product Management | ||
* **Contributors** - Melliyal Annamalai, Denise Myrick, Rahul Tasker, and Ramu Murakami Gutierrez Product Management | ||
* **Last Updated By/Date** - Ramu Murakami Gutierrez, Product Manager, July 2024 | ||
Binary file added
BIN
+298 KB
adb-graph/graph-ml-23ai/genai-setup/images/adb-dbactions-click-sql.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
BIN
+117 KB
adb-graph/graph-ml-23ai/genai-setup/images/adb-sql-worksheet-opening-tour.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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
BIN
+854 KB
adb-graph/graph-ml-23ai/import-notebook/images/dbactions-click-graph-studio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+75.4 KB
adb-graph/graph-ml-23ai/import-notebook/images/graph-studio-signin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+447 KB
adb-graph/graph-ml-23ai/import-notebook/images/select-autonomous-database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.