Razor
Razor

Reputation: 23

Natural language with azure search

We are building a search engine wherein the user can type something like "I want the best xyz near me".
or some thing like "I want the top 3 people in xyz from abc(location)" is this sort of arrangement supported by azure search.

Thanks

Upvotes: 1

Views: 575

Answers (3)

Juan Pablo Lorandi
Juan Pablo Lorandi

Reputation: 11

You can also leverage other NLU tools like IBM's Watson NLU or the more affordable myNLU (https://mynlu.com). You will need to train their intents/entities, which should give you more control overall on how your solution works.

Upvotes: 0

maxhoefler
maxhoefler

Reputation: 136

As mentioned by Liam, Azure Search does not have an intent understanding system. Maybe you should implement the Logic in your Project and send a custom search query to your azure search instance.

There are many ways to design your queries to reach the desired behaviour. E.g. you can set the "$top=#" parameter to 3 to retrieve the three results with the highest search score.

You can find more examples here: https://learn.microsoft.com/en-us/rest/api/searchservice/search-documents

Upvotes: 0

Liam Cavanagh - MSFT
Liam Cavanagh - MSFT

Reputation: 1464

Azure Search does not have an intent understanding system as you are asking for here. For example, one intent you are looking for is (near me) which most likely means you want to take the geolocation of the user and then do an Azure Search query and perhaps weighting results that are close to this location.

To do this, one option is to leverage LUIS (Azure - Language Understanding and Intent Service) where you can build out this intent system which are then mapped to Azure Search queries.

Liam

Upvotes: 1

Related Questions