8000 GitHub - sirmnemonic/azure-sql-db-openai at 252d30694c6a356344634c039507c3b6255eb2f7
[go: up one dir, main page]

Skip to content

sirmnemonic/azure-sql-db-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Similarity Search with Azure SQL & Azure OpenAI

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.

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.

Download the wikipedia embeedings from here, unzip it and upload it to an Azure Blob Storage container.

About

Samples on how to use Azure SQL database with Azure OpenAI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TSQL 100.0%
0