Skip to content

The agent engineering platform.

nit: pgvector python example notebook, fix variable reference (#5595)

C.J. Jameson4e71a1702b09
diff --git a/docs/modules/indexes/vectorstores/examples/pgvector.ipynb b/docs/modules/indexes/vectorstores/examples/pgvector.ipynb
index 3674828ba3..314e7f64d3 100644
--- a/docs/modules/indexes/vectorstores/examples/pgvector.ipynb
+++ b/docs/modules/indexes/vectorstores/examples/pgvector.ipynb
@@ -246,7 +246,7 @@
"outputs": [],
"source": [
"db = PGVector.from_documents(\n",
- " documents=data,\n",
+ " documents=docs,\n",
" embedding=embeddings,\n",
" collection_name=collection_name,\n",
" connection_string=connection_string,\n",