Skip to content

Commit

Permalink
Fix operator name in retriever
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored Mar 24, 2024
1 parent 61d3e9c commit 61ed03d
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 61ed03d

Please sign in to comment.