Azure OpenAI does not pass document meta data to OpenAI

Andrew Murphy 0 Reputation points
2024-02-06T19:51:56.4433333+00:00

I am starting to use the OpenAI interface with my own data. As a data source, I am using a SQL database that sits on top of Azure Search service. I was getting poor results of my data when chatting. My data is a movie database with rich columns like title, keywords, crew, revenue, rating and more. However, when OpenAI receives it, it has no knowledge of those fields. See the chat response here. When I asked what fields were available in the retrieved documents it replied title and content only. This makes sense when I ask things like what is highest rated film it does not have any awareness of that rating field. It appears to be whatever columns you select for the index data field mapping, it just passes that right through without any of the column/meta data. So what should I do? I could put the column name ("ex. Rating:") as a prefix in the database values themselves? Anything else I can do to pass some of that rich meta-data over to OpenAI? Thanks much

AI_1User's image

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,342 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,082 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,603 questions
{count} votes

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.