71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"filesroot": "$[workdir]$/files",
|
|
"logger": {
|
|
"name": "llmengine",
|
|
"levelname": "info",
|
|
"logfile": "$[workdir]$/logs/llmengine.log"
|
|
},
|
|
"website": {
|
|
"paths": [
|
|
["$[workdir]$/wwwroot", ""]
|
|
],
|
|
"client_max_size": 10000,
|
|
"host": "0.0.0.0",
|
|
"port": 8888,
|
|
"coding": "utf-8",
|
|
"indexes": [
|
|
"index.html",
|
|
"index.ui"
|
|
],
|
|
"startswiths": [
|
|
{
|
|
"leading": "/idfile",
|
|
"registerfunction": "idfile"
|
|
},
|
|
{
|
|
"leading": "/v1/connection",
|
|
"registerfunction": "connection"
|
|
},
|
|
{
|
|
"leading": "/v1/createcollection",
|
|
"registerfunction": "createcollection"
|
|
},
|
|
{
|
|
"leading": "/v1/deletecollection",
|
|
"registerfunction": "deletecollection"
|
|
},
|
|
{
|
|
"leading": "/v1/insertfile",
|
|
"registerfunction": "insertfile"
|
|
},
|
|
{
|
|
"leading": "/v1/deletefile",
|
|
"registerfunction": "deletefile"
|
|
},
|
|
{
|
|
"leading": "/v1/fusedsearchquery",
|
|
"registerfunction": "fusedsearchquery"
|
|
},
|
|
{
|
|
"leading": "/docs",
|
|
"registerfunction": "docs"
|
|
}
|
|
],
|
|
"processors": [
|
|
[".tmpl", "tmpl"],
|
|
[".app", "app"],
|
|
[".ui", "bui"],
|
|
[".dspy", "dspy"],
|
|
[".md", "md"]
|
|
],
|
|
"rsakey_oops": {
|
|
"privatekey": "$[workdir]$/conf/rsa_private_key.pem",
|
|
"publickey": "$[workdir]$/conf/rsa_public_key.pem"
|
|
},
|
|
"session_max_time": 3000,
|
|
"session_issue_time": 2500,
|
|
"session_redis_notuse": {
|
|
"url": "redis://127.0.0.1:6379"
|
|
}
|
|
}
|
|
} |