Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9d49a2

Browse filesBrowse files
the url is missing /embeddings
1 parent 44d3b45 commit d9d49a2
Copy full SHA for d9d49a2

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎vector-embeddings/03-find-similar-articles.sql

Copy file name to clipboardExpand all lines: vector-embeddings/03-find-similar-articles.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ declare @inputText nvarchar(max) = 'the foundation series by isaac asimov';
1616
declare @retval int, @response nvarchar(max);
1717
declare @payload nvarchar(max) = json_object('input': @inputText);
1818
exec @retval = sp_invoke_external_rest_endpoint
19-
@url = 'https://<your-app-name>.openai.azure.com/openai/deployments/<deployment-id>?api-version=2023-03-15-preview',
19+
@url = 'https://<your-app-name>.openai.azure.com/openai/deployments/<deployment-id>/embeddings?api-version=2023-03-15-preview',
2020
@method = 'POST',
2121
@credential = [https://<your-app-name>.openai.azure.com],
2222
@payload = @payload,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.