Skip to content

Commit c051dd2

Browse files
committed
updated openai sample description
1 parent 16c989d commit c051dd2

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

db/samples/sample-data.sql

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,12 @@ exec dbo.add_sample '
9898
"name": "Vector similarity search with Azure SQL & Azure OpenAI",
9999
"description": "This example shows how to use Azure OpenAI from Azure SQL database to get the vector embeddings of any chosen text, and then calculate the 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 provided text.",
100100
"url": "https://github.com/Azure-Samples/azure-sql-db-openai",
101+
"notes": "The sample has been enriched lately with hybrid search, showing how to use fulltext with BM25, reciprocal ranking fusion (RRF) to improve search results in wikipedia sample dataset.",
101102
"details": {
102103
"languages": ["T-SQL", "Python"],
103104
"services": ["Azure SQL"],
104-
"license": "MIT"
105+
"license": "MIT",
106+
"tags": ["RRF", "Reciprocal Ranking Fusion", "BM25", "Fulltext", "Hybrid Search"]
105107
}
106108
}
107109
';
@@ -501,6 +503,23 @@ exec dbo.add_sample '
501503
';
502504
GO
503505

506+
exec dbo.add_sample '
507+
{
508+
"name": "SqlDatabaseVectorSearch",
509+
"description": "A repository that showcases the native VECTOR type in Azure SQL Database to perform embeddings and RAG with Azure OpenAI, using DOC, PDF, TXT and MD documents.",
510+
"notes": "A repository that showcases the native VECTOR type in Azure SQL Database to perform embeddings and RAG with Azure OpenAI. The application allows to load documents, generate embeddings and save them into the database as Vectors, and perform searches using Vector Search and RAG. Currently, PDF, DOCX, TXT and MD files are supported. Vectors are saved and retrieved with Entity Framework Core using the EFCore.SqlServer.VectorSearch library. Embedding and Chat Completion are integrated with Semantic Kernel. This repository contains a Blazor Web App as well as a Minimal API that allows to programatically interact with embeddings and RAG.",
511+
"url": "https://github.com/marcominerva/SqlDatabaseVectorSearch",
512+
"details": {
513+
"author": "Marco Minerva",
514+
"languages": ["T-SQL", "C#"],
515+
"services": ["Azure SQL", "Azure Open AI"],
516+
"license": "MIT",
517+
"tags": ["End-to-End", "RAG", "Embeddings", "Vectors", "EFCore", "Semantic Kernel", "UX", "UI", "Chat", "Response Streaming"]
518+
}
519+
}
520+
';
521+
GO
522+
504523
select id, name, created_on, updated_on from dbo.samples order by created_on desc;
505524
--where [url] like '%kmeans%'
506525
GO

0 commit comments

Comments
 (0)