Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> can the RAG pattern be useful here?

From your questions it looks like you are only interesting in the R part. RAG implies the retrieval step is then used to augment a user prompt.

To answer 1, a good heuristic would be "can a human reasonably familiar with the terminology answer questions about the meaning?" If a human would need extra info to make sense of your data then so would an LLM.

This is where RAG typically comes in. For example if you had documentation about ClassName and FunctionName, a retrieval model might be able to find the most likely candidates based on a file containing full definitions of these classes and function, then pass that info into the LLM appended to your query.

For 2: It depends if the fire house is the query or the data. If you have queries coming in very quickly, then you might be able to if your firehose doesn't have too much volume since you can batch requests and get responses fairly quickly.

If the fire hose is the data going into the vector DB then you might have some difficultly inserting and indexing the data fast enough.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: