AJ ZAFAR

Architecting intelligence. Delivering impact.

Azure4 min read

Azure OpenAI Service on your data is now in public preview

Azure OpenAI Service on your data lets ChatGPT and GPT-4 answer from your own content without fine-tuning. How it works and what to sort out before you connect data.

The Azure OpenAI Studio chat playground with the Add your data preview tab connected to an Azure Cognitive Search index

“Can we have ChatGPT, but for our own documents?” Since the start of the year that has been the most common generative AI request I hear from customers. Until now the answer has involved building your own retrieval pipeline. On 19 June Microsoft released Azure OpenAI Service on your data in public preview, which makes that request a lot easier to try.

What was announced

Microsoft first showed this capability at Build in May and said a public preview would follow in June. The public preview announcement on the Azure AI blog says:

  • You can run supported models, ChatGPT (gpt-35-turbo) and GPT-4, over your own data without training or fine-tuning a model.
  • Data can come from an Azure Cognitive Search index, an Azure Blob storage container, or local files uploaded in the studio. Supported file types include text, Markdown, HTML, Word, PowerPoint and PDF, and uploaded files are ingested into a Cognitive Search index.
  • You can try it in the chat playground in Azure OpenAI Studio, then deploy it as a web app.
  • Responses include citations back to the source documents.

You need an approved Azure OpenAI Service application and a gpt-35-turbo or gpt-4 deployment to use it.

Add data wizard in Azure OpenAI Studio with options to upload files, use Azure Blob storage or connect an Azure Cognitive Search index
The Add data wizard connects the model to an existing Cognitive Search index, a Blob storage container or uploaded files.Image: Microsoft Learn (CC BY 4.0)

How it works

The documentation explains that this is retrieval augmented generation rather than training. When a user asks a question, the service retrieves relevant content from your search index and adds it to the prompt, then the model writes an answer using that content and cites it.

A few details from the preview documentation stood out to me:

  • There is a “Limit responses to your data content” option, which is on by default, so the model is steered towards answering only from your content.
  • The system message is limited, and long system messages are truncated, so you have less room for detailed instructions than in a normal chat deployment.
  • Microsoft provides a data preparation script for larger or more complex sets of documents, rather than relying only on uploads in the studio.

What it means for organisations

A faster route to an internal knowledge assistant

For a lot of customers, the barrier to a useful internal assistant has not been the model. It has been the plumbing: chunking documents, building an index, writing the retrieval step and wiring up citations. On your data takes much of that away, which means you can get a working pilot in front of users quickly and spend your time on the content and the experience.

Azure OpenAI Studio chat playground showing the Add your data preview tab, a connected Azure Cognitive Search index and the option to limit responses to your data content
The chat playground shows the connected data source and the option to limit responses to your data.Image: Microsoft Learn (CC BY 4.0)

The index is now your security boundary

This is the part I would spend most time on. The assistant can only be as safe as the index behind it. If you push a whole file share into Cognitive Search, anything in that index can turn up in an answer, whoever is asking. Before connecting sensitive content:

  • Classify the documents and decide what is in scope.
  • Start with content everyone in the pilot group is allowed to see.
  • Think about how you will handle content that should only be visible to some users, because a simple index does not know who is asking.
  • Agree how the index will be kept up to date as documents change.

Answers still need checking

Citations help a great deal, because users can see where an answer came from. They do not remove the need to test. I would build a set of real questions with known answers, run them regularly, and involve the content owners in reviewing the results.

Preview means preview

This is a public preview, available to customers with approved Azure OpenAI access. I would use it for pilots and proofs of concept now, and keep an eye on how it changes before planning anything business critical.

↑↓ navigateEnter openEsc close