Files
SqlDatabaseVectorSearch/SqlDatabaseVectorSearch/appsettings.json
T
Marco Minerva f15f387510 Update VectorSearchService and appsettings.json
- Clarified comment in `ChatService.cs`.
- Added `TokenizerService` and `ILogger` parameters to `VectorSearchService` constructor.
- Updated paragraph splitting to use `tokenizerService.CountTokens`.
- Added logging for token count of each paragraph in `VectorSearchService`.
- Updated `ModelId` comment in `appsettings.json` to include "gpt-4o-mini".
- Changed `MaxTokensPerParagraph` in `appsettings.json` from 1024 to 1000.
2025-01-28 16:09:34 +01:00

40 lines
1.2 KiB
JSON

{
"ConnectionStrings": {
"SqlConnection": ""
},
"AzureOpenAI": {
"ChatCompletion": {
"Endpoint": "",
"Deployment": "",
"ModelId": "", // o1, gpt-4o, gpt-4o-mini, 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": {
"MaxTokensPerLine": 300,
"MaxTokensPerParagraph": 1000,
"OverlapTokens": 100,
"MaxRelevantChunks": 10,
"MaxInputTokens": 16385,
"MaxOutputTokens": 800,
"MessageExpiration": "00:05:00"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"https_port": 443,
"AllowedHosts": "*"
}