Skip to content

Commit

Permalink
WMS ID 11661: Prepared for CWT (#748)
Browse files Browse the repository at this point in the history
* Submited : Create a Large Language Model (LLM) chatbot using Oracle Database 23ai and Generative AI Service.

* Name adjustements

* Folder rename

* Deleted old folder

* Fixed some bugs

* Added the Livelabs version of the workshop

* Fixed some bugs

* Changed to the new LiveLab image + switched model to cohere.command-r-plus

* Updates for the new LiveLabs image

* Fixed image name

* Fixed some prerequisites

* Corrected Liana's job role

* Fixed some conditional inclusions

* Created the ocw24 version of the lab

* Fixed some typos + disclaimers

* Fixed index.html + duplicated names

* Fixed some OCW24 bugs

* Using ATP instead of local DB

* Bug fixing + adding credentials

* Blured personal information

* Hide logos in screenshots

* Small bugfix

* Added the CWT API key and instructions

---------

Co-authored-by: Bogdan Farca <[email protected]>
  • Loading branch information
bogdanf and Bogdan Farca authored Jan 17, 2025
1 parent bb9660d commit d78bde3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions ai-chatbot-engine/search+llm/cw-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is the link to the GenerativeAI API key: https://objectstorage.eu-frankfurt-1.oraclecloud.com/p/sCxNUExb6_eLVYNxc1Waef-KLO6nSmchNG56nK_xBAkktsX-DiUMa6Xp-RbdW3aR/n/fr1wb0c6sbky/b/bucket-20250115-1555/o/oci-files.zip
13 changes: 4 additions & 9 deletions ai-chatbot-engine/search+llm/search+llm.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,26 +204,21 @@ In a Retrieval-Augmented Generation (RAG) application, the prompt given to a Lar

In this case, the credentials needed to access the OCI GenAI Service are provided for you. Click on the link below and download the zip file.

[Get Your OCI GenAI key](https://objectstorage.us-ashburn-1.oraclecloud.com/p/75QkYvgn8zNo7vSaI8M4k5GGvs62bRQzeHPQFCxoQQZD1nwD5sl8oDyWjkBvAScE/n/c4u04/b/OCW2024/o/api/tut3008.zip)
[Get Your OCI GenAI key](https://objectstorage.eu-frankfurt-1.oraclecloud.com/p/sCxNUExb6_eLVYNxc1Waef-KLO6nSmchNG56nK_xBAkktsX-DiUMa6Xp-RbdW3aR/n/fr1wb0c6sbky/b/bucket-20250115-1555/o/oci-files.zip)

Unzip the downloaded file and copy the text file and non-public pem file to your JupyterLab window.
Rename the text file to `config` (no extension).

Double-click to open it in Jupyter. It will look like this:
Unzip the downloaded file and copy the `config` file and non-public pem file to your JupyterLab window.
Open the `config` file in Jupyter. It will look like this:
```
[DEFAULT]
user=ocid1.user.oc1..zzzzzzzzzzzzz
fingerprint=80:2a:84:00:29:2d:ec:04:8b:ee:xxxx
tenancy=ocid1.tenancy.oc1..yyyyyyyyyyyy
region=us-chicago-1
key_file=<path to your private keyfile> # TODO

Compartment ocid = ocid1.compartment.oc1..xxxxxxxx
```
Make note of your compartment ocid and delete that line (the last one in the file). You will need it in point 2 below.

Enter the path and name of your private key at the end of the `key_file` line.

The compartment id (needed later in this tutorial) is stored in the `compartment-id.txt` file.

> Note: The details in paragraph 1 below are provided for your information only. It is safe to skip to point 2.
</if>
Expand Down
2 changes: 1 addition & 1 deletion ai-chatbot-engine/workshops/ocw24/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
{
"title": "Your OCI GenAI key",
"filename": "https://oracle-livelabs.github.io/common/labs/ocw24/tut3008.md"
"filename": "../../search+llm/cw-key.md"
},
{
"title": "Need Help?",
Expand Down

0 comments on commit d78bde3

Please sign in to comment.