Skip to content

Commit 8c410cf

Browse files
committed
fix(qdrant_rm): forward can be called without specifying k
1 parent 696f2d2 commit 8c410cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspy/retrieve/qdrant_rm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(
5353

5454
super().__init__(k=k)
5555

56-
def forward(self, query_or_queries: Union[str, List[str]], k: Optional[int],**kwargs) -> dspy.Prediction:
56+
def forward(self, query_or_queries: Union[str, List[str]], k: Optional[int] = None,**kwargs) -> dspy.Prediction:
5757
"""Search with Qdrant for self.k top passages for query
5858
5959
Args:

0 commit comments

Comments
 (0)