r0ks0n
r0ks0nβ€’4mo 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β€’4mo ago
I can help you
r0ks0n
r0ks0nβ€’4mo ago
Yes? Please πŸ™‚
Aurelia
Aureliaβ€’4mo ago
can you invite me to your project?
r0ks0n
r0ks0nβ€’4mo ago
what is your email? πŸ™‚ or you can just send me an screenshot
r0ks0n
r0ks0nβ€’4mo ago
No description
r0ks0n
r0ks0nβ€’4mo ago
that's my flow
Solution
Luis
Luisβ€’4mo ago
@r0ks0n, perhaps you meant to use the "GPT Vision" node
No description
r0ks0n
r0ks0nβ€’4mo ago
tried, but this model is depreceated by OpenAI 😦
Luis
Luisβ€’4mo ago
Seems to work for me
No description