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.
This commit is contained in:
Marco Minerva
2025-01-16 15:06:31 +01:00
parent 6dbecfbc63
commit 9342b8d1e9
4 changed files with 11 additions and 5 deletions
+3 -3
View File
@@ -6,14 +6,14 @@
"ChatCompletion": {
"Endpoint": "",
"Deployment": "",
"ApiKey": "",
"ModelId": "" // o1, gpt-4o, gpt-4, gpt-3.5
"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": "",
"ModelId": "",
// 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