Skip to content

Commit

Permalink
WMS: 11360 Grammar edits (#156)
Browse files Browse the repository at this point in the history
* ocw manifest files

* Added Movies-Lab workshop files

* ocw manifest files

* 22.1 updates to Spreadsheet Lab

* 22.1 updates

* Update 1-sign-up-apex.md

* Updated absolute urls

* updated the common urls

* updated the urls

* Added a NOTE to indicate version difference

* updated path for Lab 4

* Updated the paths

* Updated the Workshop Title

* Update screenshot in Task 2 Step 7

* Added alt text to images

* URLS updated in index.html

* Updated the steps for Option 2: Sign up for APEX using ADB

* alt text for images

* Shopping App 22.1 updates

* 22.1 updates

* archiving Shopping Cart 21.2

* Updated manifest files for OCW

* Feedback updated for 22.1

* Updated the PL/SQL code for checkout

* Update process-properties.png

* Feedback update 22.1

* Hid the old walkthrough videos

* Alt text for all images

* Delete clothing-images.zip

* Updated steps for Livelabs Green Button

* Changes to steps for Livelabs Green button

* Fixed the comments wrt PR

* Updated screenshots in Common

* OCW updates to optional labs

* Updated filename in manifest for optional lab

* OCI console Redwood theme screenshots

Replacement of screenshots as per the new Redwood theme for OCI console

* Resolved issue in APEX 22.2 for Task 5

Added an additional step to set the source for Region in Task 5.

* Update manifest.json

Lab 4 was pointing to an invalid lab. I have updated it to the correct folder path.

* First Draft for New Workshop

All the files related to the Social Media Workshop

* Issue fix

* Issue fixes

* Issue Fix

* issue-fix

* removed lab 10

* screenshot fix

* Replaced Screenshots

* Updated screenshots

* Replaced Screenshots

* Updated Screenshots

* Create menu-button.png

* Issue fixes and time saver step

* Lab 10 steps added

* Fixed issues

* Renamed Lab titles

* Added Task 3 and 4 in Lab 8

* Updated screenshots

* uploaded the catch up app

* Update 0-introduction.md

* Completed app zip files

* Added download links from Object Storage

* ocw23 folders

* 23.1 changes

* updated acknowledgements

* Archive of 22.1

* Updated Movies and common

* Updated APEX version in Intro

* Feedback fixes

* Grammar edits

* Sign up for APEX using Quickstart

* Updated Lab 10

Added missing steps to get device location

* Added the support lab

Added CloudWorld support labs for Movies Watchlist and Social Media Workshop

* Updated Getting Started Common Lab

Changed the steps to sign up for an APEX Service

* Updated missing steps

* Changed the title of Spreadsheet workshop

* Embedded walkthrough videos

Social Media Workshop

* Grammar edits

* Updated Need Help for OCW

* Update 4-Update-table.md

* Rename 4-Update-table.md to 4-update-table.md

* Delete task-definition.md

* Update 4-update-table.md

* Fixing bugs

* Added video walkthrough files

* Update intro.md

* Update manifest.json

* Updated screenshots in Common

* APEX 23.2 updates to Spreadsheet

Updates to Spreadsheet and Common Lab

* Naming issues fixed

* Update 1-sign-up-apex.md

* Fixed naming, prereq, obj

* Naming issues fixed

* Issue fixes in common lab

* Changes in common and delete unwanted files

* Removed duplicate folders

* Updated all labs to 23.2

* Fixed the Manifest file errors

* Updated steps and text related to a bug

* New Lab added

* Update 5-improve-ux.md

* Update manifest.json

* Update 5-improve-ux.md

* fixed issues for new lab

* Update introduction.md

* Updated to latest files

* renamed the images

* Fixed issues and feedback

* Title and text changes

* Improve text and screenshots

* Improve text

* Fixed bugs

* Fix Grammar and issues

* Updated common lab

* Update 1-sign-up-apex.md

* Update introduction.md

* updated par url

* Update introduction.md

* Update introduction.md

* Update introduction.md

* Grammar changes

* 11628 - New Workshop

---------

Co-authored-by: Michelle Malcher <48925485+malcherm@users.noreply.github.com>
Co-authored-by: Anoosha Pilli <63126232+anooshapilli@users.noreply.github.com>
Co-authored-by: Hope Fisher <127253314+hope-fisher@users.noreply.github.com>
Co-authored-by: Dan Wiliams <127415766+dannymgithub@users.noreply.github.com>
  • Loading branch information
5 people authored May 21, 2024
1 parent 52f89ed commit 927ae2e
Show file tree
Hide file tree
Showing 71 changed files with 668 additions and 10 deletions.
61 changes: 61 additions & 0 deletions nyc-genai-lab/0-intro/0-intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Introduction

From precisely summarizing intricate data to crafting context-aware responses, Generative AI stands at the forefront of a technological shift, promising to redefine how we navigate and leverage knowledge in our day-to-day interactions. With the introduction of the native Generative AI Service on Oracle Cloud Infrastructure (OCI), enabling your applications with generative AI capabilities has never been easier.

In this workshop, you learn to bring generative AI capabilities based on large language models (LLMs) to your applications built using Oracle APEX, your favourite low-code Platform. The Generative AI service can be accessed through REST APIs, and by using the powerful REST Data Source capabilities of APEX, you can effortlessly incorporate this advanced technology into your applications with a low-code approach.

## What is OCI Generative AI service?

[Oracle Cloud Infrastructure Generative AI](https://www.oracle.com/artificial-intelligence/generative-ai/large-language-models/) is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation. Generative AI currently supports the following pre-trained foundational models available from Meta and Cohere:

- Llama 2
- Command
- Summarize
- Embed

You can read more about these models from the [documentation](https://docs.oracle.com/en-us/iaas/Content/generative-ai/pretrained-models.htm).

This workshop will guide you through the process of utilizing the generation models within the Generative AI Service to develop an "Ask Questions" feature for the New York High Schools APEX application. This functionality empowers parents to inquire about school facilities, policies, and more, aiding them in making an informed decision about whether a specific school is the ideal fit for their child.

Estimated Time: 45 minutes

### Objectives

* Build a conversational chat widget using OCI GenAI
* Use NL2SQL to generate queries
* Implement map regions

*Note: This workshop assumes you are using Oracle APEX 24.1.*

### Labs

| Module | Est. Time |
| --- | --- |
| [Creating an APEX application](?lab=1-create-app) | 5 minutes |
| [Improving the Faceted Search](?lab=lab-2-improve-faceted-search) | 10 minutes |
| [Improving the Report and Form](?lab=lab-3-improve-report-form) | 20 minutes |
| [Adding Maps and PWA](?lab=lab-4-add-map-region-install-pwa) | 10 minutes |

Total estimated time: 60 minutes

### **Let's Get Started!**

If the menu is not displayed, you can open by clicking the menu button (![Menu icon](./images/menu-button.png)) at the upper-left corner of the page.

### Downloads

[Click here]() to download the completed application.

## Learn More - *Useful Links*

- [OCI Generative AI](https://www.oracle.com/artificial-intelligence/generative-ai/large-language-models/)
- [APEX on Autonomous](https://apex.oracle.com/autonomous)
- [APEX Collateral](https://www.oracle.com/database/technologies/appdev/apex/collateral.html)
- [Tutorials](https://apex.oracle.com/en/learn/tutorials)
- [Community](https://apex.oracle.com/community)
- [External Site + Slack](http://apex.world)

## **Acknowledgements**

- **Authors** - Toufiq Mohammed, Senior Product Manager; Apoorva Srinivas, Senior Product Manager
- **Last Updated By/Date** - Apoorva Srinivas, Senior Product Manager, May 2024
148 changes: 148 additions & 0 deletions nyc-genai-lab/1-create-app/1-create-app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# Create an APEX Application

## Introduction
In this lab, you learn to create an APEX application by importing data from a spreadsheet. APEX can build an app directly from a table created using the spreadsheet. You learn learn to modify the layout an theme of the application.

**Note:** The screenshots in this workshop are taken using Dark Mode in APEX 24.1.

Estimated Time: 10 minutes

<!-- Watch the video below for a quick walk-through of the lab.
[Create an APEX App](videohub:1_a6bi2e62) -->

### Objectives

In this lab, you will:
- Create a new APEX application
- Run your application

### Prerequisites

- An Oracle APEX workspace

## Task 1: Load the Highschool data

1. From your APEX workspace home page, click **App Builder**.
2. Click **Create a New App**.

![Image showing Create a New App option](images/new-app.png " ")

3. Click **Create App from a File**.

![Image showing the various options to create an application](images/from-a-file.png " ")

When creating an application from a file, APEX allows you to upload CSV, XLSX, XML, or JSON files and then build apps based on their data. Alternatively, you can also copy and paste CSV data or load sample data.

4. Within the Load Data wizard, click the **Choose File** option or drag and drop the [nyc\_high\_schools.xsls](files/nyc_high_schools.xsls) file on to the dialog window.

![Image showing a wizard to upload a file](images/drag-and-drop.png " ")

5. Review the parsed data. Set Table Name to **HIGHSCHOOLS** and click **Load Data**. Note: You can configure what columns to load from the spreadsheet by clicking the **Configure** button.

![Image showing the Load Data wizard](images/new-table-name.png " ")

After clicking **Load Data**, you will see a spinner until the wizard finishes loading the data. Continue to Task 2 at that point.

## Task 2: Create an application

The Data Load wizard has created a new table and populated that table with the records from the sample data. Now you can create an app based on this new table.

1. In the Load Data dialog, verify that 427 rows have been loaded into the **HIGHSCHOOLS** table, then click **Create Application**.

![Image showing the success message of Load Data and options to View Table or Create Application](images/create-app-table.png " ")

2. On the Create Application page, click the application icon.
![Image showing the Create Application Page](images/app-thumbnail.png " ")

3. In the Choose Application Icon wizard, upload your own icon by selecting or dragging and dropping an image. Download a sample icon from [here](images/ai-highschools.png).
![Image showing the Choose Application Icon wizard](images/upload-icon.png " ")

4. Once you select an image, the wizard allows you to crop or resize the image. Click **Save Icon**.
![Image showing an icon editor in Choose Application Icon wizard](images/crop-and-save.png " ")

5. In the Create Application page, review the pages listed.
Click the **Edit** button for **Highschools Search** and update the following:
- Page Name: **Search and Apply**
- For Page Type, choose **Cards** toggle button.
![Edit Page wizard](images/edit-page-name.png " ")

6. For the Cards properties, select the following:
- Title Column: **SCHOOL_NAME**
- Body Column: **NEIGHBORHOOD**
- Expand Advanced section and check the **Set as Home Page** box

Click **Save Changes**.
![Edit Page wizard](images/cards-columns.png " ")


7. Next, we delete the pages that we no longer need. Click **Edit** next to the Home page.
![Edit Page wizard](images/edit-home.png " ")

8. Click **Delete**. In the dialog 'Would you like to perform this delete action?', select **OK**.
![Delete Page wizard](images/delete-home.png " ")

![Confirm Delete dialog](images/confirm-delete.png " ")

11. Repeat Step 10 to delete the **Highschools Report** page.
![Delete page wizard](images/delete-report.png " ")

12. In the Create Application wizard, under Features, check the following checkboxes:
- **Install Progressive Web App**
- **Push Notifications**

Click **Create Application**.

![Image showing the Create Application Page](images/create-final-app.png " ")

When the wizard finishes creating the application, you will be redirected to the application's home page in the App Builder.

## Task 3: Configure the Cards Region

In this task, we configure the Cards region to display the information that we need.

1. Navigate to **Search and Apply** page.
![Application Home Page](images/select-page.png " ")

2. In the rendering tree, select **Search Results** card region. In the property editor, select the following:
- Title > Column: **SCHOOL_NAME**
- Subtitle > Column: **INTEREST**
- Secondary Body > Column: **BOROUGH**

![Page Designer](images/edit-cards.png " ")

![Page Designer](images/edit-cards-2.png =40%x*)

3. Click **Save and Run** page.
![Page Designer](images/run-app.png " ")

![App login screen](images/login.png =40%x*)

![App is displayed](images/first-app.png " ")

## Task 4: Customize the Application Theme

1. From the Developer Toolbar, click **Customize** and select **Theme Roller**.

![Application page in runtime](images/dev-toolbar.png " ")


2. In the Theme Roller dialog, for Select Theme, choose **Redwood Light**. Click **Save**.

![Application page in runtime with Theme roller dialog open](images/theme-roller.png =50%x*)

![App with redwood light theme](images/redwood-light.png " ")
You have successfully customized the application theme.


## Summary

You now know how to create an Oracle APEX application from a spreadsheet. You also learnt to customize the pages and the theme of the application.

You may now **proceed to the next lab**.

## Acknowledgments

- **Authors** - Toufiq Mohammed, Senior Product Manager; Apoorva Srinivas, Senior Product Manager
- **Last Updated By/Date** - Apoorva Srinivas, Senior Product Manager, May 2024


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.
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.
Binary file added nyc-genai-lab/1-create-app/images/delete-home.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.
Binary file added nyc-genai-lab/1-create-app/images/edit-cards.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 nyc-genai-lab/1-create-app/images/edit-home.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.
Binary file added nyc-genai-lab/1-create-app/images/first-app.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.
Binary file added nyc-genai-lab/1-create-app/images/login.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 nyc-genai-lab/1-create-app/images/new-app.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.
Binary file added nyc-genai-lab/1-create-app/images/run-app.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

0 comments on commit 927ae2e

Please sign in to comment.