mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-13 14:50:00 +00:00
Make format
This commit is contained in:
parent
ac7e73a531
commit
98265ea29d
@ -278,9 +278,10 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_core.documents import Document\n",
|
||||
"import uuid\n",
|
||||
"\n",
|
||||
"from langchain_core.documents import Document\n",
|
||||
"\n",
|
||||
"docs = [\n",
|
||||
" Document(\n",
|
||||
" id=str(uuid.uuid4()),\n",
|
||||
@ -400,7 +401,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_postgres.v2.indexes import IVFFlatIndex, HNSWIndex\n",
|
||||
"from langchain_postgres.v2.indexes import HNSWIndex, IVFFlatIndex\n",
|
||||
"\n",
|
||||
"index = IVFFlatIndex()\n",
|
||||
"await store.aapply_vector_index(index)\n",
|
||||
@ -461,7 +462,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"await store.adrop_vector_index() # Delete index using the default name\n",
|
||||
"await store.adrop_vector_index(\"my-hnsw-index\") # Delete index using the index name"
|
||||
"await store.adrop_vector_index(\"my-hnsw-index\") # Delete index using the index name"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -10,8 +10,8 @@ from langchain_couchbase import CouchbaseSearchVectorStore
|
||||
from langchain_milvus import Milvus
|
||||
from langchain_mongodb import MongoDBAtlasVectorSearch
|
||||
from langchain_pinecone import PineconeVectorStore
|
||||
from langchain_qdrant import QdrantVectorStore
|
||||
from langchain_postgres import PGVectorStore
|
||||
from langchain_qdrant import QdrantVectorStore
|
||||
|
||||
vectorstore_list = [
|
||||
"FAISS",
|
||||
|
Loading…
Reference in New Issue
Block a user