diff --git a/.github/scripts/aura.py b/.github/scripts/aura.py index e9773e6..78387f7 100644 --- a/.github/scripts/aura.py +++ b/.github/scripts/aura.py @@ -83,7 +83,7 @@ def wait_for_status(self, instance_id, status=None, time_out=300): while current_status != status and time.time() - start <= time_out: time.sleep(20) current_status = self.status(instance_id) - logger.info("Waiting: {} {}".format(instance_id, status)) + logger.info("Waiting: {} {}".format(instance_id, current_status)) return current_status diff --git a/genai-workshop-w-outputs.ipynb b/genai-workshop-w-outputs.ipynb index 7cb6a50..1044abf 100644 --- a/genai-workshop-w-outputs.ipynb +++ b/genai-workshop-w-outputs.ipynb @@ -66,10 +66,10 @@ "base_uri": "https://localhost:8080/" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:45.392733Z", - "iopub.status.busy": "2024-09-02T17:15:45.392535Z", - "iopub.status.idle": "2024-09-02T17:15:47.905822Z", - "shell.execute_reply": "2024-09-02T17:15:47.905072Z" + "iopub.execute_input": "2024-09-24T18:38:59.575088Z", + "iopub.status.busy": "2024-09-24T18:38:59.574895Z", + "iopub.status.idle": "2024-09-24T18:39:02.117939Z", + "shell.execute_reply": "2024-09-24T18:39:02.117299Z" }, "id": "yY1XylsiZACB", "outputId": "2db89b75-7918-4270-a300-8503a816ec87", @@ -94,10 +94,10 @@ "start_time": "2024-06-25T14:14:49.950586Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:47.908710Z", - "iopub.status.busy": "2024-09-02T17:15:47.908489Z", - "iopub.status.idle": "2024-09-02T17:15:50.988257Z", - "shell.execute_reply": "2024-09-02T17:15:50.987486Z" + "iopub.execute_input": "2024-09-24T18:39:02.120318Z", + "iopub.status.busy": "2024-09-24T18:39:02.120076Z", + "iopub.status.idle": "2024-09-24T18:39:05.152071Z", + "shell.execute_reply": "2024-09-24T18:39:05.151417Z" }, "id": "7psF1otOdyXe", "tags": [] @@ -148,10 +148,10 @@ "start_time": "2024-06-25T14:14:53.094914Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:50.991311Z", - "iopub.status.busy": "2024-09-02T17:15:50.990747Z", - "iopub.status.idle": "2024-09-02T17:15:50.994553Z", - "shell.execute_reply": "2024-09-02T17:15:50.993951Z" + "iopub.execute_input": "2024-09-24T18:39:05.154629Z", + "iopub.status.busy": "2024-09-24T18:39:05.154232Z", + "iopub.status.idle": "2024-09-24T18:39:05.158119Z", + "shell.execute_reply": "2024-09-24T18:39:05.157637Z" }, "id": "BQ9s0ZWhekd8", "tags": [] @@ -181,10 +181,10 @@ "start_time": "2024-06-25T14:14:53.100578Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:50.996734Z", - "iopub.status.busy": "2024-09-02T17:15:50.996402Z", - "iopub.status.idle": "2024-09-02T17:15:51.002009Z", - "shell.execute_reply": "2024-09-02T17:15:51.001445Z" + "iopub.execute_input": "2024-09-24T18:39:05.159847Z", + "iopub.status.busy": "2024-09-24T18:39:05.159659Z", + "iopub.status.idle": "2024-09-24T18:39:05.165315Z", + "shell.execute_reply": "2024-09-24T18:39:05.164844Z" }, "id": "o-98NuINdyXe", "tags": [] @@ -234,10 +234,10 @@ "base_uri": "https://localhost:8080/" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:51.004294Z", - "iopub.status.busy": "2024-09-02T17:15:51.003847Z", - "iopub.status.idle": "2024-09-02T17:15:52.690172Z", - "shell.execute_reply": "2024-09-02T17:15:52.689654Z" + "iopub.execute_input": "2024-09-24T18:39:05.167168Z", + "iopub.status.busy": "2024-09-24T18:39:05.166786Z", + "iopub.status.idle": "2024-09-24T18:39:05.491802Z", + "shell.execute_reply": "2024-09-24T18:39:05.491277Z" }, "id": "92GFeMaRdyXf", "outputId": "3a7a97bd-901c-40a4-ffd8-810f8a03dab9", @@ -279,10 +279,10 @@ "height": 423 }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:52.692822Z", - "iopub.status.busy": "2024-09-02T17:15:52.692494Z", - "iopub.status.idle": "2024-09-02T17:15:52.698882Z", - "shell.execute_reply": "2024-09-02T17:15:52.698275Z" + "iopub.execute_input": "2024-09-24T18:39:05.493962Z", + "iopub.status.busy": "2024-09-24T18:39:05.493588Z", + "iopub.status.idle": "2024-09-24T18:39:05.499751Z", + "shell.execute_reply": "2024-09-24T18:39:05.499228Z" }, "id": "QJ6qg0qMw5JO", "outputId": "d8c06bec-d48f-4c1b-a1a1-d6240ef2a92b", @@ -292,7 +292,7 @@ { "data": { "text/plain": [ - "'2.9.0'" + "'2.10.0'" ] }, "execution_count": 6, @@ -427,10 +427,10 @@ "height": 115 }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:52.736370Z", - "iopub.status.busy": "2024-09-02T17:15:52.735910Z", - "iopub.status.idle": "2024-09-02T17:15:53.246359Z", - "shell.execute_reply": "2024-09-02T17:15:53.245736Z" + "iopub.execute_input": "2024-09-24T18:39:05.536231Z", + "iopub.status.busy": "2024-09-24T18:39:05.536007Z", + "iopub.status.idle": "2024-09-24T18:39:06.046652Z", + "shell.execute_reply": "2024-09-24T18:39:06.046071Z" }, "id": "JrywpfKFdzh4", "outputId": "8da80838-b6f3-4826-a9a5-64c424921900", @@ -511,10 +511,10 @@ "height": 536 }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:53.248899Z", - "iopub.status.busy": "2024-09-02T17:15:53.248517Z", - "iopub.status.idle": "2024-09-02T17:15:53.825412Z", - "shell.execute_reply": "2024-09-02T17:15:53.824758Z" + "iopub.execute_input": "2024-09-24T18:39:06.048817Z", + "iopub.status.busy": "2024-09-24T18:39:06.048447Z", + "iopub.status.idle": "2024-09-24T18:39:06.760716Z", + "shell.execute_reply": "2024-09-24T18:39:06.760035Z" }, "id": "T2nck70Wdzh4", "outputId": "a9e1f339-b218-452c-f396-a482e02b1074", @@ -550,63 +550,63 @@ " \n", " \n", " 0\n", - " 252298\n", - " Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", - " 0.937607\n", + " 598423\n", + " Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", + " 0.937790\n", " \n", " \n", " 1\n", - " 598423\n", - " Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", - " 0.937592\n", + " 252298\n", + " Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", + " 0.937698\n", " \n", " \n", " 2\n", - " 810170\n", - " Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.\n", - " 0.933105\n", + " 652924\n", + " Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.\n", + " 0.933853\n", " \n", " \n", " 3\n", - " 652924\n", - " Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.\n", - " 0.933029\n", + " 810170\n", + " Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.\n", + " 0.932785\n", " \n", " \n", " 4\n", - " 727804\n", - " Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.\n", - " 0.932755\n", + " 620223\n", + " Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.\n", + " 0.932617\n", " \n", " \n", " 5\n", - " 620223\n", - " Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.\n", - " 0.932510\n", + " 727804\n", + " Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.\n", + " 0.932602\n", " \n", " \n", " 6\n", - " 749656\n", - " Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.\n", - " 0.931641\n", + " 698387\n", + " Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.\n", + " 0.932114\n", " \n", " \n", " 7\n", - " 698387\n", - " Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.\n", - " 0.931564\n", + " 749656\n", + " Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.\n", + " 0.931641\n", " \n", " \n", " 8\n", " 571650\n", " Product-- Name: Taylor Fancy Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Low-rise, ankle-length jeans in washed stretch denim with front and back pockets, a zip fly and button, and skinny legs with raw-edge hems.\n", - " 0.931335\n", + " 0.931320\n", " \n", " \n", " 9\n", " 522754\n", " Product-- Name: Snake fancy denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket superskinny-fit jeans in stretch denim with a regular waist, zip fly and skinny legs.\n", - " 0.930954\n", + " 0.931122\n", " \n", " \n", "\n", @@ -614,40 +614,40 @@ ], "text/plain": [ " productCode \\\n", - "0 252298 \n", - "1 598423 \n", - "2 810170 \n", - "3 652924 \n", - "4 727804 \n", - "5 620223 \n", - "6 749656 \n", - "7 698387 \n", + "0 598423 \n", + "1 252298 \n", + "2 652924 \n", + "3 810170 \n", + "4 620223 \n", + "5 727804 \n", + "6 698387 \n", + "7 749656 \n", "8 571650 \n", "9 522754 \n", "\n", " text \\\n", - "0 Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs. \n", - "1 Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides. \n", - "2 Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy. \n", - "3 Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets. \n", - "4 Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs. \n", - "5 Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases. \n", - "6 Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled. \n", - "7 Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape. \n", + "0 Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides. \n", + "1 Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs. \n", + "2 Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets. \n", + "3 Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy. \n", + "4 Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases. \n", + "5 Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs. \n", + "6 Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape. \n", + "7 Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled. \n", "8 Product-- Name: Taylor Fancy Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Low-rise, ankle-length jeans in washed stretch denim with front and back pockets, a zip fly and button, and skinny legs with raw-edge hems. \n", "9 Product-- Name: Snake fancy denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket superskinny-fit jeans in stretch denim with a regular waist, zip fly and skinny legs. \n", "\n", " score \n", - "0 0.937607 \n", - "1 0.937592 \n", - "2 0.933105 \n", - "3 0.933029 \n", - "4 0.932755 \n", - "5 0.932510 \n", - "6 0.931641 \n", - "7 0.931564 \n", - "8 0.931335 \n", - "9 0.930954 " + "0 0.937790 \n", + "1 0.937698 \n", + "2 0.933853 \n", + "3 0.932785 \n", + "4 0.932617 \n", + "5 0.932602 \n", + "6 0.932114 \n", + "7 0.931641 \n", + "8 0.931320 \n", + "9 0.931122 " ] }, "execution_count": 8, @@ -697,10 +697,10 @@ "start_time": "2024-06-25T14:17:23.374640Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:53.827875Z", - "iopub.status.busy": "2024-09-02T17:15:53.827487Z", - "iopub.status.idle": "2024-09-02T17:15:53.830603Z", - "shell.execute_reply": "2024-09-02T17:15:53.830003Z" + "iopub.execute_input": "2024-09-24T18:39:06.762813Z", + "iopub.status.busy": "2024-09-24T18:39:06.762443Z", + "iopub.status.idle": "2024-09-24T18:39:06.765240Z", + "shell.execute_reply": "2024-09-24T18:39:06.764768Z" }, "id": "elNIp0_BdyXo", "tags": [] @@ -748,10 +748,10 @@ "execution_count": 10, "metadata": { "execution": { - "iopub.execute_input": "2024-09-02T17:15:53.832979Z", - "iopub.status.busy": "2024-09-02T17:15:53.832635Z", - "iopub.status.idle": "2024-09-02T17:15:53.836343Z", - "shell.execute_reply": "2024-09-02T17:15:53.835811Z" + "iopub.execute_input": "2024-09-24T18:39:06.767225Z", + "iopub.status.busy": "2024-09-24T18:39:06.766848Z", + "iopub.status.idle": "2024-09-24T18:39:06.770079Z", + "shell.execute_reply": "2024-09-24T18:39:06.769623Z" }, "tags": [] }, @@ -761,7 +761,7 @@ "output_type": "stream", "text": [ "MATCH (p:Product)\n", - "WHERE p.productCode IN [252298, 598423, 810170, 652924, 727804, 620223, 749656, 698387, 571650, 522754]\n", + "WHERE p.productCode IN [598423, 252298, 652924, 810170, 620223, 727804, 698387, 749656, 571650, 522754]\n", "RETURN p\n" ] } @@ -790,10 +790,10 @@ "start_time": "2024-06-25T14:17:29.231314Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:53.838365Z", - "iopub.status.busy": "2024-09-02T17:15:53.838179Z", - "iopub.status.idle": "2024-09-02T17:15:56.003528Z", - "shell.execute_reply": "2024-09-02T17:15:56.003005Z" + "iopub.execute_input": "2024-09-24T18:39:06.771909Z", + "iopub.status.busy": "2024-09-24T18:39:06.771570Z", + "iopub.status.idle": "2024-09-24T18:39:07.841419Z", + "shell.execute_reply": "2024-09-24T18:39:07.840742Z" }, "id": "ofoi5aJvekeF", "tags": [] @@ -835,10 +835,10 @@ "base_uri": "https://localhost:8080/" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:56.006112Z", - "iopub.status.busy": "2024-09-02T17:15:56.005916Z", - "iopub.status.idle": "2024-09-02T17:15:56.366206Z", - "shell.execute_reply": "2024-09-02T17:15:56.365665Z" + "iopub.execute_input": "2024-09-24T18:39:07.843706Z", + "iopub.status.busy": "2024-09-24T18:39:07.843497Z", + "iopub.status.idle": "2024-09-24T18:39:08.114442Z", + "shell.execute_reply": "2024-09-24T18:39:08.113806Z" }, "id": "MDFoMXmbekeF", "outputId": "9714fc4b-17b1-48e1-ab74-a6f4123c5a88", @@ -848,14 +848,14 @@ { "data": { "text/plain": [ - "[Document(metadata={'prodName': 'Didi denim', 'garmentGroupName': 'Dresses Ladies', 'garmentGroupNo': 1013, 'productCode': 252298, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/252298'}, page_content='Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.'),\n", - " Document(metadata={'prodName': 'Night Denim', 'garmentGroupName': 'Dresses Ladies', 'garmentGroupNo': 1013, 'productCode': 598423, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/598423'}, page_content='Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.'),\n", - " Document(metadata={'prodName': 'Skinny denim (D)', 'garmentGroupName': 'Trousers', 'garmentGroupNo': 1009, 'productCode': 810170, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/810170'}, page_content='Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.'),\n", + "[Document(metadata={'prodName': 'Night Denim', 'garmentGroupName': 'Dresses Ladies', 'garmentGroupNo': 1013, 'productCode': 598423, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/598423'}, page_content='Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.'),\n", + " Document(metadata={'prodName': 'Didi denim', 'garmentGroupName': 'Dresses Ladies', 'garmentGroupNo': 1013, 'productCode': 252298, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/252298'}, page_content='Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.'),\n", " Document(metadata={'prodName': '&DENIM Jeggings HW', 'garmentGroupName': 'Trousers Denim', 'garmentGroupNo': 1016, 'productCode': 652924, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/652924'}, page_content='Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.'),\n", - " Document(metadata={'prodName': 'Didi HW Skinny denim', 'garmentGroupName': 'Trousers', 'garmentGroupNo': 1009, 'productCode': 727804, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/727804'}, page_content='Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.'),\n", + " Document(metadata={'prodName': 'Skinny denim (D)', 'garmentGroupName': 'Trousers', 'garmentGroupNo': 1009, 'productCode': 810170, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/810170'}, page_content='Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.'),\n", " Document(metadata={'prodName': 'Beat denim', 'garmentGroupName': 'Trousers', 'garmentGroupNo': 1009, 'productCode': 620223, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/620223'}, page_content='Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.'),\n", - " Document(metadata={'prodName': '&DENIM jen bermuda shorts', 'garmentGroupName': 'Trousers Denim', 'garmentGroupNo': 1016, 'productCode': 749656, 'productTypeName': 'Shorts', 'productTypeNo': 274, 'detailDesc': '5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/749656'}, page_content='Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.'),\n", + " Document(metadata={'prodName': 'Didi HW Skinny denim', 'garmentGroupName': 'Trousers', 'garmentGroupNo': 1009, 'productCode': 727804, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/727804'}, page_content='Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.'),\n", " Document(metadata={'prodName': '&DENIM+ Skinny Shaping HW', 'garmentGroupName': 'Trousers Denim', 'garmentGroupNo': 1016, 'productCode': 698387, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': '5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/698387'}, page_content='Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.'),\n", + " Document(metadata={'prodName': '&DENIM jen bermuda shorts', 'garmentGroupName': 'Trousers Denim', 'garmentGroupNo': 1016, 'productCode': 749656, 'productTypeName': 'Shorts', 'productTypeNo': 274, 'detailDesc': '5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/749656'}, page_content='Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.'),\n", " Document(metadata={'prodName': 'Taylor Fancy Denim', 'garmentGroupName': 'Dresses Ladies', 'garmentGroupNo': 1013, 'productCode': 571650, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': 'Low-rise, ankle-length jeans in washed stretch denim with front and back pockets, a zip fly and button, and skinny legs with raw-edge hems.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/571650'}, page_content='Product-- Name: Taylor Fancy Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Low-rise, ankle-length jeans in washed stretch denim with front and back pockets, a zip fly and button, and skinny legs with raw-edge hems.'),\n", " Document(metadata={'prodName': 'Snake fancy denim', 'garmentGroupName': 'Trousers', 'garmentGroupNo': 1009, 'productCode': 522754, 'productTypeName': 'Trousers', 'productTypeNo': 272, 'detailDesc': '5-pocket superskinny-fit jeans in stretch denim with a regular waist, zip fly and skinny legs.', 'productGroupName': 'Garment Lower body', 'url': 'https://representative-domain/product/522754'}, page_content='Product-- Name: Snake fancy denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket superskinny-fit jeans in stretch denim with a regular waist, zip fly and skinny legs.')]" ] @@ -885,10 +885,10 @@ "height": 519 }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:56.368414Z", - "iopub.status.busy": "2024-09-02T17:15:56.368219Z", - "iopub.status.idle": "2024-09-02T17:15:56.374730Z", - "shell.execute_reply": "2024-09-02T17:15:56.374241Z" + "iopub.execute_input": "2024-09-24T18:39:08.116440Z", + "iopub.status.busy": "2024-09-24T18:39:08.116070Z", + "iopub.status.idle": "2024-09-24T18:39:08.122417Z", + "shell.execute_reply": "2024-09-24T18:39:08.121943Z" }, "id": "qQP7e2dcekeF", "outputId": "97d03a9b-a7dc-42cd-ea77-13c1aad242ce", @@ -922,35 +922,35 @@ " \n", " \n", " 0\n", - " Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", + " Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", " \n", " \n", " 1\n", - " Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", + " Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", " \n", " \n", " 2\n", - " Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.\n", + " Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.\n", " \n", " \n", " 3\n", - " Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.\n", + " Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.\n", " \n", " \n", " 4\n", - " Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.\n", + " Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.\n", " \n", " \n", " 5\n", - " Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.\n", + " Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.\n", " \n", " \n", " 6\n", - " Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.\n", + " Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.\n", " \n", " \n", " 7\n", - " Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.\n", + " Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.\n", " \n", " \n", " 8\n", @@ -966,14 +966,14 @@ ], "text/plain": [ " document\n", - "0 Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", - "1 Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", - "2 Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.\n", - "3 Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.\n", - "4 Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.\n", - "5 Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.\n", - "6 Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.\n", - "7 Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.\n", + "0 Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", + "1 Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", + "2 Product-- Name: &DENIM Jeggings HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: High-waisted jeggings in stretch denim with a zip fly and button, fake front pockets and real back pockets.\n", + "3 Product-- Name: Skinny denim (D) || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with fake front pockets, real back pockets and skinny legs. Wide ribbing at the waist for best fit over the tummy.\n", + "4 Product-- Name: Beat denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted, ankle-length denim jeans with a zip fly and button, side pockets, welt back pockets and wide, straight legs with creases.\n", + "5 Product-- Name: Didi HW Skinny denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with hard-worn details, a high waist, visible button fly, front and back pockets and skinny legs.\n", + "6 Product-- Name: &DENIM+ Skinny Shaping HW || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed, stretch denim with a high waist, zip fly and button and skinny legs. Shaping – denim with a stretch function that holds in and shapes the waist, thighs and bum while keeping the jeans in shape.\n", + "7 Product-- Name: &DENIM jen bermuda shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket shorts in washed, stretch denim with a regular waist, zip fly and button, and sewn-in turn-ups at the hems. The cotton content of the shorts is partly recycled.\n", "8 Product-- Name: Taylor Fancy Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Low-rise, ankle-length jeans in washed stretch denim with front and back pockets, a zip fly and button, and skinny legs with raw-edge hems.\n", "9 Product-- Name: Snake fancy denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket superskinny-fit jeans in stretch denim with a regular waist, zip fly and skinny legs." ] @@ -1008,10 +1008,10 @@ "start_time": "2024-06-25T14:17:42.964736Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:56.377018Z", - "iopub.status.busy": "2024-09-02T17:15:56.376667Z", - "iopub.status.idle": "2024-09-02T17:15:56.593400Z", - "shell.execute_reply": "2024-09-02T17:15:56.592760Z" + "iopub.execute_input": "2024-09-24T18:39:08.124266Z", + "iopub.status.busy": "2024-09-24T18:39:08.123880Z", + "iopub.status.idle": "2024-09-24T18:39:08.341216Z", + "shell.execute_reply": "2024-09-24T18:39:08.340585Z" }, "id": "rHayKAOlekeF", "tags": [] @@ -1044,60 +1044,60 @@ " \n", " \n", " 0\n", - " Product-- Name: Charlie A-line || Type: Skirt || Group: Garment Lower body || Garment Type: Skirts || Description: Short, A-line skirt with buttons down the front.\n", + " Product-- Name: Change the game || Type: Dress || Group: Garment Full body || Garment Type: Dresses Ladies || Description: Short, fitted dress in sturdy jersey with shoulder pads and long sleeves. Low cut at the back, seam at the waist and a metal fastener at the back.\n", " \n", " \n", " 1\n", - " Product-- Name: s || Type: Skirt || Group: Garment Lower body || Garment Type: Trousers Denim || Description: Short 5-pocket skirt in washed stretch denim with a zip fly and button.\n", + " Product-- Name: PICKUP ARTIST cheeky brief || Type: Swimwear bottom || Group: Swimwear || Garment Type: Swimwear || Description: Fully lined bikini bottoms with a low waist and cut-out sections at the sides.\n", " \n", " \n", " 2\n", - " Product-- Name: Photoshoot graphic tee || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in soft cotton jersey with a print motif and an appliqué on the front.\n", + " Product-- Name: Skirt Pencil Stretch || Type: Skirt || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket skirt in washed, stretch cotton denim with a zip fly, slit at the front and raw-edge hem.\n", " \n", " \n", " 3\n", - " Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs.\n", + " Product-- Name: Photoshoot graphic tee || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in soft cotton jersey with a print motif and an appliqué on the front.\n", " \n", " \n", " 4\n", - " Product-- Name: Jake HT SB || Type: Sneakers || Group: Shoes || Garment Type: Shoes || Description: Hi-tops with elasticated lacing at the front, a hook and loop tab at the top and a loop at the back. Mesh linings and insoles and thermoplastic rubber (TPR) soles.\n", + " Product-- Name: Charlie A-line || Type: Skirt || Group: Garment Lower body || Garment Type: Skirts || Description: Short, A-line skirt with buttons down the front.\n", " \n", " \n", " 5\n", - " Product-- Name: Jacket Slim || Type: Jacket || Group: Garment Upper body || Garment Type: Outdoor || Description: Fitted jacket in washed, stretch denim with buttons down the front, flap chest pockets with a button, and side pockets.\n", + " Product-- Name: s || Type: Skirt || Group: Garment Lower body || Garment Type: Trousers Denim || Description: Short 5-pocket skirt in washed stretch denim with a zip fly and button.\n", " \n", " \n", " 6\n", - " Product-- Name: Titti || Type: Dress || Group: Garment Full body || Garment Type: Jersey Basic || Description: Straight-cut dress in sturdy jersey with 3/4-length sleeves and front pockets. Unlined.\n", + " Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs.\n", " \n", " \n", " 7\n", - " Product-- Name: Brooke sneaker || Type: Sneakers || Group: Shoes || Garment Type: Shoes || Description: Trainers in imitation leather with lacing at the front, fabric linings and insoles and rubber soles.\n", + " Product-- Name: Jake HT SB || Type: Sneakers || Group: Shoes || Garment Type: Shoes || Description: Hi-tops with elasticated lacing at the front, a hook and loop tab at the top and a loop at the back. Mesh linings and insoles and thermoplastic rubber (TPR) soles.\n", " \n", " \n", " 8\n", - " Product-- Name: Hopper s/s tee || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in jersey with a motif.\n", + " Product-- Name: PETER POLO || Type: Polo shirt || Group: Garment Upper body || Garment Type: Jersey Basic || Description: Short-sleeved polo shirt in soft jersey with a collar and button placket.\n", " \n", " \n", " 9\n", - " Product-- Name: Jordan || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in soft viscose jersey with a deep neckline at the front and a chest pocket.\n", + " Product-- Name: PICKUP ARTIST top || Type: Bikini top || Group: Swimwear || Garment Type: Swimwear || Description: Bikini top with a wrapover front, side support, ties at the back of the neck and wide ties at the back. Lined.\n", " \n", " \n", "\n", "" ], "text/plain": [ - " document\n", - "0 Product-- Name: Charlie A-line || Type: Skirt || Group: Garment Lower body || Garment Type: Skirts || Description: Short, A-line skirt with buttons down the front.\n", - "1 Product-- Name: s || Type: Skirt || Group: Garment Lower body || Garment Type: Trousers Denim || Description: Short 5-pocket skirt in washed stretch denim with a zip fly and button.\n", - "2 Product-- Name: Photoshoot graphic tee || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in soft cotton jersey with a print motif and an appliqué on the front.\n", - "3 Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs.\n", - "4 Product-- Name: Jake HT SB || Type: Sneakers || Group: Shoes || Garment Type: Shoes || Description: Hi-tops with elasticated lacing at the front, a hook and loop tab at the top and a loop at the back. Mesh linings and insoles and thermoplastic rubber (TPR) soles.\n", - "5 Product-- Name: Jacket Slim || Type: Jacket || Group: Garment Upper body || Garment Type: Outdoor || Description: Fitted jacket in washed, stretch denim with buttons down the front, flap chest pockets with a button, and side pockets.\n", - "6 Product-- Name: Titti || Type: Dress || Group: Garment Full body || Garment Type: Jersey Basic || Description: Straight-cut dress in sturdy jersey with 3/4-length sleeves and front pockets. Unlined.\n", - "7 Product-- Name: Brooke sneaker || Type: Sneakers || Group: Shoes || Garment Type: Shoes || Description: Trainers in imitation leather with lacing at the front, fabric linings and insoles and rubber soles.\n", - "8 Product-- Name: Hopper s/s tee || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in jersey with a motif.\n", - "9 Product-- Name: Jordan || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in soft viscose jersey with a deep neckline at the front and a chest pocket." + " document\n", + "0 Product-- Name: Change the game || Type: Dress || Group: Garment Full body || Garment Type: Dresses Ladies || Description: Short, fitted dress in sturdy jersey with shoulder pads and long sleeves. Low cut at the back, seam at the waist and a metal fastener at the back.\n", + "1 Product-- Name: PICKUP ARTIST cheeky brief || Type: Swimwear bottom || Group: Swimwear || Garment Type: Swimwear || Description: Fully lined bikini bottoms with a low waist and cut-out sections at the sides.\n", + "2 Product-- Name: Skirt Pencil Stretch || Type: Skirt || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket skirt in washed, stretch cotton denim with a zip fly, slit at the front and raw-edge hem.\n", + "3 Product-- Name: Photoshoot graphic tee || Type: T-shirt || Group: Garment Upper body || Garment Type: Jersey Fancy || Description: T-shirt in soft cotton jersey with a print motif and an appliqué on the front.\n", + "4 Product-- Name: Charlie A-line || Type: Skirt || Group: Garment Lower body || Garment Type: Skirts || Description: Short, A-line skirt with buttons down the front.\n", + "5 Product-- Name: s || Type: Skirt || Group: Garment Lower body || Garment Type: Trousers Denim || Description: Short 5-pocket skirt in washed stretch denim with a zip fly and button.\n", + "6 Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs.\n", + "7 Product-- Name: Jake HT SB || Type: Sneakers || Group: Shoes || Garment Type: Shoes || Description: Hi-tops with elasticated lacing at the front, a hook and loop tab at the top and a loop at the back. Mesh linings and insoles and thermoplastic rubber (TPR) soles.\n", + "8 Product-- Name: PETER POLO || Type: Polo shirt || Group: Garment Upper body || Garment Type: Jersey Basic || Description: Short-sleeved polo shirt in soft jersey with a collar and button placket.\n", + "9 Product-- Name: PICKUP ARTIST top || Type: Bikini top || Group: Swimwear || Garment Type: Swimwear || Description: Bikini top with a wrapover front, side support, ties at the back of the neck and wide ties at the back. Lined." ] }, "execution_count": 14, @@ -1157,10 +1157,10 @@ "execution_count": 15, "metadata": { "execution": { - "iopub.execute_input": "2024-09-02T17:15:56.596129Z", - "iopub.status.busy": "2024-09-02T17:15:56.595612Z", - "iopub.status.idle": "2024-09-02T17:15:56.599098Z", - "shell.execute_reply": "2024-09-02T17:15:56.598507Z" + "iopub.execute_input": "2024-09-24T18:39:08.343375Z", + "iopub.status.busy": "2024-09-24T18:39:08.342978Z", + "iopub.status.idle": "2024-09-24T18:39:08.346187Z", + "shell.execute_reply": "2024-09-24T18:39:08.345669Z" }, "tags": [] }, @@ -1170,7 +1170,7 @@ "output_type": "stream", "text": [ "MATCH (p:Product)<-[v:VARIANT_OF]-(a:Article)<-[t:PURCHASED]-(c:Customer) \n", - "WHERE p.productCode IN [252298, 598423, 810170, 652924, 727804, 620223, 749656, 698387, 571650, 522754]\n", + "WHERE p.productCode IN [598423, 252298, 652924, 810170, 620223, 727804, 698387, 749656, 571650, 522754]\n", "RETURN *\n" ] } @@ -1284,10 +1284,10 @@ "start_time": "2024-06-25T14:22:05.084292Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:56.601494Z", - "iopub.status.busy": "2024-09-02T17:15:56.601154Z", - "iopub.status.idle": "2024-09-02T17:15:57.762371Z", - "shell.execute_reply": "2024-09-02T17:15:57.761702Z" + "iopub.execute_input": "2024-09-24T18:39:08.348051Z", + "iopub.status.busy": "2024-09-24T18:39:08.347724Z", + "iopub.status.idle": "2024-09-24T18:39:08.818855Z", + "shell.execute_reply": "2024-09-24T18:39:08.818199Z" }, "id": "8eKwXKf_ekeF", "tags": [] @@ -1340,10 +1340,10 @@ "height": 597 }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:57.765045Z", - "iopub.status.busy": "2024-09-02T17:15:57.764834Z", - "iopub.status.idle": "2024-09-02T17:15:58.535585Z", - "shell.execute_reply": "2024-09-02T17:15:58.535003Z" + "iopub.execute_input": "2024-09-24T18:39:08.821172Z", + "iopub.status.busy": "2024-09-24T18:39:08.820956Z", + "iopub.status.idle": "2024-09-24T18:39:09.366986Z", + "shell.execute_reply": "2024-09-24T18:39:09.366349Z" }, "id": "rUCSQyrZekeF", "outputId": "92b255ea-2371-4cc4-8248-eea9587b78d9", @@ -1374,10 +1374,10 @@ "execution_count": 18, "metadata": { "execution": { - "iopub.execute_input": "2024-09-02T17:15:58.538253Z", - "iopub.status.busy": "2024-09-02T17:15:58.537869Z", - "iopub.status.idle": "2024-09-02T17:15:58.541415Z", - "shell.execute_reply": "2024-09-02T17:15:58.540930Z" + "iopub.execute_input": "2024-09-24T18:39:09.369300Z", + "iopub.status.busy": "2024-09-24T18:39:09.369079Z", + "iopub.status.idle": "2024-09-24T18:39:09.372574Z", + "shell.execute_reply": "2024-09-24T18:39:09.372092Z" } }, "outputs": [], @@ -1397,10 +1397,10 @@ "execution_count": 19, "metadata": { "execution": { - "iopub.execute_input": "2024-09-02T17:15:58.543570Z", - "iopub.status.busy": "2024-09-02T17:15:58.543209Z", - "iopub.status.idle": "2024-09-02T17:15:58.554645Z", - "shell.execute_reply": "2024-09-02T17:15:58.554161Z" + "iopub.execute_input": "2024-09-24T18:39:09.374441Z", + "iopub.status.busy": "2024-09-24T18:39:09.374062Z", + "iopub.status.idle": "2024-09-24T18:39:09.385423Z", + "shell.execute_reply": "2024-09-24T18:39:09.384925Z" } }, "outputs": [ @@ -1437,7 +1437,7 @@ " 0\n", " 706016\n", " Product-- Name: Jade HW Skinny Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and super-skinny legs.\n", - " 0.927002\n", + " 0.928070\n", " 11\n", " NaN\n", " \n", @@ -1445,7 +1445,7 @@ " 1\n", " 777038\n", " Product-- Name: Bono NW slim denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed slightly stretch denim with a high waist, zip fly and button and tapered legs.\n", - " 0.926285\n", + " 0.925903\n", " 8\n", " NaN\n", " \n", @@ -1453,7 +1453,7 @@ " 2\n", " 448509\n", " Product-- Name: Perrie Slim Mom Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed, sturdy cotton denim with a high waist, button fly and slim, straight legs with raw-edge hems.\n", - " 0.923889\n", + " 0.923950\n", " 5\n", " NaN\n", " \n", @@ -1461,7 +1461,7 @@ " 3\n", " 539723\n", " Product-- Name: Jade Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and super-skinny legs.\n", - " 0.929291\n", + " 0.929504\n", " 3\n", " NaN\n", " \n", @@ -1469,7 +1469,7 @@ " 4\n", " 599489\n", " Product-- Name: Straight H.W || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket, high-waisted straight jeans in washed denim with hard-worn details and a zip fly and button.\n", - " 0.924377\n", + " 0.924515\n", " 2\n", " NaN\n", " \n", @@ -1483,9 +1483,9 @@ " \n", " \n", " 10\n", - " 706590\n", - " Product-- Name: Tapered Premiumprice || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed denim with a regular waist, button fly and tapered legs.\n", - " 0.923492\n", + " 779659\n", + " Product-- Name: Perrie Fancy Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed denim with decorative V-shaped seams at the top. Slightly looser fit with an extra high waist, zip fly and button and tapered legs.\n", + " 0.923721\n", " 1\n", " NaN\n", " \n", @@ -1493,7 +1493,7 @@ " 11\n", " 557241\n", " Product-- Name: Vintage Slim H.W || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket ankle-length jeans in washed denim with a high waist, button fly and slim legs with sparkly stones at the front.\n", - " 0.923141\n", + " 0.923004\n", " 1\n", " NaN\n", " \n", @@ -1501,23 +1501,23 @@ " 12\n", " 449897\n", " Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs.\n", - " 0.922729\n", + " 0.922638\n", " 1\n", " NaN\n", " \n", " \n", " 13\n", - " 252298\n", - " Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", - " 0.937607\n", + " 598423\n", + " Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", + " 0.937790\n", " 0\n", " 0.0\n", " \n", " \n", " 14\n", - " 598423\n", - " Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides.\n", - " 0.937592\n", + " 252298\n", + " Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs.\n", + " 0.937698\n", " 0\n", " 1.0\n", " \n", @@ -1534,37 +1534,37 @@ "3 539723 \n", "4 599489 \n", ".. ... \n", - "10 706590 \n", + "10 779659 \n", "11 557241 \n", "12 449897 \n", - "13 252298 \n", - "14 598423 \n", + "13 598423 \n", + "14 252298 \n", "\n", - " document \\\n", - "0 Product-- Name: Jade HW Skinny Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and super-skinny legs. \n", - "1 Product-- Name: Bono NW slim denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed slightly stretch denim with a high waist, zip fly and button and tapered legs. \n", - "2 Product-- Name: Perrie Slim Mom Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed, sturdy cotton denim with a high waist, button fly and slim, straight legs with raw-edge hems. \n", - "3 Product-- Name: Jade Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and super-skinny legs. \n", - "4 Product-- Name: Straight H.W || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket, high-waisted straight jeans in washed denim with hard-worn details and a zip fly and button. \n", - ".. ... \n", - "10 Product-- Name: Tapered Premiumprice || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed denim with a regular waist, button fly and tapered legs. \n", - "11 Product-- Name: Vintage Slim H.W || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket ankle-length jeans in washed denim with a high waist, button fly and slim legs with sparkly stones at the front. \n", - "12 Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs. \n", - "13 Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs. \n", - "14 Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides. \n", + " document \\\n", + "0 Product-- Name: Jade HW Skinny Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and super-skinny legs. \n", + "1 Product-- Name: Bono NW slim denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed slightly stretch denim with a high waist, zip fly and button and tapered legs. \n", + "2 Product-- Name: Perrie Slim Mom Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed, sturdy cotton denim with a high waist, button fly and slim, straight legs with raw-edge hems. \n", + "3 Product-- Name: Jade Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and super-skinny legs. \n", + "4 Product-- Name: Straight H.W || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket, high-waisted straight jeans in washed denim with hard-worn details and a zip fly and button. \n", + ".. ... \n", + "10 Product-- Name: Perrie Fancy Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed denim with decorative V-shaped seams at the top. Slightly looser fit with an extra high waist, zip fly and button and tapered legs. \n", + "11 Product-- Name: Vintage Slim H.W || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket ankle-length jeans in washed denim with a high waist, button fly and slim legs with sparkly stones at the front. \n", + "12 Product-- Name: Slim 5pkt || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed stretch denim with a regular waist, button fly and slim legs. \n", + "13 Product-- Name: Night Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: High-waisted jeans in washed stretch denim with a zip fly and button and decorative zips on the waistband. Front and back pockets and skinny legs with a zip down the sides. \n", + "14 Product-- Name: Didi denim || Type: Trousers || Group: Garment Lower body || Garment Type: Dresses Ladies || Description: Jeans in washed, stretch denim with hard-worn details, a regular waist, front and back pockets and skinny legs. \n", "\n", " searchScore purchaseScore vector_rank \n", - "0 0.927002 11 NaN \n", - "1 0.926285 8 NaN \n", - "2 0.923889 5 NaN \n", - "3 0.929291 3 NaN \n", - "4 0.924377 2 NaN \n", + "0 0.928070 11 NaN \n", + "1 0.925903 8 NaN \n", + "2 0.923950 5 NaN \n", + "3 0.929504 3 NaN \n", + "4 0.924515 2 NaN \n", ".. ... ... ... \n", - "10 0.923492 1 NaN \n", - "11 0.923141 1 NaN \n", - "12 0.922729 1 NaN \n", - "13 0.937607 0 0.0 \n", - "14 0.937592 0 1.0 \n", + "10 0.923721 1 NaN \n", + "11 0.923004 1 NaN \n", + "12 0.922638 1 NaN \n", + "13 0.937790 0 0.0 \n", + "14 0.937698 0 1.0 \n", "\n", "[15 rows x 5 columns]" ] @@ -1635,10 +1635,10 @@ ] }, "execution": { - "iopub.execute_input": "2024-09-02T17:15:58.557049Z", - "iopub.status.busy": "2024-09-02T17:15:58.556675Z", - "iopub.status.idle": "2024-09-02T17:16:04.049295Z", - "shell.execute_reply": "2024-09-02T17:16:04.048739Z" + "iopub.execute_input": "2024-09-24T18:39:09.387227Z", + "iopub.status.busy": "2024-09-24T18:39:09.387019Z", + "iopub.status.idle": "2024-09-24T18:39:11.760769Z", + "shell.execute_reply": "2024-09-24T18:39:11.760291Z" }, "id": "PtGT6HfgekeG", "outputId": "836d670a-cd11-4095-a182-3a0bb8349fb2", @@ -1649,18 +1649,18 @@ "name": "stdout", "output_type": "stream", "text": [ - "CPU times: user 17.2 ms, sys: 7.39 ms, total: 24.6 ms\n", - "Wall time: 5.49 s\n" + "CPU times: user 13.2 ms, sys: 1.03 ms, total: 14.2 ms\n", + "Wall time: 2.37 s\n" ] }, { "data": { "text/plain": [ - "writeMillis 164\n", + "writeMillis 147\n", "graphName proj\n", "nodeProperties [nodeEmbedding]\n", "propertiesWritten 13296\n", - "configuration {'jobId': 'f8307ec4-5dd9-40d7-b901-3b40caea9f93', 'logProgress': True, 'concurrency': 4, 'sudo': False, 'writeToResultStore': False, 'writeConcurrency': 4}\n", + "configuration {'jobId': '06227a5e-0f77-42d0-9cc7-f44f71189a15', 'logProgress': True, 'concurrency': 4, 'sudo': False, 'writeToResultStore': False, 'writeConcurrency': 4}\n", "Name: 0, dtype: object" ] }, @@ -1690,12 +1690,10 @@ "\n", "# graph projection - project co-purchase graph into analytics workspace\n", "gds.run_cypher('''\n", - " MATCH (a1:Article)<-[:PURCHASED]-(:Customer)-[:PURCHASED]->(a2:Article)\n", - " WITH gds.graph.project(\"proj\", a1, a2,\n", - " {sourceNodeLabels: labels(a1),\n", - " targetNodeLabels: labels(a2),\n", - " relationshipType: \"COPURCHASE\"}) AS g\n", - " RETURN g.graphName\n", + " MATCH (a1:Article)<-[:PURCHASED]-(:Customer)-[:PURCHASED]->(a2:Article)\n", + " WITH gds.graph.project(\"proj\", a1, a2,\n", + " {relationshipType: \"COPURCHASE\"}) AS g\n", + " RETURN g.graphName\n", " ''')\n", "# This results in an in-memory graph with the structure (Article)-[:COPURCHASE]->(Article)\n", "\n", @@ -1705,7 +1703,7 @@ "gds.fastRP.mutate(g, mutateProperty='nodeEmbedding', embeddingDimension=128, randomSeed=7474, concurrency=4, iterationWeights=[0.0, 1.0, 1.0])\n", "\n", "# write embeddings back to database to introspect later\n", - "gds.graph.writeNodeProperties(g, ['nodeEmbedding'], ['Article'])" + "gds.graph.writeNodeProperties(g, ['nodeEmbedding'])" ] }, { @@ -1765,10 +1763,10 @@ ] }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:04.051848Z", - "iopub.status.busy": "2024-09-02T17:16:04.051475Z", - "iopub.status.idle": "2024-09-02T17:16:08.314484Z", - "shell.execute_reply": "2024-09-02T17:16:08.313839Z" + "iopub.execute_input": "2024-09-24T18:39:11.762823Z", + "iopub.status.busy": "2024-09-24T18:39:11.762468Z", + "iopub.status.idle": "2024-09-24T18:39:14.978552Z", + "shell.execute_reply": "2024-09-24T18:39:14.977896Z" }, "id": "PtGT6HfgekeG", "outputId": "836d670a-cd11-4095-a182-3a0bb8349fb2", @@ -1778,7 +1776,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "8ffd59200b6848c48a2ff36e1cf43de9", + "model_id": "c26f22995f6d45e79a45dfd6a40b3376", "version_major": 2, "version_minor": 0 }, @@ -1796,13 +1794,13 @@ "didConverge True\n", "nodePairsConsidered 7068227\n", "preProcessingMillis 0\n", - "computeMillis 2513\n", + "computeMillis 2214\n", " ... \n", "postProcessingMillis 0\n", "nodesCompared 13296\n", "relationshipsWritten 125497\n", "similarityDistribution {'min': 0.750030517578125, 'p5': 0.8716926574707031, 'max': 1.000007629394531, 'p99': 1.0000038146972656, 'p1': 0.7865028381347656, 'p10': 0.908966064453125, 'p90': 1.0000038146972656, 'p50': 0.9999923706054688, 'p25': 0.9821624755859375, 'p75': 0.9999961853027344, 'p95': 1.0000038146972656, 'mean': 0.9777231618807255, 'p100': 1.0000038146972656, 'stdDev': 0.04617295721957434}\n", - "configuration {'writeProperty': 'score', 'writeRelationshipType': 'CUSTOMERS_ALSO_LIKE', 'randomSeed': 7474, 'jobId': '9f079b2d-e5d4-4ea9-91b8-0e1343ca66ff', 'deltaThreshold': 0.001, 'topK': 10, 'similarityCutoff': 0.75, 'perturbationRate': 0.0, 'sudo': False, 'maxIterations': 100, 'writeToResultStore': False, 'writeConcurrency': 1, 'sampleRate': 1.0, 'initialSampler': 'RANDOMWALK', 'nodeProperties': {'nodeEmbedding': 'COSINE'}, 'logProgress': True, 'nodeLabels': ['Article'], 'randomJoins': 10, 'concurren...\n", + "configuration {'writeProperty': 'score', 'writeRelationshipType': 'CUSTOMERS_ALSO_LIKE', 'randomSeed': 7474, 'jobId': '5f0d79ce-2745-41e8-a7ff-dc3743b0be34', 'deltaThreshold': 0.001, 'topK': 10, 'similarityCutoff': 0.75, 'perturbationRate': 0.0, 'sudo': False, 'maxIterations': 100, 'writeToResultStore': False, 'writeConcurrency': 1, 'sampleRate': 1.0, 'initialSampler': 'RANDOMWALK', 'nodeProperties': {'nodeEmbedding': 'COSINE'}, 'logProgress': True, 'nodeLabels': ['*'], 'randomJoins': 10, 'concurrency': 1...\n", "Name: 0, Length: 11, dtype: object" ] }, @@ -1813,7 +1811,7 @@ ], "source": [ "# draw KNN\n", - "knn_stats = gds.knn.write(g, nodeProperties=['nodeEmbedding'], nodeLabels=['Article'],\n", + "knn_stats = gds.knn.write(g, nodeProperties=['nodeEmbedding'],\n", " writeRelationshipType='CUSTOMERS_ALSO_LIKE', writeProperty='score',\n", " sampleRate=1.0, initialSampler='randomWalk', concurrency=1, similarityCutoff=0.75, randomSeed=7474)\n", "\n", @@ -1861,10 +1859,10 @@ "height": 666 }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:08.317152Z", - "iopub.status.busy": "2024-09-02T17:16:08.316742Z", - "iopub.status.idle": "2024-09-02T17:16:10.617338Z", - "shell.execute_reply": "2024-09-02T17:16:10.616721Z" + "iopub.execute_input": "2024-09-24T18:39:14.980770Z", + "iopub.status.busy": "2024-09-24T18:39:14.980466Z", + "iopub.status.idle": "2024-09-24T18:39:15.715311Z", + "shell.execute_reply": "2024-09-24T18:39:15.714762Z" }, "id": "NVy9J6T5ekeH", "outputId": "1e46c500-4309-448f-90d7-6ad7b13e5926", @@ -2084,10 +2082,10 @@ "start_time": "2024-06-25T15:12:37.496780Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:10.619581Z", - "iopub.status.busy": "2024-09-02T17:16:10.619387Z", - "iopub.status.idle": "2024-09-02T17:16:10.681480Z", - "shell.execute_reply": "2024-09-02T17:16:10.680897Z" + "iopub.execute_input": "2024-09-24T18:39:15.717385Z", + "iopub.status.busy": "2024-09-24T18:39:15.716985Z", + "iopub.status.idle": "2024-09-24T18:39:15.783879Z", + "shell.execute_reply": "2024-09-24T18:39:15.783333Z" }, "id": "JI9LVEdKekeH", "tags": [] @@ -2125,10 +2123,10 @@ "start_time": "2024-06-25T15:12:39.307879Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:10.684023Z", - "iopub.status.busy": "2024-09-02T17:16:10.683785Z", - "iopub.status.idle": "2024-09-02T17:16:11.899343Z", - "shell.execute_reply": "2024-09-02T17:16:11.898759Z" + "iopub.execute_input": "2024-09-24T18:39:15.785962Z", + "iopub.status.busy": "2024-09-24T18:39:15.785581Z", + "iopub.status.idle": "2024-09-24T18:39:16.073736Z", + "shell.execute_reply": "2024-09-24T18:39:16.073054Z" }, "id": "WLBBVRXwdyXq", "tags": [] @@ -2193,10 +2191,10 @@ "start_time": "2024-06-25T15:12:41.326620Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:11.902153Z", - "iopub.status.busy": "2024-09-02T17:16:11.901774Z", - "iopub.status.idle": "2024-09-02T17:16:11.905282Z", - "shell.execute_reply": "2024-09-02T17:16:11.904685Z" + "iopub.execute_input": "2024-09-24T18:39:16.076284Z", + "iopub.status.busy": "2024-09-24T18:39:16.075806Z", + "iopub.status.idle": "2024-09-24T18:39:16.079459Z", + "shell.execute_reply": "2024-09-24T18:39:16.078830Z" }, "id": "aUAROR6aekeI", "tags": [] @@ -2259,10 +2257,10 @@ "start_time": "2024-06-25T15:12:43.742013Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:11.907472Z", - "iopub.status.busy": "2024-09-02T17:16:11.907141Z", - "iopub.status.idle": "2024-09-02T17:16:11.911102Z", - "shell.execute_reply": "2024-09-02T17:16:11.910612Z" + "iopub.execute_input": "2024-09-24T18:39:16.081481Z", + "iopub.status.busy": "2024-09-24T18:39:16.081103Z", + "iopub.status.idle": "2024-09-24T18:39:16.085126Z", + "shell.execute_reply": "2024-09-24T18:39:16.084662Z" }, "id": "nUpih07QdyXr", "tags": [] @@ -2300,10 +2298,10 @@ "base_uri": "https://localhost:8080/" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:11.913277Z", - "iopub.status.busy": "2024-09-02T17:16:11.912952Z", - "iopub.status.idle": "2024-09-02T17:16:21.114218Z", - "shell.execute_reply": "2024-09-02T17:16:21.113575Z" + "iopub.execute_input": "2024-09-24T18:39:16.086993Z", + "iopub.status.busy": "2024-09-24T18:39:16.086633Z", + "iopub.status.idle": "2024-09-24T18:39:28.584504Z", + "shell.execute_reply": "2024-09-24T18:39:28.583876Z" }, "id": "jL6P3IoydyXr", "outputId": "a852420f-0011-46bc-c8e2-21430cf30d6d", @@ -2314,13 +2312,13 @@ "name": "stdout", "output_type": "stream", "text": [ - "Subject: Discover Your Perfect Summer Denim Collection!\n", + "Subject: Discover Your Perfect Denim for Summer 2024!\n", "\n", "Dear Alex,\n", "\n", - "I hope this email finds you well and enjoying the start of summer! As the days get warmer, it's the perfect time to refresh your wardrobe with some stylish and comfortable denim pieces. Based on your recent interest in denim jeans, I’ve curated a selection of our top picks that I think you'll love.\n", + "I hope this email finds you well and enjoying the start of summer! As the days get warmer, it's the perfect time to refresh your wardrobe with some stylish and comfortable denim pieces. Based on your recent searches for denim jeans, I’ve curated a selection of our top picks that I think you’ll love.\n", "\n", - "### Must-Have Denim Jeans for Summer\n", + "### Must-Have Denim Jeans\n", "\n", "1. **[Jade HW Skinny Denim TRS](https://representative-domain/product/706016)**\n", " - High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets, and super-skinny legs.\n", @@ -2337,21 +2335,21 @@ "5. **[Jones Denim Slim Shorts](https://representative-domain/product/478992)**\n", " - Long, 5-pocket denim shorts with a regular waist, zip fly and button, slightly lower crotch, and slim legs.\n", "\n", - "### Perfect Pairings for Your Denim\n", + "### Perfect Pairings for Summer\n", "\n", - "To complete your summer look, here are a few additional items that pair beautifully with our denim collection:\n", + "To complement your new denim, here are a few additional items that are perfect for the season:\n", "\n", "1. **[Bubble Bum Bandeau (1)](https://representative-domain/product/642498)**\n", " - Fully lined bandeau bikini top with padded cups and removable inserts. Detachable ties at the back of the neck, ties at the back, side support, and a silicone trim at the top.\n", "\n", - "2. **[Survivor Blouse](https://representative-domain/product/662328)**\n", - " - Straight-cut blouse in a crêpe weave with a collar, concealed buttons down the front, and fake flap front pockets. Yoke with a pleat at the back, long sleeves with pleats and buttoned cuffs, and a straight cut hem with slits in the sides.\n", + "2. **[Rosemary](https://representative-domain/product/753724)**\n", + " - Short dress in woven fabric with 3/4-length sleeves with an opening and ties at the cuffs, and a gently rounded hem. Unlined.\n", "\n", "3. **[Rylee Flatform](https://representative-domain/product/606711)**\n", " - Sandals with imitation suede straps, an elastic heel strap, and wedge heels. Satin insoles and thermoplastic rubber (TPR) soles. Platform front 2 cm, heel 6 cm.\n", "\n", - "4. **[Veronica Dress](https://representative-domain/product/710729)**\n", - " - Short dress in a crêpe weave with a V-neck and wrapover front with concealed press-studs. Short sleeves and a seam at the waist with a sewn-in tie belt.\n", + "4. **[Dixie Tee](https://representative-domain/product/598806)**\n", + " - Short top in soft cotton jersey with short sleeves. Contrasting color trims around the neckline and sleeves.\n", "\n", "5. **[Asa Smock Top](https://representative-domain/product/832473)**\n", " - Tube top in smocked cotton jersey with a frill trim top and bottom.\n", @@ -2396,10 +2394,10 @@ "base_uri": "https://localhost:8080/" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:21.116600Z", - "iopub.status.busy": "2024-09-02T17:16:21.116239Z", - "iopub.status.idle": "2024-09-02T17:16:21.567903Z", - "shell.execute_reply": "2024-09-02T17:16:21.567315Z" + "iopub.execute_input": "2024-09-24T18:39:28.586534Z", + "iopub.status.busy": "2024-09-24T18:39:28.586336Z", + "iopub.status.idle": "2024-09-24T18:39:28.992667Z", + "shell.execute_reply": "2024-09-24T18:39:28.992097Z" }, "id": "Z7-yDDUaD6FD", "outputId": "a1b962f7-07fc-4d57-efe4-64ba5429b1dc", @@ -2437,14 +2435,14 @@ "Product-- Name: Jade Denim Petite Trs 1 || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: High-waisted jeans in washed superstretch denim with a zip fly and button, fake front pockets, real back pockets and skinny legs.\n", "url: https://representative-domain/product/673901\n", "\n", - "Product-- Name: Maja cargo Slim HW Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with a high waist, zip fly and button, fake front pockets, real back pockets, flap leg pockets with concealed press-studs, and slim legs.\n", - "url: https://representative-domain/product/788575\n", - "\n", "Product-- Name: Jones Denim Slim Shorts || Type: Shorts || Group: Garment Lower body || Garment Type: Shorts || Description: Long, 5-pocket denim shorts with a regular waist, zip fly and button, slightly lower crotch and slim legs.\n", "url: https://representative-domain/product/478992\n", "\n", - "Product-- Name: Perrie Fancy Denim TRS || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: 5-pocket, ankle-length jeans in washed denim with decorative V-shaped seams at the top. Slightly looser fit with an extra high waist, zip fly and button and tapered legs.\n", - "url: https://representative-domain/product/779659\n", + "Product-- Name: Maja cargo Slim HW Denim || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers || Description: Jeans in washed, stretch denim with a high waist, zip fly and button, fake front pockets, real back pockets, flap leg pockets with concealed press-studs, and slim legs.\n", + "url: https://representative-domain/product/788575\n", + "\n", + "Product-- Name: Tapered Premiumprice || Type: Trousers || Group: Garment Lower body || Garment Type: Trousers Denim || Description: 5-pocket jeans in washed denim with a regular waist, button fly and tapered legs.\n", + "url: https://representative-domain/product/706590\n", "\n", "# Customer May Also Be Interested In the following\n", "The below candidates are recommended based on the shared purchase patterns of\n", @@ -2591,10 +2589,10 @@ "base_uri": "https://localhost:8080/" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:21.570401Z", - "iopub.status.busy": "2024-09-02T17:16:21.570027Z", - "iopub.status.idle": "2024-09-02T17:16:28.778142Z", - "shell.execute_reply": "2024-09-02T17:16:28.777543Z" + "iopub.execute_input": "2024-09-24T18:39:28.994671Z", + "iopub.status.busy": "2024-09-24T18:39:28.994308Z", + "iopub.status.idle": "2024-09-24T18:39:43.233633Z", + "shell.execute_reply": "2024-09-24T18:39:43.233053Z" }, "id": "qeOts3Q4ZACL", "outputId": "df5e0270-bc27-47d0-883a-26b5af1ac72b" @@ -2604,43 +2602,58 @@ "name": "stdout", "output_type": "stream", "text": [ - "Subject: Discover Your Perfect Summer Style with HRM!\n", + "Subject: Step into Summer with Our Latest Western Boots and More!\n", "\n", "Dear Alex,\n", "\n", - "I hope this email finds you well and enjoying the summer season! As July unfolds, it's the perfect time to refresh your wardrobe with some stylish and season-appropriate pieces. Based on your recent interest in western boots, we've curated a selection of products that we think you'll love.\n", + "I hope this email finds you well and enjoying the summer season! As July unfolds, it's the perfect time to refresh your wardrobe with some stylish and functional pieces. Based on your recent interest in western boots, I’ve curated a selection of products that I think you'll love. \n", "\n", - "### Step Up Your Footwear Game\n", + "### Western Boots Collection\n", "\n", - "1. **[Harry Hiking Boot](https://representative-domain/product/817484)**: These sturdy cotton canvas boots with an ankle-height shaft and chunky soles are perfect for your adventurous spirit. The platform front and heel add a touch of rugged elegance.\n", + "1. **[Harry Hiking Boot](https://representative-domain/product/817484)**\n", + " - Boots in sturdy cotton canvas with an ankle-height shaft, lacing at the front, and a loop at the back. Chunky, patterned soles with a platform front of 4.5 cm and a heel of 6 cm.\n", "\n", - "2. **[Patsy Platform](https://representative-domain/product/752857)**: Elevate your style with these platform boots in imitation leather. The decorative welt seams and chunky soles make them a standout choice for any outfit.\n", + "2. **[Patsy Platform](https://representative-domain/product/752857)**\n", + " - Platform boots in imitation leather with a zip on one side, lacing at the front, and a loop at the back. Decorative welt seams and chunky soles with a platform front of 4 cm and a heel of 5 cm.\n", "\n", - "3. **[Bobby Cut Out Boot](https://representative-domain/product/701561)**: These ankle boots feature open sides, studs, and an adjustable tab with elastication. Perfect for adding a bit of edge to your summer look.\n", + "3. **[West Puffer Boot Waterproof SB](https://representative-domain/product/646691)**\n", + " - Warm-lined boots in waterproof, functional fabric with imitation leather details and an ankle-height shaft with an elastic drawstring at the top. Pile linings and insoles with rubber soles.\n", "\n", - "4. **[Lexington](https://representative-domain/product/682511)**: These ankle boots in imitation leather come with a zip on one side and chunky thermoplastic rubber soles. The satin linings and imitation leather insoles ensure comfort and style.\n", + "4. **[WILDER](https://representative-domain/product/458032)**\n", + " - Ankle boots with a zip on one side and a loop at the back. Satin linings, imitation leather insoles, and rubber soles with a heel of approximately 6.5 cm.\n", "\n", - "### Complement Your Boots with Stylish Apparel\n", + "5. **[Bobby Cut Out Boot](https://representative-domain/product/701561)**\n", + " - Ankle boots in imitation leather with studs, open sides, an adjustable tab with elastication and a metal fastener, and a loop at the back. Fabric linings and insoles with thermoplastic rubber (TPR) soles. Heel approximately 4 cm.\n", "\n", - "1. **[Bono NW Slim Denim](https://representative-domain/product/777038)**: These 5-pocket, ankle-length jeans in washed slightly stretch denim are a versatile addition to your wardrobe. The high waist and tapered legs make them a perfect match for your new boots.\n", + "### Perfect Pairings for Summer\n", "\n", - "2. **[Rosemary Dress](https://representative-domain/product/753724)**: This short dress in woven fabric with 3/4-length sleeves and a gently rounded hem is ideal for the summer heat. Pair it with your favorite boots for a chic, effortless look.\n", + "To complement your new boots, here are some additional items that are perfect for the summer season:\n", "\n", - "3. **[Dixie Tee](https://representative-domain/product/598806)**: A short top in soft cotton jersey with contrasting color trims around the neckline and sleeves. This tee is perfect for a casual yet stylish summer outfit.\n", + "1. **[Bubble Bum Bandeau (1)](https://representative-domain/product/642498)**\n", + " - Fully lined bandeau bikini top with padded cups and removable inserts. Detachable ties at the back of the neck, ties at the back, side support, and a silicone trim at the top.\n", "\n", - "4. **[Rylee Flatform](https://representative-domain/product/606711)**: These heeled sandals with imitation suede straps and wedge heels are a great alternative for those hot summer days when you want to give your boots a break.\n", + "2. **[Rosemary](https://representative-domain/product/753724)**\n", + " - Short dress in woven fabric with 3/4-length sleeves with an opening and ties at the cuffs, and a gently rounded hem. Unlined.\n", "\n", - "We hope these selections inspire you to create some fabulous summer outfits. If you have any questions or need further assistance, feel free to reach out. Happy shopping!\n", + "3. **[Dixie Tee](https://representative-domain/product/598806)**\n", + " - Short top in soft cotton jersey with short sleeves. Contrasting color trims around the neckline and sleeves.\n", "\n", - "Warm regards,\n", + "4. **[Rylee Flatform](https://representative-domain/product/606711)**\n", + " - Sandals with imitation suede straps, an elastic heel strap, and wedge heels. Satin insoles and thermoplastic rubber (TPR) soles. Platform front 2 cm, heel 6 cm.\n", "\n", - "Sally \n", - "Personal Assistant \n", - "HRM Fashion, Home, and Beauty\n", + "5. **[Juliet Body](https://representative-domain/product/763911)**\n", + " - Body in soft jersey with a draped, wrapover front and lined gusset with press-studs.\n", + "\n", + "I hope you find these selections as exciting as I do! If you have any questions or need further assistance, please don't hesitate to reach out. \n", "\n", - "---\n", + "Happy shopping and enjoy the summer in style!\n", + "\n", + "Best regards,\n", "\n", - "Feel free to explore these products and more on our website. We look forward to helping you find the perfect pieces to complete your summer wardrobe!\n" + "Sally \n", + "Personal Assistant \n", + "HRM Fashion, Home, and Beauty \n", + "\n" ] } ], @@ -2670,10 +2683,10 @@ "start_time": "2024-06-25T15:13:31.281781Z" }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:28.780569Z", - "iopub.status.busy": "2024-09-02T17:16:28.780270Z", - "iopub.status.idle": "2024-09-02T17:16:28.783724Z", - "shell.execute_reply": "2024-09-02T17:16:28.783212Z" + "iopub.execute_input": "2024-09-24T18:39:43.235489Z", + "iopub.status.busy": "2024-09-24T18:39:43.235299Z", + "iopub.status.idle": "2024-09-24T18:39:43.239011Z", + "shell.execute_reply": "2024-09-24T18:39:43.238540Z" }, "id": "A1F0ve3cekeI" }, @@ -2733,10 +2746,10 @@ "height": 590 }, "execution": { - "iopub.execute_input": "2024-09-02T17:16:28.785965Z", - "iopub.status.busy": "2024-09-02T17:16:28.785626Z", - "iopub.status.idle": "2024-09-02T17:16:28.908097Z", - "shell.execute_reply": "2024-09-02T17:16:28.907400Z" + "iopub.execute_input": "2024-09-24T18:39:43.240706Z", + "iopub.status.busy": "2024-09-24T18:39:43.240415Z", + "iopub.status.idle": "2024-09-24T18:39:43.337747Z", + "shell.execute_reply": "2024-09-24T18:39:43.336898Z" }, "id": "XsBcFQLlekeI", "outputId": "9ac8faf5-44ed-45c7-9f2f-62ea9c3101c8" @@ -2803,12 +2816,53 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.5" + "version": "3.12.6" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": { - "0543f7cd88cb4692b4dd4e9ce657d34f": { + "0311941339064fb691e8af846a54f753": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "2.0.0", + "model_name": "HTMLModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "2.0.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "2.0.0", + "_view_name": "HTMLView", + "description": "", + "description_allow_html": false, + "layout": "IPY_MODEL_6e983ac7e8c143baabfd9374cc31f323", + "placeholder": "​", + "style": "IPY_MODEL_1616ae3749bc490e853e0191626fe7b3", + "tabbable": null, + "tooltip": null, + "value": " 100.0/100 [00:03<00:00, 55.21%/s]" + } + }, + "1616ae3749bc490e853e0191626fe7b3": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "2.0.0", + "model_name": "HTMLStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "2.0.0", + "_model_name": "HTMLStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "2.0.0", + "_view_name": "StyleView", + "background": null, + "description_width": "", + "font_size": null, + "text_color": null + } + }, + "19b1ac438f6e43df9af7efea61e48147": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -2861,46 +2915,7 @@ "width": null } }, - "0f3b176a7a344461b2569370242f6cab": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "ProgressStyleModel", - "state": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "ProgressStyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "bar_color": null, - "description_width": "" - } - }, - "355e006142fe4c65934578baa87418ff": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "HTMLModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "HTMLView", - "description": "", - "description_allow_html": false, - "layout": "IPY_MODEL_9b4be87a4ad74edba2ffaa3f7bf7458d", - "placeholder": "​", - "style": "IPY_MODEL_662ddb02bc904eb0b1828c083b479bde", - "tabbable": null, - "tooltip": null, - "value": "K-Nearest Neighbours: 100%" - } - }, - "4d2d11fd160e40bf9d28b0d88471dd97": { + "1c83b30fbaef48e788d59ca473ecd0df": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -2953,51 +2968,7 @@ "width": null } }, - "6472a981aa5d47a1b92ca65ceb33533f": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "FloatProgressModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "FloatProgressModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "ProgressView", - "bar_style": "success", - "description": "", - "description_allow_html": false, - "layout": "IPY_MODEL_0543f7cd88cb4692b4dd4e9ce657d34f", - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "style": "IPY_MODEL_0f3b176a7a344461b2569370242f6cab", - "tabbable": null, - "tooltip": null, - "value": 100.0 - } - }, - "662ddb02bc904eb0b1828c083b479bde": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLStyleModel", - "state": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "HTMLStyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "background": null, - "description_width": "", - "font_size": null, - "text_color": null - } - }, - "76de895433654c89af337fca5ec90636": { + "6e983ac7e8c143baabfd9374cc31f323": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -3050,7 +3021,25 @@ "width": null } }, - "8ffd59200b6848c48a2ff36e1cf43de9": { + "8946b218fcbc478ca9ff0125fdcf9724": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "2.0.0", + "model_name": "HTMLStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "2.0.0", + "_model_name": "HTMLStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "2.0.0", + "_view_name": "StyleView", + "background": null, + "description_width": "", + "font_size": null, + "text_color": null + } + }, + "c26f22995f6d45e79a45dfd6a40b3376": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HBoxModel", @@ -3065,16 +3054,32 @@ "_view_name": "HBoxView", "box_style": "", "children": [ - "IPY_MODEL_355e006142fe4c65934578baa87418ff", - "IPY_MODEL_6472a981aa5d47a1b92ca65ceb33533f", - "IPY_MODEL_b43e26ae7f754e47996eb36d213656c8" + "IPY_MODEL_fb8ceec0be57460bb7c57145b67195bc", + "IPY_MODEL_f799b821ecb246ac8a80015fff14fb23", + "IPY_MODEL_0311941339064fb691e8af846a54f753" ], - "layout": "IPY_MODEL_76de895433654c89af337fca5ec90636", + "layout": "IPY_MODEL_e30a7cb32b58495d9049010aab73ac8a", "tabbable": null, "tooltip": null } }, - "9b4be87a4ad74edba2ffaa3f7bf7458d": { + "d4a083f5736941868d2e848c58fb0289": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "2.0.0", + "model_name": "ProgressStyleModel", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "2.0.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "2.0.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "e30a7cb32b58495d9049010aab73ac8a": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", @@ -3127,45 +3132,53 @@ "width": null } }, - "b43e26ae7f754e47996eb36d213656c8": { + "f799b821ecb246ac8a80015fff14fb23": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", - "model_name": "HTMLModel", + "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", - "_model_name": "HTMLModel", + "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", - "_view_name": "HTMLView", + "_view_name": "ProgressView", + "bar_style": "success", "description": "", "description_allow_html": false, - "layout": "IPY_MODEL_4d2d11fd160e40bf9d28b0d88471dd97", - "placeholder": "​", - "style": "IPY_MODEL_f156091765414919bd9ab8030ff14557", + "layout": "IPY_MODEL_19b1ac438f6e43df9af7efea61e48147", + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "style": "IPY_MODEL_d4a083f5736941868d2e848c58fb0289", "tabbable": null, "tooltip": null, - "value": " 100.0/100 [00:07<00:00, 40.16%/s]" + "value": 100.0 } }, - "f156091765414919bd9ab8030ff14557": { + "fb8ceec0be57460bb7c57145b67195bc": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", - "model_name": "HTMLStyleModel", + "model_name": "HTMLModel", "state": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", - "_model_name": "HTMLStyleModel", + "_model_name": "HTMLModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", + "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "background": null, - "description_width": "", - "font_size": null, - "text_color": null + "_view_name": "HTMLView", + "description": "", + "description_allow_html": false, + "layout": "IPY_MODEL_1c83b30fbaef48e788d59ca473ecd0df", + "placeholder": "​", + "style": "IPY_MODEL_8946b218fcbc478ca9ff0125fdcf9724", + "tabbable": null, + "tooltip": null, + "value": "K-Nearest Neighbours: 100%" } } }, diff --git a/genai-workshop.ipynb b/genai-workshop.ipynb index 5b6cbb7..1b41caa 100644 --- a/genai-workshop.ipynb +++ b/genai-workshop.ipynb @@ -970,12 +970,10 @@ "\n", "# graph projection - project co-purchase graph into analytics workspace\n", "gds.run_cypher('''\n", - " MATCH (a1:Article)<-[:PURCHASED]-(:Customer)-[:PURCHASED]->(a2:Article)\n", - " WITH gds.graph.project(\"proj\", a1, a2,\n", - " {sourceNodeLabels: labels(a1),\n", - " targetNodeLabels: labels(a2),\n", - " relationshipType: \"COPURCHASE\"}) AS g\n", - " RETURN g.graphName\n", + " MATCH (a1:Article)<-[:PURCHASED]-(:Customer)-[:PURCHASED]->(a2:Article)\n", + " WITH gds.graph.project(\"proj\", a1, a2,\n", + " {relationshipType: \"COPURCHASE\"}) AS g\n", + " RETURN g.graphName\n", " ''')\n", "# This results in an in-memory graph with the structure (Article)-[:COPURCHASE]->(Article)\n", "\n", @@ -985,7 +983,7 @@ "gds.fastRP.mutate(g, mutateProperty='nodeEmbedding', embeddingDimension=128, randomSeed=7474, concurrency=4, iterationWeights=[0.0, 1.0, 1.0])\n", "\n", "# write embeddings back to database to introspect later\n", - "gds.graph.writeNodeProperties(g, ['nodeEmbedding'], ['Article'])" + "gds.graph.writeNodeProperties(g, ['nodeEmbedding'])" ] }, { @@ -1051,7 +1049,7 @@ "outputs": [], "source": [ "# draw KNN\n", - "knn_stats = gds.knn.write(g, nodeProperties=['nodeEmbedding'], nodeLabels=['Article'],\n", + "knn_stats = gds.knn.write(g, nodeProperties=['nodeEmbedding'],\n", " writeRelationshipType='CUSTOMERS_ALSO_LIKE', writeProperty='score',\n", " sampleRate=1.0, initialSampler='randomWalk', concurrency=1, similarityCutoff=0.75, randomSeed=7474)\n", "\n",