New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AI-102 Topic 1 Question 8 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 8
Topic #: 1
[All AI-102 Questions]

You are developing the smart e-commerce project.

You need to implement autocompletion as part of the Cognitive Search solution.

Which three actions should you perform? Each correct answer presents part of the solution. (Choose three.)

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: A, B, F, F

Scenario: Support autocompletion and autosuggestion based on all product name variants.

A: Call a suggester-enabled query, in the form of a Suggestion request or Autocomplete request, using an API. API usage is illustrated in the following call to the Autocomplete REST API.

POST /indexes/myxboxgames/docs/autocomplete?search&api-version=2020-06-30

{

'search': 'minecraf',

'suggesterName': 'sg'

}

B: In Azure Cognitive Search, typeahead or 'search-as-you-type' is enabled through a suggester. A suggester provides a list of fields that undergo additional tokenization, generating prefix sequences to support matches on partial terms. For example, a suggester that includes a City field with a value for 'Seattle' will have prefix combinations of 'sea', 'seat', 'seatt', and 'seattl' to support typeahead.


https://docs.microsoft.com/en-us/azure/search/index-add-suggesters

Contribute your Thoughts:

Dennis Lee
3 years ago
it's right
upvoted 1 times
...

Save Cancel