更新文档,添加本地服务安装说明和配置示例
This commit is contained in:
44
openviking.ov.conf.example
Normal file
44
openviking.ov.conf.example
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"server": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 1933,
|
||||
"auth_mode": "api_key",
|
||||
"root_api_key": "<OPENVIKING_ROOT_KEY>",
|
||||
"cors_origins": ["*"]
|
||||
},
|
||||
"storage": {
|
||||
"workspace": "/Users/tom/projects/openviking_workspace",
|
||||
"agfs": {
|
||||
"backend": "local"
|
||||
},
|
||||
"vectordb": {
|
||||
"name": "context",
|
||||
"backend": "local"
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"version": "v2",
|
||||
"agent_scope_mode": "user+agent"
|
||||
},
|
||||
"embedding": {
|
||||
"dense": {
|
||||
"provider": "<EMBEDDING_PROVIDER>",
|
||||
"api_base": "<EMBEDDING_API_BASE>",
|
||||
"api_key": "<EMBEDDING_API_KEY>",
|
||||
"model": "<EMBEDDING_MODEL>",
|
||||
"dimension": 1024
|
||||
}
|
||||
},
|
||||
"vlm": {
|
||||
"provider": "<VLM_PROVIDER>",
|
||||
"api_base": "<VLM_API_BASE>",
|
||||
"api_key": "<VLM_API_KEY>",
|
||||
"model": "<VLM_MODEL>"
|
||||
},
|
||||
"rerank": {
|
||||
"provider": "<RERANK_PROVIDER>",
|
||||
"api_base": "<RERANK_API_BASE>",
|
||||
"api_key": "<RERANK_API_KEY>",
|
||||
"model": "<RERANK_MODEL>"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user