Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs, community: aerospike docs update #28717

Merged
merged 30 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
060cd22
feat: Update aerospike-vector-search client to 1.0.0
Jul 19, 2024
e28361d
fix: Remove unsupported options from ini_options
Jul 19, 2024
3443f99
Merge branch 'master' into VEC-229-aerospike-1.0
Jul 19, 2024
cd5390d
Merge branch 'master' into VEC-229-aerospike-1.0
Jul 24, 2024
02b3db2
rename metadatas to labels
Jul 24, 2024
60da108
Merge branch 'langchain-ai:master' into VEC-229-aerospike-1.0
Jul 29, 2024
bfc679e
Vec 229 aerospike 1.0 (#2)
Jul 29, 2024
7c6d8bb
remove reference to proximus
Aug 9, 2024
84c5bae
Vec 229 aerospike 1.0 (#3)
Aug 9, 2024
7736590
update python client
Aug 15, 2024
0ff30e3
Merge branch 'master' into VEC-229-aerospike-1.0
Aug 15, 2024
61bfbfe
revert
Aug 23, 2024
8288527
Merge branch 'langchain-ai:master' into master
Sep 10, 2024
deb36b1
VEC-308 upgrade to 2.0.0 python client in notebook
Sep 10, 2024
abb2e88
fix
Sep 10, 2024
697a125
revert
Sep 10, 2024
323a0ff
revert
Sep 10, 2024
8e0b732
minimize diff
Sep 10, 2024
caf071b
minimize diff
Sep 10, 2024
53dd529
Merge branch 'master' into VEC-308-0.10.0
Sep 10, 2024
202c5b6
fix linter
Sep 10, 2024
f6066bc
revert pytoml
Sep 10, 2024
baaa8f1
revert pyproject.toml
Sep 10, 2024
73d237e
fix lint
Sep 10, 2024
bd6e4a3
rm proximus name
Sep 25, 2024
22c57a5
chore: vec-411 update notebook to use Python client 3.0.0 and test do…
dwelch-spike Oct 29, 2024
3f81c8c
use AVS Python client 3.0.1 in vector store notebook
dwelch-spike Oct 30, 2024
99976a9
Merge branch 'master' into VEC-308-0.10.0
efriis Dec 14, 2024
e4a0ef7
x
efriis Dec 14, 2024
ea63e2e
x
efriis Dec 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/docs/integrations/vectorstores/aerospike.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"metadata": {},
"outputs": [],
"source": [
"PROXIMUS_HOST = \"<avs-ip>\"\n",
"PROXIMUS_PORT = 5000"
"AVS_HOST = \"<avs-ip>\"\n",
"AVS_PORT = 5000"
]
},
{
Expand All @@ -51,7 +51,7 @@
},
"outputs": [],
"source": [
"!pip install --upgrade --quiet aerospike-vector-search==0.6.1 langchain-community sentence-transformers langchain"
"!pip install --upgrade --quiet aerospike-vector-search==3.0.1 langchain-community sentence-transformers langchain"
]
},
{
Expand Down Expand Up @@ -369,7 +369,7 @@
"from langchain_community.vectorstores import Aerospike\n",
"\n",
"# Here we are using the AVS host and port you configured earlier\n",
"seed = HostPort(host=PROXIMUS_HOST, port=PROXIMUS_PORT)\n",
"seed = HostPort(host=AVS_HOST, port=AVS_PORT)\n",
"\n",
"# The namespace of where to place our vectors. This should match the vector configured in your docstore.conf file.\n",
"NAMESPACE = \"test\"\n",
Expand Down Expand Up @@ -401,7 +401,7 @@
" vector_field=VECTOR_KEY,\n",
" vector_distance_metric=MODEL_DISTANCE_CALC,\n",
" dimensions=MODEL_DIM,\n",
" index_meta_data={\n",
" index_labels={\n",
" \"model\": \"miniLM-L6-v2\",\n",
" \"date\": \"05/04/2024\",\n",
" \"dim\": str(MODEL_DIM),\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def add_texts(

Args:
texts: Iterable of strings to add to the vectorstore.
metadatas: Optional list of metadatas associated with the texts.
metadatas: Optional list of metadata associated with the texts.
ids: Optional list of ids to associate with the texts.
set_name: Optional aerospike set name to add the texts to.
batch_size: Batch size to use when adding the texts to the vectorstore.
Expand Down
Loading