Skip to content

Workshop material for University of Groningen - April 26

Notifications You must be signed in to change notification settings

bobpeulen/rug_2024_workshop

Repository files navigation

Workshop material for University of Groningen - April 26

Steps to run the Workshop

Estimated Time: 45 minutes

Objectives

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

Prerequisites

  • 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.

Task 1. Download the Groningen in Europe Strategy PDF file

  1. Go to here
  2. In the top right corner, click on the three dots and click on Download

Task 2. Log in Oracle Cloud

  1. To log in Oracle Cloud, go to cloud.oracle.com
  2. In the Cloud Account Name box, add "oractdemeabdmanalytics". Click on Next
  3. In the next screen, click on the "Sign in with an identity domain" list and select "OracleIdentitycloudService"". Click on Next
  4. In the next screen, add the user name and password provided. Click on Next

xxx xxxx xxxx

Task 3: Create a Notebook session

  1. In Oracle Cloud, click on the hamburger menu, and following on Analytics & AI

  2. Click on Data Science

  3. Select the correct compartment on the left

  4. Select Create Project. You can name the Project to your own liking

  5. Click on Create. This will create a project.

  6. Step inside the project lab_2_img_1_data_science lab_2_img_2_data_science_project

  7. Click Create Notebook

  8. You can use all default settings, only change the name to myfirstnotebook

  9. Optional: change the shape of the notebook session by clicking on Change Shape

  10. Use Default Networking

  11. Leave Block storage size empty

  12. Click on Create

  13. This may take a few minutes, when the notebook is Active, click on the name of the notebook to access the main page lab_2_img_3_notebook_session

  14. Click on Open to open the notebook

  15. When you are prompted to log in, log in with your Oracle Cloud credentials

  16. The page as shown in the screenshot below should appear lab_2_img_4_notebook

Task 4: Clone Repository and run notebook

  1. Click on the Git tab on the left
  2. Click on Clone a Repository
  3. Add https://github.com/bobpeulen/rug_2024_workshop.git
  4. Click Clone. A new, rug_2024_workshop repository should appear in the directory on the left
  5. Step inside the rug_2024_workshop folder
  6. Open the notebook: gen_ai_langchain_faiss.ipynb
  7. When prompted for Select Kernel, just click on Select
  8. Follow the steps in the notebook closely.

lab_2_img_5_clone_repository lab_2_img_6_notebook_kernel

Acknowledgements

  • Bob Peulen
  • Last Updated By/Date - Bob Peulen, April 2024

About

Workshop material for University of Groningen - April 26

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published