gpt4 book ai didi

azure - 批量上传时触发一次 Azure Function

转载 作者:行者123 更新时间:2023-12-03 02:20:47 24 4
gpt4 key购买 nike

我有一个 Azure 函数,我想在一次上传多个图像时触发该函数。问题在于 blob 触发器在上传单个文件时触发。这意味着我的函数会触发我在该 block 中上传的 x 个文件量。我想每次批量上传只触发一次我的函数。

有人知道这个问题的解决办法吗?

最诚挚的问候,

最佳答案

reduards很高兴听到您解决了您的问题。谢谢joelforsyth将您的建议作为答案发布以帮助其他社区成员。

"The trigger doesn't know when the last file is uploaded becausethough it is a bulk upload for you, it's still just a collection ofindividual files. You can upload a sort of manifest file after eachbulk upload and have the trigger based on that"

关于azure - 批量上传时触发一次 Azure Function,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69164878/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com