Skip to content

Commit

Permalink
Fixed rendering issues and updated reqs in set-up-help-chat.md (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
garimasharma024 authored Jul 12, 2024
1 parent 2df02ff commit 672561b
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions analytics/sprint-run-heatwave-genai/set-up-help-chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@ This lab demonstrates to use the vector store functionality and use HeatWave Cha

**Note**: This lab assumes that you’re familiar with the HeatWave Database Systems.

## Database System Requirements

To run this lab, you need a HeatWave Database System that meets the following requirements:
+ The HeatWave Database System must be version `9.0.0 - Innovation` or higher.
+ The ECPU Shape of the HeatWave Database System must be `MySQL.32`.
+ [A HeatWave Cluster must be added to your database system](https://docs.oracle.com/en-us/iaas/mysql-database/doc/adding-heatwave-cluster.html). The shape of the cluster must be `HeatWave.512GB`.
+ [HeatWave Lakehouse must be enabled on the database system](https://docs.oracle.com/en-us/iaas/mysql-database/doc/managing-heatwave-cluster.html#MYAAS-GUID-1E6279C0-B7DB-4110-975B-2812846E3CD7).

## Before You Begin

1. If not already done, enable the database system to access an OCI Object Storage bucket. For more information, see [Resource Principals](https://dev.mysql.com/doc/heatwave/en/mys-hw-resource-principal.html).

1. [Connect to your HeatWave Database System](https://docs.oracle.com/en-us/iaas/mysql-database/doc/compute-instance.html#GUID-6087DA45-06E0-44AD-9CAB-0FC37423A07A).
To run this quickstart, you need a HeatWave Database System that meets the following requirements:

1. The database system must be version `9.0.0 - Innovation` or higher.
1. The ECPU Shape of the HeatWave Database System must be `MySQL.32`.
1. If not already done, [add a HeatWave Cluster to your database system](https://docs.oracle.com/en-us/iaas/mysql-database/doc/adding-heatwave-cluster.html). The shape of the cluster must be `HeatWave.512GB`.
1. If not already done, [enable HeatWave Lakehouse on the database system](https://docs.oracle.com/en-us/iaas/mysql-database/doc/managing-heatwave-cluster.html#MYAAS-GUID-1E6279C0-B7DB-4110-975B-2812846E3CD7).
Ensure that you use the `--sqlc` flag while connecting to your database system:

1. If not already done, enable the database system to access an OCI Object Storage bucket. For more information, see [Resource Principals](https://dev.mysql.com/doc/heatwave/en/mys-hw-resource-principal.html).
```terminal
mysqlsh -u<Admin> -p<Password> -h<PrivateIP> --sqlc
```

Replace <var>&lt;Admin&gt;</var> with the database system admin name, <var>&lt;Password&gt;</var> with the database system password, and <var>&lt;PrivateIP&gt;</var> with the private IP of the database system.

## Create an Object Storage Bucket  

1. Download the [HeatWave user guide PDF (A4) - 1.7Mb](https://downloads.mysql.com/docs/heatwave-en.a4.pdf).
Expand All @@ -42,19 +52,17 @@ This lab demonstrates to use the vector store functionality and use HeatWave Cha

![Open Storage Buckets page](images/upload_button.png)

1. On the **Upload Objects** dialog box that appears, do the following:

1. In the **Object Name Prefix** field, enter `/quickstart`.
1. In the **Choose Files from your Computer**, click **select files** to upload the `heatwave-en.a4.pdf` which you downloaded in the previous section.
1. Click **Upload**.
1. On the **Upload Objects** dialog box that appears, in the **Object Name Prefix** field, enter `quickstart/`.
1. In the **Choose Files from your Computer**, click **select files** to upload the `heatwave-en.a4.pdf` which you downloaded in the previous section.
1. Click **Upload**.

![Open Storage Buckets page](images/upload_objects_dialog.png)
![Open Storage Buckets page](images/upload_objects_dialog.png)

1. After the file upload is complete, click **Close** to close the **Upload Objects** dialog.
1. After the file upload is complete, click **Close** to close the **Upload Objects** dialog box.

## Setting Up the Vector Store

1. After you've connected to your DB system, on your local machine, create a new database:
1. After you've connected to your database system, create a new database:

```mysql
create database quickstart_db;
Expand Down Expand Up @@ -192,5 +200,5 @@ To avoid being billed for the resources that you created for this quickstart, pe
2. Under **List Scope**, select a compartment from the list. All buckets in that compartment are listed in tabular form.
3. Select `quickstart_bucket`. The buckets **Details** page appears.
4. Click **Delete**.
5. In the **Delete Bucket** dialog that appears, enter `quickstart_bucket` to confirm resource and bucket deletion, and then click **Delete**. The bucket is deleted and no longer appears in the list of buckets in the compartment.
5. In the **Delete Bucket** dialog box that appears, enter `quickstart_bucket` to confirm resource and bucket deletion, and then click **Delete**. The bucket is deleted and no longer appears in the list of buckets in the compartment.

0 comments on commit 672561b

Please sign in to comment.