mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
Add dimensions parameter for embeddings; reformat SQL
Updated Program.cs to include dimensions parameter for AddAzureOpenAITextEmbeddingGeneration sourced from aiSettings.Embedding.Dimensions. Reformatted SQL command texts in VectorSearchService.cs for better readability. Introduced EmbeddingServiceSettings class in AzureOpenAISettings.cs to allow optional dimensions configuration. Updated appsettings.json to include new Dimensions property under Embedding section.
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
"Embedding": {
|
||||
"Endpoint": "",
|
||||
"Deployment": "",
|
||||
"ApiKey": ""
|
||||
"ApiKey": "",
|
||||
"Dimensions": null
|
||||
}
|
||||
},
|
||||
"AppSettings": {
|
||||
|
||||
Reference in New Issue
Block a user