Find answers from the community

Updated 3 months ago

What s the difference between a

What's the difference between a retriever and a query engine in terms of functionality? Can I assume the retriever just simply grabs context without ranking?
L
L
8 comments
exactly, a retriver will just fetch nodes for a given query πŸ‘
I see and what does setting the retriever mode to LLM do? I assume it chooses where it pulls from between the local index or the LLM itself?
That mode (for the list index) uses the LLM to select which nodes to use to answer the query
I think it's a little beta tbh haha I didn't realize that was there
I see, yeah I was just looking around on the high level class retriever docs
Oh also, one more question but do I need to always init the NodeParser between loading docs and constructing the index?
I think only if you are customizing the node parser, otherwise it gets setup automatically under the hood
Add a reply
Sign up and join the conversation on Discord