This commit is contained in:
Bagatur
2023-08-31 00:43:34 -07:00
parent 8c4e29240c
commit b1644bc9ad
3 changed files with 5 additions and 13 deletions

View File

@@ -89,7 +89,7 @@
"metadata": {},
"outputs": [],
"source": [
"vector_db = TencentVectorDB(embedding_function=embeddings, connection_params=conn_params)\n",
"vector_db = TencentVectorDB(embeddings, conn_params)\n",
"\n",
"vector_db.add_texts([\"Ankush went to Princeton\"])\n",
"query = \"Where did Ankush go to college?\"\n",
@@ -114,7 +114,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.1"
}
},
"nbformat": 4,