RAG-based AI medical assistant

Hello everyone! I need help. I’am just started using Dify and my project is AI assistant. I have a lot of medicine instructions (markdown-files). I created several knowledge bases. Every knowledge base is in own RAG block. I want to combine all RAG blocks and I use variable aggregator for it. Is it right. I don’t know how can I check it. I try to ask my LLM, what md-files it uses for answers, but I doubt that it is getting the data I provided. Can you explain me, what should I do? Thanks.

P.S. My project’s scheme is attached.

It seems like these knowledge bases can be combined and processed by a single knowledge retrieval node, right?

However, I’m a bit curious why the workflow performs knowledge retrieval first; the process seems a bit strange.

Thank you! Now I understood:) But why I can’t use the Variable Aggregator node for this purpose? Like logical AND