Spaces:
Running
on
T4
Running
on
T4
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +1 -0
auditqa/doc_process.py
CHANGED
|
@@ -95,6 +95,7 @@ def process_pdf():
|
|
| 95 |
|
| 96 |
def get_local_qdrant(name):
|
| 97 |
client = QdrantClient(path=f"./data/{name}")
|
|
|
|
| 98 |
embeddings = HuggingFaceEmbeddings(
|
| 99 |
model_kwargs = {'device': device},
|
| 100 |
encode_kwargs = {'normalize_embeddings': True},
|
|
|
|
| 95 |
|
| 96 |
def get_local_qdrant(name):
|
| 97 |
client = QdrantClient(path=f"./data/{name}")
|
| 98 |
+
print(client.get_collections())
|
| 99 |
embeddings = HuggingFaceEmbeddings(
|
| 100 |
model_kwargs = {'device': device},
|
| 101 |
encode_kwargs = {'normalize_embeddings': True},
|