please correct me if I am wong,
CutomeRetriever is for only for selecting particular nodes.
from what I see in CustomRetriever (
https://github.com/jerryjliu/llama_index/blob/main/examples/query/CustomRetrievers.ipynb)
in CustomRetriever we need to implement
init method and _retrieve method
the _retrieve returns back the node id overwhich the query is to be done.
but the mechanism to decide which nodes to select is not intelligenly selected. it is rule based as far as I see. so how can it replace langchain agents. π€
cc: @jerryjliu0