Send files to Azure OPEN AI for processing and receive the desired response

Siddharth Desai 0 Reputation points
2024-10-23T16:23:36.05+00:00

Context: I've created the front-end on Bubble.io where users can upload multiple document files (a format - image, pdf, csv, excel, doc) in a session.

Goal: My goal is to send the uploaded document files to Azure OpenAI API and receive a json response which I'll populate on Bubble.io.

Question: How do I send multiple files to Azure OpenAI API for it to process and share the desired output that I can display on the client side application?

I don't want to extract all the contents of the uploaded files as that'll be too much pre-processing (We have already tried using Azure Function as one of the possible approaches but I've been getting an error while creating functions to fetch the files).

Thanks in advance. I'm not a developer would really appreciate your response.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,081 questions
Azure Azure Startups
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 18,676 Reputation points Moderator
    2024-10-24T18:56:59.0366667+00:00

    Hello @Siddharth Desai , Thanks for using Microsoft Q&A Platform.

    Azure OpenAI On Your Data supports these following file types and formats: .txt, .md, .html, .docx, .pptx and .pdf

    To upload your data, you'll need to establish a connection with a data source. When it comes to uploading files from local machine or from a blob storage account (preview), Azure AI Search is used. To learn more about the data source options I would suggest you refer to this documentation: Data source options

    Is this something you are looking for?

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.