r0ks0nR
BuildShip2y ago
9 replies
r0ks0n

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
image.png
Was this page helpful?