How to put user-uploaded files into a knowledge base?

This requirement might not be mainstream, but it is actually needed.

I hope to let users maintain the knowledge base themselves. Suppose a user uploads a file a.docx, and then asks: “Help me put this file into knowledge base A.”

I envision using LLM + multimodal capabilities to store this file in the knowledge base and automatically embed it. Is this feasible? Or are there other similar implementation plans?