PPTX loader usage in azure function app is restarting the server repeatedly. #140257
Replies: 1 comment
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
We are working on reading of the pptx file content and trying to frame the custom request required to call the client API. In this place while we are using langchain package in the node: azure function app.
We are having one package called pptxloader to validate the blob or filepath of pptx file. Read the pptx file content via officeParser npm package dependecny. It will create the temp folder/directory and add the pptx slide wise and after loading the documents is completed. In the flow the officeParserTemp directory will get deleted.
At that specific time each and every step like deleting one by one temp slides. The function app will be sending a signal to restart the function app. Everytime the new instance is created. So, Before sending response to API trigger. The function app is restarted and the API request will be failing with 502 gateway time out error.
I have referred below urls in my research but nothing helps in resolving the error.
langchain-ai/langchainjs#4673
https://python.langchain.com/docs/integrations/document_loaders/microsoft_powerpoint/
Beta Was this translation helpful? Give feedback.
All reactions