AttributeError: type object 'retriever' has no attribute 'retrieve'
, typically means that the object retriever
does not have a method called retrieve
. BaseRetriever
or one of its subclasses. These classes do have a retrieve
method. For example, in the CustomRetriever class () example, the retrieve
method is defined as _retrieve
.``
Please ensure that your
retriever object is an instance of a class that has a
retrieve` method. If you're still having trouble, please refer to the LlamaIndex documentation () for more information.