{
  "Environment": "Development",
  "Version": "2.0.0",
  "SecretManagement": {
    "AutoGenerateCertificate": false,
    "DefaultAlgorithmId": "AES256-RSA-OAEP",
    "DefaultCertificateStoreId": "WindowsCertificateStore",
    "CertificateProvider": {
      "WindowsCertificateStore": {
        "ExpirationThresholdDays": 30,
        "Subject": "",
        "StoreName": "",
        "StoreLocation": "",
        "KeySize": 2048,
        "CertificateValidityDays": 365
      }
    }
  },
    "AiDiagnostics": {
      "Enabled": false,
      "Provider": "Azure",
      "Endpoint": "https://loga.openai.azure.com/",
      "ApiKey": "",
      "DeploymentOrModel": "gpt-4o",
      "IntervalInSeconds": 20,
      "MaxTokens": 1024,
      "Temperature": 0.2,
      "ClearTime": "",
      "Offsets": {
        "diagnostic.log.json": 21288
      },
      "ReadAllLogFiles": false
    },
    "Serilog": {
      "LogLevel": {
        "MinimumLevel": {
          "Default": "Error",
          "Override": {
            "Nodinite": "Error"
          }
        },
        "Enrich": [
          "FromLogContext",
          "WithThreadId"
        ],
        "WriteTo": [
          {
            "Name": "File",
            "Args": {
              "fileSizeLimitBytes": "52428800",
              "formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog",
              "path": "C:\\Code\\Nodinite.DevKit\\Nodinite.ProjectTemplates\\templates\\agent\\Nodinite.Agent.Database\\DiagnosticsFiles\\diagnostic.log.json",
              "retainedFileCountLimit": "5",
              "rollOnFileSizeLimit": "True"
            }
          },
          {
            "Name": "Console",
            "Args": {
              "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}",
              "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console"
            }
          }
        ]
      }
    },
    "ConnectionStrings": {
      "ollama-phi3-5": "Endpoint=http://localhost:58285;Model=phi3.5"
    },
    "Settings": {
      "Monitoring": {
        "MonitorPipelinesConfiguration": {
          "ChannelCapacity": 4000
        },
        "IntervalInSeconds": 60,
        "Connections": [],
        "AzureSqlDatabases": [],
        "PostgreSqlDatabases": []
      },
      "Logging": {
        "LogPipelinesConfiguration": {
          "MaxBatchSize": 100,
          "LogDataProcessingConsumers": 2,
          "ChannelCapacity": 4000
        },
        "LogAgentId": 42,
        "LogApi": {
          "Enabled": true,
          "LogApiUrl": "http://localhost/Nodinite/DEV/LogAPI"
        },
        "IntervalInSeconds": 10

      }
    },
    "Relay": {
      "Enabled": false,
      "ConnectionString": "",
      "HybridConnectionName": "database",
      "LocalBaseUrl": "http://localhost:5034",
      "HttpTimeoutSeconds": 120,
      "MaxConcurrentRequests": 64,
      "MaxRequestBodyBytes": 10485760
    },
    "AllowedHosts": "*"
  }