Skip to content

Commit

Permalink
properly install the aerospike-vector-search client in jupyter notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Aug 15, 2024
1 parent d02b8d8 commit 420da15
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions basic-search/basic_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
{
"cell_type": "markdown",
"id": "c60c757f-2f3a-4a84-9a8f-09adfc1d3d72",
"metadata": {
"jp-MarkdownHeadingCollapsed": true
},
"metadata": {},
"source": [
"AVS provides a gRPC API and a Python client that developers can use to create AI applications leveraging the search capability.\n",
"\n",
Expand All @@ -14,21 +12,35 @@
"- Python 3.9 or higher\n",
"- pip 9.0.1 or higher\n",
"\n",
"## Importing Python clients\n",
"## Installing the Aerospike Vector Search Client\n",
"\n",
"Install the AVS package from PyPI:\n",
"\n",
"```\n",
"pip install aerospike-vector-search\n",
"```\n",
"The Aerospike Vector Search Python client is distributed on pypi so you can install directly with pip."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2b5c38d3-2d9d-4565-8a56-d69ca02bb008",
"metadata": {},
"outputs": [],
"source": [
"!pip install aerospike-vector-search"
]
},
{
"cell_type": "markdown",
"id": "bb76a7c9-0428-43c7-84c5-e36c727f338e",
"metadata": {},
"source": [
"## Importing Python clients\n",
"\n",
"The client package provides two separate clients:\n",
"The aerospike-vector-search package provides two separate clients:\n",
"\n",
"* **avs_client** performs database operations with vector data. The client supports Hierarchical Navigable Small World (HNSW) vector searches, allowing users to find vectors similar to a given query vector within an index.\n",
"\n",
"* **avs_admin_client** conducts AVS administrative operations, such as creating indexes, querying index information, and dropping indexes.\n",
"\n",
"The client package also provides a `types` module that contains classes necessary for interacting with the various client APIs."
"The package also provides a `types` module that contains classes necessary for interacting with the various client APIs."
]
},
{
Expand Down

0 comments on commit 420da15

Please sign in to comment.