We can take inspiration from this WIP PR https://github.com/danswer-ai/danswer/pull/2344
We can take inspiration from this WIP PR onyx-dot-app#2344