Skip to content

Commit

Permalink
chore: var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijietti committed Mar 15, 2024
1 parent bcbe385 commit a7d819c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/community/langchain_community/vectorstores/qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,9 @@ async def asimilarity_search_with_score(
Returns:
List of documents most similar to the query text and distance for each.
"""
embedding = await self._aembed_query(query)
query_embedding = await self._aembed_query(query)
return await self.asimilarity_search_with_score_by_vector(
embedding,
query_embedding,
k,
filter=filter,
search_params=search_params,
Expand Down

0 comments on commit a7d819c

Please sign in to comment.