mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
1b2ebbd6a3
Updated primary key constraint names in Scripts.sql for Documents and DocumentChunks tables. Enhanced document upload API endpoint description in Program.cs to reflect the use of the new native Vector type for embeddings. Added a comment in appsettings.json to clarify the Dimensions setting in the Embedding section.
37 lines
1017 B
JSON
37 lines
1017 B
JSON
{
|
|
"ConnectionStrings": {
|
|
"SqlConnection": ""
|
|
},
|
|
"AzureOpenAI": {
|
|
"ChatCompletion": {
|
|
"Endpoint": "",
|
|
"Deployment": "",
|
|
"ApiKey": ""
|
|
},
|
|
"Embedding": {
|
|
"Endpoint": "",
|
|
"Deployment": "",
|
|
"ApiKey": "",
|
|
// Set this value only if you're using a model that allows to specify the dimensions of the embeddings
|
|
// (e.g. text-embedding-3-small or text-embedding-3-large). Currently, a maximum value of 1998 is supported.
|
|
"Dimensions": null
|
|
}
|
|
},
|
|
"AppSettings": {
|
|
"MaxTokenPerLine": 300,
|
|
"MaxTokensPerParagraph": 1024,
|
|
"OverlapTokens": 100,
|
|
"MaxRelevantChunks": 10,
|
|
"MessageLimit": 20,
|
|
"MessageExpiration": "00:05:00"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"https_port": 443,
|
|
"AllowedHosts": "*"
|
|
}
|