Improve README, add comments, and clean up VectorSearchService

Updated README.md for clarity and additional setup instructions:
- Refined repository description to highlight native Vector type.
- Rephrased note on Vector Support feature for readability.
- Removed mention of EFCore.SqlServer.VectorSearch library.
- Added instructions for updating VECTOR column size and setting Dimension property.

Added comment in Scripts.sql to guide vector size setting in Embedding column.

Cleaned up VectorSearchService.cs by removing unused and commented-out SQL command execution code.
This commit is contained in:
Marco Minerva
2024-10-01 17:35:59 +02:00
parent 1b2ebbd6a3
commit 8c6cc3c969
3 changed files with 10 additions and 28 deletions
+1
View File
@@ -13,6 +13,7 @@ CREATE TABLE [dbo].[DocumentChunks](
[DocumentId] [uniqueidentifier] NOT NULL,
[Index] [int] NOT NULL,
[Content] [nvarchar](max) NOT NULL,
-- Set the size of the vector to the same size of the your embedding model.
[Embedding] [vector](1536) NOT NULL,
CONSTRAINT [PK_DocumentChunks] PRIMARY KEY CLUSTERED
(