mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
9342b8d1e9
- Added HTTP client defaults configuration in Program.cs. - Adjusted OpenAPI configuration order in Program.cs. - Changed MaxTokensPerParagraph in AppSettings.cs to 1000. - Added Microsoft.Extensions.Http.Resilience package in SqlDatabaseVectorSearch.csproj. - Reordered and added ModelId properties in appsettings.json.
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
"SqlConnection": ""
|
|
},
|
|
"AzureOpenAI": {
|
|
"ChatCompletion": {
|
|
"Endpoint": "",
|
|
"Deployment": "",
|
|
"ModelId": "", // o1, gpt-4o, gpt-4, gpt-3.5
|
|
"ApiKey": ""
|
|
},
|
|
"Embedding": {
|
|
"Endpoint": "",
|
|
"Deployment": "",
|
|
"ModelId": "", // text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002
|
|
"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,
|
|
"MaxInputTokens": 16385,
|
|
"MaxOutputTokens": 800,
|
|
"MessageExpiration": "00:05:00"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"https_port": 443,
|
|
"AllowedHosts": "*"
|
|
}
|