pipelines icon indicating copy to clipboard operation
pipelines copied to clipboard

Disable automatic RAG for a particular pipeline

Open savvaki opened this issue 9 months ago • 3 comments

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.

savvaki avatar Mar 28 '25 05:03 savvaki

This could be a very interesting feature, any news ?

RAPHCVR avatar Apr 30 '25 11:04 RAPHCVR

any news?

nickyisadog avatar Jun 18 '25 06:06 nickyisadog

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...

thesantiagosp avatar Jul 12 '25 08:07 thesantiagosp