gentle-policeman-89141
07/01/2025, 10:44 AMPromise.all() to process in parallel instead of series):
// The user sent an image, so extract its content, save it, and transition
const imageUrl = "https://files.bpcontent.cloud/2025/07/01/10/20250701103803-BL3K25XM.png";
const imageDescription = await visionAgent.extractImageContent({ imageUrl });
workflow.description = (workflow.description || "") +
"\n===IMAGE_BREAK===\n" + imageDescription;
workflow.imageUrls = [imageUrl];
workflow.urlsDone = true;
workflow.transition({
reason: "you have saved the description",
condition: "you have saved the description"
});
Questions:
1) Can Botpress Actions invoke await visionAgent.extractImageContent(...) the same way Autonomous Nodes do?
2) If not, are there hidden config flags or internal endpoints to enable this?
Any other tips for offloading image extraction into Actions or speeding it up?
Thanks in advance!
https://cdn.discordapp.com/attachments/1389557349680676935/1389557351325110353/Screenshot_2025-07-01_at_11.44.11.png?ex=68650da1&is=6863bc21&hm=9d3e34311edb444b28ac3a1894ad8c3c4073d59cf1530354ad7087d520c7bade&