57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Debug",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"Kestrel":{
|
|
"Endpoints": {
|
|
"http":{
|
|
"Url": "http://0.0.0.0:5146"
|
|
}
|
|
}
|
|
},
|
|
|
|
"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", "deepseek-v3.1:671b-cloud", "qwen3-vl", "deepseek-ocr"]
|
|
},
|
|
"localAI": {
|
|
"handler": "openai",
|
|
"baseURL": "http://localhost:8080",
|
|
"ApiKey": "Some API key here",
|
|
"Allowlist": [".*"],
|
|
"Denylist": ["cross-encoder", "kitten-tts", "jina-reranker-v1-tiny-en", "whisper-small", "qwen3-vl-2b-instruct"]
|
|
}
|
|
},
|
|
"SimpleAuth": {
|
|
"Users": [
|
|
{
|
|
"Username": "admin",
|
|
"Password": "UnsafePractice.67",
|
|
"Roles": ["Admin"]
|
|
}
|
|
]
|
|
},
|
|
"ApiKeys": ["Some UUID here", "Another UUID here"],
|
|
"UseHttpsRedirection": true,
|
|
"Cache": {
|
|
"CacheTopN": 100000,
|
|
"StoreEmbeddingCache": true,
|
|
"StoreTopN": 20000
|
|
}
|
|
}
|
|
}
|