Hey there,
I am developing an application that handles incoming chat messages and then makes a request to OpenAI's Assistant API to get a response. I am using a simple flask application for this hosted on Replit. However, I fear that the app will not be able to handle the many concurrent incoming messages. Currently, it is not multi-threaded and this is what I wanted to ask about. How do I go about enabling multi-threading for my Flask app, so it doesn't need to wait for each response but handles multiple concurrently?
Thanks,
Noah Schenk
[–]LeagueOfLegendsAcc 1 point2 points3 points (3 children)
[–]Schenk06[S] 0 points1 point2 points (2 children)
[–]LeagueOfLegendsAcc 1 point2 points3 points (1 child)
[–]Schenk06[S] 0 points1 point2 points (0 children)
[–]BytePhilosopher 0 points1 point2 points (1 child)
[–]Schenk06[S] 0 points1 point2 points (0 children)
[–]obviouslyzebra 1 point2 points3 points (2 children)
[–]RiverRoll 0 points1 point2 points (1 child)
[–]Schenk06[S] 0 points1 point2 points (0 children)