QuestionQ95

VerifiedImplement AI capabilities in database solutions

You have a SQL database in Microsoft Fabric that contains a table named dbo.Products. The table contains product catalog data.

You need to create a stored procedure that performs hybrid search and meets these requirements:

  • Use approximate nearest neighbor (ANN) to retrieve the top 20 candidate products.
  • Re-rank only candidates that also match a full-text query.
  • Generate the query embedding.

How should you complete the Transact-SQL code?

Community Discussion

No comments yet. Be the first to start the discussion!