QuestionQ48
VerifiedImplement AI capabilities in database solutionsYou have an Azure SQL Database that contains a table named dbo.ManualChunks. dbo.ManualChunks contains product manuals.
A retrieval query already returns the top five matching chunks as nvarchar(max) text. You need to call an Azure OpenAI REST endpoint for chat completions. The request body must contain both the user question and the retrieved chunks.
You write the following Transact-SQL code.

What should you insert at line 22?
Community Discussion