Azure serverless-based architecture to process files through a cognitive pipeline with real-time-communication callback