Hi, I would need to implement a custom rag pipeline, but using documents stored in the knowledge . How can I achieve it ?