Skip to content

Commit d808e03

Browse files
authored
INTPYTHON-587 Fix Syntax Error in docstring (#118)
1 parent 2296180 commit d808e03

File tree

1 file changed

+1
-1
lines changed
  • libs/langchain-mongodb/langchain_mongodb

1 file changed

+1
-1
lines changed

libs/langchain-mongodb/langchain_mongodb/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def maximal_marginal_relevance(
6868
lambda_mult: float = 0.5,
6969
k: int = 4,
7070
) -> List[int]:
71-
"""Compute Maximal Marginal Relevance (MMR).
71+
r"""Compute Maximal Marginal Relevance (MMR).
7272
7373
MMR is a technique used to select documents that are both relevant to the query
7474
and diverse among themselves. This function returns the indices

0 commit comments

Comments
 (0)