Files
SqlDatabaseVectorSearch/SqlDatabaseVectorSearch/appsettings.json
T
Marco Minerva 9342b8d1e9 Add HTTP client config, update settings, and add package
- 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.
2025-01-16 15:06:31 +01:00

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": "*"
}