Replies: 1 comment
-
Hey @dkbs12, you should not be using BaseRetriever directly. Please use one of the implementations. Have a look at the documentation for all the details: https://docs.haystack.deepset.ai/docs/retriever |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When I was run the BaseRetriever, I faced the Typeerror as below;
retriever.run(query="Who is the father of Arya Stark?", top_k=5)
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in <cell line: 1>:1 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: BaseRetriever.run() missing 1 required positional argument: 'root_node'
What is root_node and how can I input the root_node?
Second, I'm trying to filter the result of the above retriever by score.
Is there any method to use the argument 'filters' of BaseRetriever to solve this problem?
I appreciate if you would give me any advice.
Beta Was this translation helpful? Give feedback.
All reactions