Use Azure AI search as Data source for Chatbot

Clarion User 0 Reputation points
2024-03-12T07:12:36.1333333+00:00

I am creating a Chatbot to answer our private data which is stored in Azure SQL Database. I would like to be able to get answers from data in the database in the chatbot.

I have used AI search as Data source for the chat bot. Data from Azure SQL database is imported to the AI search Index.

I want to answer questions like 'Give me list of data of this year' and use a date field for that.

I have made the field Facetable which has given me the expected output, i.e. results based on that date field.

Alternate solution seems is vector search. But the path to implementation is not clear.

What is the correct approach to use AI search for chatbot along with Open AI do that it gives correct text based answers and accurate interval related answers.

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,339 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2024-03-13T10:10:25.4033333+00:00

    @Clarion User Thanks for reaching here! It sounds like you are using Azure AI Search as a data source for your chatbot, and you want to be able to answer questions based on data in your Azure SQL Database. You have made the date field facetable, which has given you the expected output, but you are also considering using vector search for more accurate interval-related answers.

    You may want to know that Vector search is an approach in information retrieval that stores numeric representations of content for search scenarios. Because the content is numeric rather than plain text, the search engine matches on vectors that are the most similar to the query, with no requirement for matching on exact terms.

    This article is a high-level introduction to vectors in Azure AI Search. It also explains integration with other Azure services and covers terminology and concepts related to vector search development.

    Let us know, for further query here.

    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.