Skip to content

Commit f304fb7

Browse files
committed
update file format
1 parent e1bd611 commit f304fb7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/neo4j_graphrag/retrievers/external/qdrant/qdrant.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(
9191
collection_name: str,
9292
id_property_neo4j: str,
9393
id_property_external: str = "id",
94-
using:Optional[str] = None,
94+
using: Optional[str] = None,
9595
embedder: Optional[Embedder] = None,
9696
return_properties: Optional[list[str]] = None,
9797
retrieval_query: Optional[str] = None,
@@ -206,7 +206,7 @@ def get_search_results(
206206

207207
points = self.client.query_points(
208208
collection_name=self.collection_name,
209-
query= query_vector,
209+
query=query_vector,
210210
using=self.using,
211211
limit=top_k,
212212
with_payload=[self.id_property_external],
@@ -241,4 +241,3 @@ def get_search_results(
241241
)
242242

243243
return RawSearchResult(records=records)
244-

src/neo4j_graphrag/retrievers/external/qdrant/types.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ class QdrantNeo4jRetrieverModel(BaseModel):
5454
retrieval_query: Optional[str] = None
5555
result_formatter: Optional[Callable[[neo4j.Record], RetrieverResultItem]] = None
5656
neo4j_database: Optional[str] = None
57-

0 commit comments

Comments
 (0)