56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Debug",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"Kestrel":{
|
|
"Endpoints": {
|
|
"http":{
|
|
"Url": "http://0.0.0.0:5146"
|
|
}
|
|
}
|
|
},
|
|
"UseSwagger": true,
|
|
"Embeddingsearch": {
|
|
"ConnectionStrings": {
|
|
"SQL": "server=localhost;database=embeddingsearch;uid=embeddingsearch;pwd=somepassword!;",
|
|
"Cache": "Data Source=embeddings.db;Mode=ReadWriteCreate;Cache=Shared"
|
|
},
|
|
"Elmah": {
|
|
"LogPath": "~/logs"
|
|
},
|
|
"AiProviders": {
|
|
"ollama": {
|
|
"handler": "ollama",
|
|
"baseURL": "http://localhost:11434",
|
|
"Allowlist": [".*"],
|
|
"Denylist": ["qwen3-coder:latest", "qwen3:0.6b", "qwen3-vl", "deepseek-ocr"]
|
|
},
|
|
"localAI": {
|
|
"handler": "openai",
|
|
"baseURL": "http://localhost:8080",
|
|
"ApiKey": "Some API key here",
|
|
"Allowlist": [".*"],
|
|
"Denylist": ["cross-encoder", "jina-reranker-v1-tiny-en", "whisper-small"]
|
|
}
|
|
},
|
|
"SimpleAuth": {
|
|
"Users": [
|
|
{
|
|
"Username": "admin",
|
|
"Password": "UnsafePractice.67",
|
|
"Roles": ["Admin"]
|
|
}
|
|
]
|
|
},
|
|
"ApiKeys": ["APIKeyOfYourChoice", "AnotherOneIfYouLike"],
|
|
"Cache": {
|
|
"CacheTopN": 10000,
|
|
"StoreEmbeddingCache": true,
|
|
"StoreTopN": 10000
|
|
}
|
|
}
|
|
}
|