#Right Approach

7 messages · Page 1 of 1 (latest)

glad brook
#

i want to build an app that takes in an input, then goes through a set of rules and follows them to identify certain patterns, and then gives out a detailed output based on a certain knowledge base. what should be my approach? is rag the right thing to do?

summer gull
#

If you knowledge base consists of a set of text files, or data that can be converted to text files, then yes, rag is a reasonable place to start.

glad brook
#

my knowledge base is in pdf file/docx file. and rag over that is quite simple. where i am getting stuck is when i need to get the answers not thru just keywords, but thru a set of rules, and each rule gives an answer. and then i want to combine all the answers from each rule to get the final answer.

answer to each rule can b as simple as a yes or no, and as complex as a 100 word paragraph

summer gull
glad brook
#

so u still think its doable via rag?

summer gull
#

It all depends on your rules and the combination procedures you need. rag is just a tool, but you may have to do a lot of engineering on top.

glad brook
#

do u hv any reference point where i can start?