vdb/conf/config.json
2026-02-06 13:43:21 +08:00

63 lines
1.5 KiB
JSON

{
"vdb_type": "milvus",
"filesroot": "$[workdir]$/files",
"milvus_db": "$[workdir]$/db/milvus.db",
"logger": {
"name": "vdb",
"levelname": "info",
"logfile": "$[workdir]$/logs/vdb.log"
},
"website": {
"paths": [
["$[workdir]$/wwwroot", ""]
],
"client_max_size": 10000,
"host": "0.0.0.0",
"port": 8886,
"coding": "utf-8",
"indexes": [
"index.html",
"index.dspy",
"index.ui"
],
"startswiths": [
{
"leading": "/idfile",
"registerfunction": "idfile"
},
{
"leading": "/v1/createcollection",
"registerfunction": "create_collection"
},
{
"leading": "/v1/dropcollection",
"registerfunction": "drop_collection"
},
{
"leading": "/v1/iupsert",
"registerfunction": "upsert"
},
{
"leading": "/v1/delete",
"registerfunction": "delete"
},
{
"leading": "/v1/query",
"registerfunction": "query"
},
{
"leading": "/docs",
"registerfunction": "docs"
}
],
"processors": [
[".tmpl", "tmpl"],
[".app", "app"],
[".ui", "bui"],
[".dspy", "dspy"],
[".md", "md"]
],
}
}