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

Issue with Inputting Image Data in ChatGPT-vision Block #3

Closed
chienyutseng opened this issue Feb 27, 2024 · 4 comments
Closed

Issue with Inputting Image Data in ChatGPT-vision Block #3

chienyutseng opened this issue Feb 27, 2024 · 4 comments

Comments

@chienyutseng
Copy link

Hi,

I am experiencing issues with inputting image data into the chatGPT-vision block. I've attempted two different methods to provide image data: directly using an image URL and uploading a file after downloading the image. Unfortunately, both methods failed to execute the model successfully.

Steps to Reproduce

The recipe is simply built with chat input -> chatGPT-vision -> chat output

  1. Using an Image URL:

I provided the following image URL as input to the chat-vision block:

https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg
  1. Uploading an Image File:
    I downloaded the above image and then uploaded it as a file to the chat-vision block.

In both scenarios, the chat-vision block failed to process the image data.

  • upload with image file:
image
  • upload with image URL:
image

Additional Information

I have verified that the image URL works correctly by testing it locally with the OpenAI Python package, ensuring that the issue is not with the image format or accessibility.
This issue seems specific to the chat-vision block's handling of image data inputs.

@manu-sapiens
Copy link
Contributor

Thanks for investigating this with such details. I'm trying to repro but I'm getting [429] errors with all my requests to the vision API... but openAI is experiencing an outage today (Mar 6, 2024) on several end points, so it may not be related to what you were seeing! Will investigate once the outage is over.

@manu-sapiens
Copy link
Contributor

Well, there was a masking issue with 429 errors (due to the switch from postpaid to prepaid).
However, the real issue is that openAI changed the API for the vision module and no longer works if the "logprobs" parameter is passed to it. I've fixed it and will be pushing a new version of Omnitool.ai with this fix soon. I'll then close this bug.

@chienyutseng
Copy link
Author

Ok! Thanks for the reply, looking forward to the new version!

@manu-sapiens
Copy link
Contributor

Omnitool 1.03 is live, so this should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants