Estimated Time: 45 minutes
In this lab, you will:
- Log in Oracle Cloud
- Provision an OCI Data Science notebook
- Clone a respository from Github
- Run a Jupyter Notebook - Building a small Retrieval Augmented Generation application
- A tenancy that is configured to work with the Data Science service. Make sure to have all policies and dynamic groups in place.
- An account that has permission to create a Data Science project.
- An account that has permission to create a Data Science notebook session.
- Go to here
- In the top right corner, click on the three dots and click on Download
- To log in Oracle Cloud, go to cloud.oracle.com
- In the Cloud Account Name box, add "oractdemeabdmanalytics". Click on Next
- In the next screen, click on the "Sign in with an identity domain" list and select "OracleIdentitycloudService"". Click on Next
- In the next screen, add the user name and password provided. Click on Next
-
In Oracle Cloud, click on the hamburger menu, and following on Analytics & AI
-
Click on Data Science
-
Select the correct compartment on the left
-
Select Create Project. You can name the Project to your own liking
-
Click on Create. This will create a project.
-
Click Create Notebook
-
You can use all default settings, only change the name to myfirstnotebook
-
Optional: change the shape of the notebook session by clicking on Change Shape
-
Use Default Networking
-
Leave Block storage size empty
-
Click on Create
-
This may take a few minutes, when the notebook is Active, click on the name of the notebook to access the main page
-
Click on Open to open the notebook
-
When you are prompted to log in, log in with your Oracle Cloud credentials
- Click on the Git tab on the left
- Click on Clone a Repository
- Add https://github.com/bobpeulen/rug_2024_workshop.git
- Click Clone. A new, rug_2024_workshop repository should appear in the directory on the left
- Step inside the rug_2024_workshop folder
- Open the notebook: gen_ai_langchain_faiss.ipynb
- When prompted for Select Kernel, just click on Select
- Follow the steps in the notebook closely.
- Bob Peulen
- Last Updated By/Date - Bob Peulen, April 2024