r0ks0n
r0ks0nβ€’5mo ago

r0ks0n - I have an API trigger for file upload ...

I have an API trigger for file upload which is then connected to ChatGPT Assistant. I have a system prompt and in user prompt I want to attach an uploaded image. Trying to do this all day, but getting error: 400 invalid type for 'messages[1].content': expected one of a string or array of objects, but got an object instead. Is someone who did this snd can share a screenshot how to insert image in prompt, I would be really thankful πŸ™
Solution:
@r0ks0n, perhaps you meant to use the "GPT Vision" node
No description
Jump to solution
9 Replies
Aurelia
Aureliaβ€’5mo ago
I can help you
r0ks0n
r0ks0nOPβ€’5mo ago
Yes? Please πŸ™‚
Aurelia
Aureliaβ€’5mo ago
can you invite me to your project?
r0ks0n
r0ks0nOPβ€’5mo ago
what is your email? πŸ™‚ or you can just send me an screenshot
r0ks0n
r0ks0nOPβ€’5mo ago
No description
r0ks0n
r0ks0nOPβ€’5mo ago
that's my flow
Solution
Luis
Luisβ€’5mo ago
@r0ks0n, perhaps you meant to use the "GPT Vision" node
No description
r0ks0n
r0ks0nOPβ€’5mo ago
tried, but this model is depreceated by OpenAI 😦
Luis
Luisβ€’5mo ago
Seems to work for me
No description