Skip to content

Commit

Permalink
Merge pull request langchain-ai#252 from langchain-ai/nfcampos-patch-1
Browse files Browse the repository at this point in the history
Fix operator name in retriever
  • Loading branch information
nfcampos authored Mar 24, 2024
2 parents 61d3e9c + 61ed03d commit dd4b9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class Retrieval(BaseTool):

def get_retriever(assistant_id: str, thread_id: str):
return vstore.as_retriever(
search_kwargs={"filter": {"namespace": {"in": [assistant_id, thread_id]}}}
search_kwargs={"filter": {"namespace": {"$in": [assistant_id, thread_id]}}}
)


Expand Down

0 comments on commit dd4b9f7

Please sign in to comment.