16
Views
5
Comments
Solved
[OpenAI API Wrapper] Pass URL to the ChatGPT
openai-api
Service icon
Forge asset by Federico Navarrete
Application Type
Reactive
Service Studio Version
11.54.56 (Build 63232)

Hi All, 

I want to pass a image URL to the ChatGPT, to recognize what's on it.

I add value to content:

I get a response like "As an AI, I can't view images directly. Please describe the image or ask another type of question! ". 

But If I test the same code in REST API, it gives the correct answer:

Help me fix it, please.

Best regards, 

Thanks in advance. 

2023-10-02 06-54-18
Liubov Davydenko
Solution

Hi, Federico,

I had to change the structure of the request to get it passed to chatGPT correctly:


2019-01-07 16-04-16
Siya
 
MVP

Please enable Full logging and see exactly what message is being send and compare it with a working request.

2023-10-02 06-54-18
Liubov Davydenko

Thank you. This helped me find the error.

2024-03-03 23-22-33
Federico Navarrete

Hi Liubov, can you share with us how did you fix it? Thank you.

2023-10-02 06-54-18
Liubov Davydenko
Solution

Hi, Federico,

I had to change the structure of the request to get it passed to chatGPT correctly:


2024-03-03 23-22-33
Federico Navarrete

Than you for sharing it. It'll be nice if you could review the plugging if you can :). 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.