Fixes typo in Vectara.similarity_search (#6277)

Fixes a simple typo.

@hwchase17
@dev2049

Co-authored-by: Georgian Sarghi <georgian.sarghi@gmail.com>
This commit is contained in:
georgian 2023-06-19 02:48:54 +02:00 committed by GitHub
parent 112695e4da
commit e64bafed3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ class Vectara(VectorStore):
docs_and_scores = self.similarity_search_with_score( docs_and_scores = self.similarity_search_with_score(
query, query,
k=k, k=k,
lamnbda_val=lambda_val, lambda_val=lambda_val,
filter=filter, filter=filter,
n_sentence_context=n_sentence_context, n_sentence_context=n_sentence_context,
**kwargs, **kwargs,