Built-in T-SQL AI functions leveraging GPT-4 for enrichment. The user would like to set the LLM for AI Functions.
1 Comment
- sukkaurMicrosoft EmployeeStatus changed:NewtoCompleted
Please check this learn document - sp_invoke_external_rest_endpoint (Transact-SQL) - SQL Server | Microsoft Learn
Also, Here's a sample code
DECLARE @url nvarchar(4000) = '<URL for Chat GPT model that you have deployed>';DECLARE @payload nvarchar(max) = N'{"messages": [{"role": "system","content": "You are a sales assistant who helps customers find the right products for their question and activities."},{"role": "user","content": "The products available are the following: ' + <Data to ground your ask> + '"},{"role": "user","content": " ' + <add the prompt> + '"}]}';@url = @url,@method = 'POST',@payload = @payload,Credential = [<Add your Credential>],@timeout = 230,@response = @response output;select json_value(@response, '$.result.choices[0].message.content');
Recent ideas
How to remind the Global team to respond to ECNs with greater efficiency
Suggest Power BI send emails to each responsible person, and display how many days they have spent handling each ECN, compared to the required number of calendar days for completion.richardzhu1 hour agoNew MemberNew36Views5likes2CommentsAbility to Isolate Fabric Workspaces Across Browser Tabs and Windows - Power Bi Service
When opening a Fabric workspace in a new browser tab, I cant keep different workspaces open across multiple tabs. The workspace context appears to be shared between tabs. For example: Tab 1 = Dev...aashraysood8 hours agoMicrosoft EmployeeNew67Views4likes1CommentVertical Alignment Vertical Centering of table or matrix
Currently there is no capability to centre vertically a row when a column of URL type is inserted Can you give the option to centre vertically in this scenario? would be great for when we place ...elizabeth29 hours agoNew MemberNeeds Votes1.4KViews156likes8Comments