8000 GitHub - lkmodise/azure-sql-db-openai at a41815d552ec41909e678dff3b5c615042ba3564
[go: up one dir, main page]

Skip to content

lkmodise/azure-sql-db-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 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.

...WORK IN PROGRESS...

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 70.4%
  • Python 29.6%
0