mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-06 07:04:01 +00:00
fix chroma _similarity_search_with_relevance_scores missing kwargs
… (#6708)
Issue: https://github.com/hwchase17/langchain/issues/6707
This commit is contained in:
parent
d89e10d361
commit
408c8d0178
@ -228,7 +228,7 @@ class Chroma(VectorStore):
|
|||||||
k: int = 4,
|
k: int = 4,
|
||||||
**kwargs: Any,
|
**kwargs: Any,
|
||||||
) -> List[Tuple[Document, float]]:
|
) -> List[Tuple[Document, float]]:
|
||||||
return self.similarity_search_with_score(query, k)
|
return self.similarity_search_with_score(query, k, **kwargs)
|
||||||
|
|
||||||
def max_marginal_relevance_search_by_vector(
|
def max_marginal_relevance_search_by_vector(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user