Marco Minerva db4646330f Enhanced app with Azure AI and vector search
- Modified `ApplicationDbContext.cs` to correct the `.IsVector()` method placement for `DocumentChunk`.
- Removed `MemoryResponse.cs` class, indicating a move away from this model.
- Enhanced `Program.cs` with Azure AI services integration for text embeddings and chat completions. Updated OpenAPI descriptions and reintroduced `/api/ask` with vector search.
- Adjusted `ChatService.cs` to improve question-asking functionality using document chunks.
- Updated `VectorSearchService.cs` with a new `AskQuestionAsync` method for advanced search and response capabilities. Made `GetContentAsync` static.
- Formatted `SqlDatabaseVectorSearch.csproj` and managed NuGet package inclusions.
- Simplified `appsettings.json` by removing unused keys.
- Added a new `Response` record class for standardized service responses.
2024-06-14 12:59:09 +02:00
2024-06-14 11:47:00 +02:00
2024-06-14 11:47:00 +02:00
2024-06-14 11:47:00 +02:00
2024-06-14 11:47:00 +02:00
2024-06-14 11:37:55 +02:00
2024-06-14 11:47:00 +02:00
2024-06-14 11:47:00 +02:00

SQL Database Vector Search Sample

A repository that showcases the Vector Support in Azure SQL Database to perform embeddings and RAG

Languages
C# 54.5%
HTML 32.7%
CSS 9.4%
JavaScript 2.5%
TSQL 0.9%