Skip to content

Commit f6dd297

Browse files
committed
Update docs
1 parent c3ac328 commit f6dd297

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
lines changed

‎examples/pg_vectorstore.ipynb‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,26 @@
493493
"source": [
494494
"await vectorstore.adrop_vector_index() # Drop index using default name"
495495
]
496+
},
497+
{
498+
"cell_type": "markdown",
499+
"metadata": {},
500+
"source": [
501+
"## Clean up\n",
502+
"\n",
503+
"**⚠️ WARNING: this can not be undone**\n",
504+
"\n",
505+
"Drop the vector store table."
506+
]
507+
},
508+
{
509+
"cell_type": "code",
510+
"execution_count": null,
511+
"metadata": {},
512+
"outputs": [],
513+
"source": [
514+
"await pg_engine.adrop_table(TABLE_NAME)"
515+
]
496516
}
497517
],
498518
"metadata": {

‎examples/pg_vectorstore_how_to.ipynb‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -691,12 +691,18 @@
691691
"source": [
692692
"## Clean up\n",
693693
"\n",
694-
"#### ⚠️ WARNING: this can not be undone\n",
695-
"In a [`psql`](https://www.postgresql.org/docs/current/app-psql.html) client, run:\n",
694+
"**⚠️ WARNING: this can not be undone**\n",
696695
"\n",
697-
"```\n",
698-
"DROP TABLE <TABLE_NAME>;\n",
699-
"```"
696+
"Drop the vector store table."
697+
]
698+
},
699+
{
700+
"cell_type": "code",
701+
"execution_count": null,
702+
"metadata": {},
703+
"outputs": [],
704+
"source": [
705+
"await pg_engine.adrop_table(TABLE_NAME)"
700706
]
701707
}
702708
],

0 commit comments

Comments
 (0)