Find answers from the community

Updated 2 weeks ago

Reasoning-Based Retrieval Approaches in Language Models

hi all -

is there some kind of rag which is not based on similarity but actually has a reasoning layer? So the model knows what data it has available to it and reasons which parts it should retrieve.

is that covered here or would have be done via chaining & prompting?
W
t
L
5 comments
Reasoning layer would make sense if you have multiple query_engine and you want the user query to go the engine side which matches the description.
Do you have something like this ?
well basically I have a database of startup founder quotes/ insight/ advice

users ask advice e.g. how do I stay motivated

in that case, the insights most relevant to the user input are not necessarily the best answers to the question

so I would just like to experiment if the model could choose which insights to retrieve if it had some understanding of the database

but i guess you're saying that's not possible rn? @WhiteFang_Jr
If its a database, you could prompt the LLM to do some kind of text 2 sql and just use native SQL operations to explore the database
Add a reply
Sign up and join the conversation on Discord