Skip to content

Commit bb96dd8

Browse files
bechbdmichaelnchin
andauthored
Added Vector Similarity Notebook Example (#555)
* Added Vector Similarity Notebook and updated the other algorithm notebooks to point to it as a Next Step. Added a PDF of supported algorithms and updated the Getting Started notebook to not use %status in favor of %opencypher_status * Update ChangeLog.md * Revisions for readability --------- Co-authored-by: Dave Bechberger <[email protected]> Co-authored-by: Michael Chin <[email protected]>
1 parent dc8cd17 commit bb96dd8

File tree

8 files changed

+404
-7
lines changed

8 files changed

+404
-7
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Starting with v1.31.6, this file will contain a record of major features and updates made in each release of graph-notebook.
44

55
## Upcoming
6+
- New Neptune Analytics notebook - Vector Similarity Algorithms ([Link to PR](https://github.com/aws/graph-notebook/pull/555))
7+
- Path: 02-Neptune-Analytics > 02-Graph-Algorithms > 06-Vector-Similarity-Algorithms
68
- Deprecated Python 3.7 support ([Link to PR](https://github.com/aws/graph-notebook/pull/551))
79
- Added unit abbreviation support to `--max-content-length` ([Link to PR](https://github.com/aws/graph-notebook/pull/553))
810

src/graph_notebook/notebooks/02-Neptune-Analytics/01-Getting-Started/01-Getting-Started-With-Neptune-Analytics.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@
7777
},
7878
"outputs": [],
7979
"source": [
80-
"%status"
80+
"%opencypher_status"
8181
]
8282
},
8383
{
8484
"cell_type": "markdown",
8585
"id": "8f3b5040-15be-474e-9b55-01b60945085d",
8686
"metadata": {},
8787
"source": [
88-
"Examining the response we should see that the graph status is currently `healthy` as well as some metadata such as versions and the start time for the cluster.\n",
88+
"Examining the response we should see that the graph returns an object that contains some information on currently running openCypher queries.\n",
8989
"\n",
9090
"## Getting Help\n",
9191
"You can get help at any time using the `--help` option.\n",
9292
"\n",
9393
"```\n",
94-
"%status --help\n",
94+
"%opencypher_status --help\n",
9595
"```\n",
9696
"\n",
9797
"**Note:** If you are using a cell magic the cell body needs at least one character in it for `--help` to work.\n",
@@ -429,4 +429,4 @@
429429
},
430430
"nbformat": 4,
431431
"nbformat_minor": 5
432-
}
432+
}

src/graph_notebook/notebooks/02-Neptune-Analytics/02-Graph-Algorithms/02-Path-Finding-Algorithms.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,9 @@
544544
"\n",
545545
"* [Community detection/clustering algorithms](./04-Community-Detection-Algorithms.ipynb)\n",
546546
"\n",
547-
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)"
547+
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)\n",
548+
"\n",
549+
"* [Vector Similarity algorithms](./06-Vector-Similarity-Algorithms.ipynb)"
548550
]
549551
}
550552
],

src/graph_notebook/notebooks/02-Neptune-Analytics/02-Graph-Algorithms/03-Centrality-Algorithms.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@
400400
"\n",
401401
"* [Community detection/clustering algorithms](./04-Community-Detection-Algorithms.ipynb)\n",
402402
"\n",
403-
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)"
403+
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)\n",
404+
"\n",
405+
"* [Vector Similarity algorithms](./06-Vector-Similarity-Algorithms.ipynb)"
404406
]
405407
}
406408
],

src/graph_notebook/notebooks/02-Neptune-Analytics/02-Graph-Algorithms/04-Community-Detection-Algorithms.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@
371371
"\n",
372372
"* [Centrality algorithms](./03-Centrality-Algorithms.ipynb)\n",
373373
"\n",
374-
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)"
374+
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)\n",
375+
"\n",
376+
"* [Vector Similarity algorithms](./06-Vector-Similarity-Algorithms.ipynb)"
375377
]
376378
}
377379
],

src/graph_notebook/notebooks/02-Neptune-Analytics/02-Graph-Algorithms/06-Vector-Similarity-Algorithms.ipynb

Lines changed: 388 additions & 0 deletions
Large diffs are not rendered by default.

test/unit/notebooks/test_validate_notebooks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_no_extra_notebooks(self):
5252
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/03-Centrality-Algorithms.ipynb',
5353
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/04-Community-Detection-Algorithms.ipynb',
5454
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/05-Similarity-Algorithms.ipynb',
55+
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/06-Vector-Similarity-Algorithms.ipynb',
5556
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/03-Sample-Use-Cases/Overview.ipynb',
5657
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/03-Sample-Use-Cases/01-FinTech/01-Fraud-Ring-Identifcation.ipynb',
5758
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/03-Sample-Use-Cases/02-Investment-Analysis/01-EDGAR-Competitior-Analysis-using-Knowledge-Graph-Graph-Algorithms-and-Vector-Search.ipynb',

0 commit comments

Comments
 (0)