mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user