You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
---
2
+
page_type: sample
3
+
languages:
4
+
- sql
5
+
products:
6
+
- azure-openai
7
+
- azure-sql-database
8
+
urlFragment: azure-sql-db-openai
9
+
name: Vector similarity search with Azure SQL & Azure OpenAI
10
+
description: |
11
+
Use Azure OpenAI from Azure SQL database to get the vector embeddings of any choosen text, and then calculate the cosine similarity to find related topics
12
+
---
13
+
1
14
# Vector similarity search with Azure SQL & Azure OpenAI
2
15
3
16
This example shows how to use Azure OpenAI from Azure SQL database to get the vector embeddings of any choosen text, and then calculate the [cosine similarity](https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview) against the Wikipedia articles (for which vector embeddings have been already calculated,) to find the articles that covers topics that are close - or similar - to the provided text.
0 commit comments