Disable automatic RAG for a particular pipeline
Description:
When a large file is uploaded, segmented retrieval RAG is set by default (as seen in this issue here)
I want to disable RAG entirely when a user has a conversation with my pipeline. Currently, the only options are disabling globally, or manually clicking the attachment after uploading the file. The problem is that I don't need RAG for my pipeline since it wastes time while the file is being processed.
I have tried the following:
class Pipeline:
def __init__(self):
self.file_handler = True # Does not work
Any advice would be appreciated.
This could be a very interesting feature, any news ?
any news?
This is something needed. I don't need to waste resources before I can successfully switch to full context mode (and the wasted time).
Having the option to enable full mode or RAG mode by default (with the option to switch back in the chat) would be interesting. For the knowledge library is interesting to have the RAG mode, but in the chat I would like to pass the full document without the need of processing it before I can send it...