I'm having Issues going from Bubble Database to OpneAi

Hi guys - My end goal is to upload a construction drawing PDF and have it sent to OpenAI where an assistant awaits fully prompted to help organize the notes on the drawings and dimensions on the layout.

What I’ve created so far is using the native bubble uploader to upload the file to the database, then Base64 encode that file (both are showing in the database.) I’m having difficulty then extracting that Base64 string to OpenAi through the API Connector.

Any help would be appreciated.

Thank you,

Marshall

What does your API call to OPENAi look like right now? (Hide your API Key before posting). Open AI’s docs suggest the image needs to be a URL, not Base64. So you’ll need to share the Bubble File URL with OPENAI to do what you want. https://platform.openai.com/docs/guides/vision