44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
|
|
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
|
|
"Microsoft.EntityFrameworkCore.Infrastructure": "Warning",
|
|
"System.Net.Http.HttpClient": "Warning",
|
|
"Google.Apis": "Warning",
|
|
"DiunaBI.Core.Services.PluginManager": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": ["FromLogContext", "WithMachineName", "WithThreadId"]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"AnomalyDetection": {
|
|
"Provider": "OpenAI",
|
|
"Model": "gpt-4o-mini",
|
|
"ApiKey": "",
|
|
"Endpoint": "",
|
|
"MaxTokens": 4000,
|
|
"Temperature": 0.1,
|
|
"MinHistoricalImports": 5,
|
|
"RecentImportsWindow": 5,
|
|
"MonthlyImportsWindow": 5,
|
|
"ConfidenceThreshold": 0.7
|
|
}
|
|
} |