Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow Batch run CSV template does not include include template details for images #4261

Open
4 tasks done
sigvardt opened this issue May 10, 2024 · 1 comment
Open
4 tasks done
Labels
🐞 bug Something isn't working

Comments

@sigvardt
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.7

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Make a workflow with image vision features enabled
  2. Connect a vision model
  3. Publish app and go to "Run App"
  4. Go to Run Batch
  5. Download template. Template does not include details on how to batch run with images
image image

✔️ Expected Behavior

  • Expected template to reflect the same variables as the input variables in the "Run once" variables form

❌ Actual Behavior

  • Image missing from CSV template
Copy link

dosubot bot commented May 10, 2024

The issue you're experiencing with the Workflow Batch run CSV template not including details for images, despite setting up a workflow with image vision features, is indeed unexpected. The template should ideally reflect all input variables, including those for image uploads, as seen in the "Run once" form.

This problem likely arises from the way the system handles file uploads in batch operations. Handling file uploads, especially images, through a CSV template introduces complexities, such as how to represent and manage file data for multiple uploads. The system's current setup might not support including image upload fields in the CSV template due to these challenges.

To address this, a workaround involves adjusting the workflow's handling of image files to ensure they are properly formatted and processed. This might require custom handling within the workflow's logic to accommodate image inputs in batch runs, potentially by treating them as special cases or using alternative methods for including image data.

Unfortunately, there are no immediate fixes or updates available for this issue in Dify version 0.6.7. It seems to be an oversight in the current version's functionality regarding batch processing with images. For now, exploring alternative methods to include image data in your batch operations or awaiting future updates that might address this limitation would be advisable.

If you need further assistance or have more questions, feel free to ask.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@dosubot dosubot bot added the 🐞 bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant