Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ client = QdrantClient(
|
|
| 114 |
# create our vector store with hybrid indexing enabled
|
| 115 |
# batch_size controls how many nodes are encoded with sparse vectors at once
|
| 116 |
vector_store = QdrantVectorStore(
|
| 117 |
-
"
|
| 118 |
sparse_doc_fn=sparse_doc_vectors,
|
| 119 |
sparse_query_fn=sparse_query_vectors,
|
| 120 |
)
|
|
|
|
| 114 |
# create our vector store with hybrid indexing enabled
|
| 115 |
# batch_size controls how many nodes are encoded with sparse vectors at once
|
| 116 |
vector_store = QdrantVectorStore(
|
| 117 |
+
"grade3", client=client, enable_hybrid=True, batch_size=20,force_disable_check_same_thread=True,
|
| 118 |
sparse_doc_fn=sparse_doc_vectors,
|
| 119 |
sparse_query_fn=sparse_query_vectors,
|
| 120 |
)
|