Files
SqlDatabaseVectorSearch/SqlDatabaseVectorSearch/appsettings.json
T
Marco Minerva 1b2ebbd6a3 Update PK constraints, API description, and config comment
Updated primary key constraint names in Scripts.sql for Documents
and DocumentChunks tables. Enhanced document upload API endpoint
description in Program.cs to reflect the use of the new native
Vector type for embeddings. Added a comment in appsettings.json
to clarify the Dimensions setting in the Embedding section.
2024-10-01 14:37:01 +02:00

37 lines
1017 B
JSON

{
"ConnectionStrings": {
"SqlConnection": ""
},
"AzureOpenAI": {
"ChatCompletion": {
"Endpoint": "",
"Deployment": "",
"ApiKey": ""
},
"Embedding": {
"Endpoint": "",
"Deployment": "",
"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,
"MessageLimit": 20,
"MessageExpiration": "00:05:00"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"https_port": 443,
"AllowedHosts": "*"
}