Files
myAi/rag-api/appsettings.json
T
claude fa1ef23c02
Build and Push Docker Images / build (push) Successful in 37s
Changes
2026-05-04 21:02:35 +03:00

47 lines
1.0 KiB
JSON

{
"AllowedHosts": "*",
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.AspNetCore": "Warning",
"System.Net.Http.HttpClient": "Warning"
}
},
"WriteTo": [
{ "Name": "Console" }
]
},
"ConnectionStrings": {
"RagDb": "Server=localhost,1433;Database=MyAiRag;User Id=sa;Password=Your_strong_password123;TrustServerCertificate=True"
},
"InternalApi": {
"ApiKey": "",
"RequireApiKey": false
},
"Rag": {
"MaxFileSizeMb": 8,
"ChunkSize": 900,
"ChunkOverlap": 150,
"MaxTextChars": 60000,
"DefaultTopK": 20,
"MaxTopK": 50,
"ClassifyWithAi": false
},
"Ai": {
"Provider": "OpenAI",
"OpenAI": {
"ApiKey": "",
"ChatModel": "gpt-4o-mini",
"EmbeddingModel": "text-embedding-3-small",
"TimeoutSeconds": 90
},
"Ollama": {
"BaseUrl": "http://localhost:11434",
"ChatModel": "llama3.1:8b",
"EmbeddingModel": "nomic-embed-text",
"TimeoutSeconds": 180
}
}
}