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
# Vector Similarity Search with Azure SQL & Azure OpenAI
2
2
3
-
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 distance 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 searched text.
3
+
This example shows how to use Azure OpenAI from Azure SQL database to get the vector [embeddings](https://platform.openai.com/docs/guides/embeddings/what-are-embeddings) of any choosen text, and then calculate the [cosine distance](https://en.wikipedia.org/wiki/Cosine_similarity) 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 searched text.
4
4
5
5
Azure SQL database can be used to significatly speed up vectors operations using column store indexes, so that search can have sub-seconds performances even on large datasets.
6
6
7
7
Download the [wikipedia embeedings from here](https://cdn.openai.com/API/examples/data/vector_database_wikipedia_articles_embedded.zip), unzip it and upload it to an Azure Blob Storage container.
0 commit comments