Skip to content

Commit

Permalink
Added Vector Similarity Notebook Example (#555)
Browse files Browse the repository at this point in the history
* 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 <dbechbe@amazon.com>
Co-authored-by: Michael Chin <mchin188@yahoo.com>
  • Loading branch information
3 people authored Jan 24, 2024
1 parent dc8cd17 commit bb96dd8
Show file tree
Hide file tree
Showing 8 changed files with 404 additions and 7 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Starting with v1.31.6, this file will contain a record of major features and updates made in each release of graph-notebook.

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,21 @@
},
"outputs": [],
"source": [
"%status"
"%opencypher_status"
]
},
{
"cell_type": "markdown",
"id": "8f3b5040-15be-474e-9b55-01b60945085d",
"metadata": {},
"source": [
"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",
"Examining the response we should see that the graph returns an object that contains some information on currently running openCypher queries.\n",
"\n",
"## Getting Help\n",
"You can get help at any time using the `--help` option.\n",
"\n",
"```\n",
"%status --help\n",
"%opencypher_status --help\n",
"```\n",
"\n",
"**Note:** If you are using a cell magic the cell body needs at least one character in it for `--help` to work.\n",
Expand Down Expand Up @@ -429,4 +429,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,9 @@
"\n",
"* [Community detection/clustering algorithms](./04-Community-Detection-Algorithms.ipynb)\n",
"\n",
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)"
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)\n",
"\n",
"* [Vector Similarity algorithms](./06-Vector-Similarity-Algorithms.ipynb)"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@
"\n",
"* [Community detection/clustering algorithms](./04-Community-Detection-Algorithms.ipynb)\n",
"\n",
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)"
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)\n",
"\n",
"* [Vector Similarity algorithms](./06-Vector-Similarity-Algorithms.ipynb)"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,9 @@
"\n",
"* [Centrality algorithms](./03-Centrality-Algorithms.ipynb)\n",
"\n",
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)"
"* [Similarity algorithms](./05-Similarity-Algorithms.ipynb)\n",
"\n",
"* [Vector Similarity algorithms](./06-Vector-Similarity-Algorithms.ipynb)"
]
}
],
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/unit/notebooks/test_validate_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def test_no_extra_notebooks(self):
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/03-Centrality-Algorithms.ipynb',
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/04-Community-Detection-Algorithms.ipynb',
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/05-Similarity-Algorithms.ipynb',
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/02-Graph-Algorithms/06-Vector-Similarity-Algorithms.ipynb',
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/03-Sample-Use-Cases/Overview.ipynb',
f'{NOTEBOOK_BASE_DIR}/02-Neptune-Analytics/03-Sample-Use-Cases/01-FinTech/01-Fraud-Ring-Identifcation.ipynb',
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',
Expand Down

0 comments on commit bb96dd8

Please sign in to comment.