Seeking Clarity on Uploading Data Using JavaScript for Azure OpenAI Integration

Su Myat Hlaing 180 Reputation points
2024-05-06T09:05:20.7933333+00:00

https://learn.microsoft.com/en-us/azure/ai-services/openai/use-your-data-quickstart?tabs=command-line%2Cpython&pivots=programming-language-javascript

I've gone through the guide on how to engage in conversations using my own data with Azure OpenAI. However, I'm uncertain about the process of uploading my own data via JavaScript code instead of utilizing Azure OpenAI Studio.

I currently have Azure Blob Storage set up. Would I need to employ JavaScript to upload files to this storage, or is there another method I should consider?

Thank you!

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

Accepted answer
  1. Charlie Wei 3,335 Reputation points
    2024-05-06T11:14:50.91+00:00

    Hello Su Myat Hlaing,

    Your understanding is correct. For the usage of Azure OpenAI on Your Data through programming, you can upload files using the Azure Blob Storage client library for Java.

    Additionally, you might also need to programmatically control the operation of the Azure AI Search indexer. The indexer will be responsible for reading new data from the Blob and writing it into Azure AI Search. You can refer to this Microsoft Learn document for more information.

    Best regards,
    Charlie


    If you find my response helpful, please consider accepting this answer and voting yes to support the community. Thank you!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.