openviking k8s: mount ov.conf via ConfigMap volume
- 03-configmap.yaml: add ov.conf key with embedding/vlm JSON template - 01-deployment.yaml: add volume mount to /app/.openviking/ov.conf
This commit is contained in:
@@ -11,4 +11,22 @@ data:
|
||||
# 数据存储路径(容器内)
|
||||
OVIKING_DATA_DIR: "/app/data"
|
||||
# 向量模型(可选,注释掉则使用默认模型)
|
||||
# OVIKING_EMBED_MODEL: "text-embedding-3-large"
|
||||
# OVIKING_EMBED_MODEL: "text-embedding-3-large"
|
||||
ov.conf: |
|
||||
{
|
||||
"embedding": {
|
||||
"dense": {
|
||||
"api_base": "<api-endpoint>",
|
||||
"api_key": "<your-api-key>",
|
||||
"provider": "<provider-type>",
|
||||
"dimension": 1024,
|
||||
"model": "<model-name>"
|
||||
}
|
||||
},
|
||||
"vlm": {
|
||||
"api_base": "<api-endpoint>",
|
||||
"api_key": "<your-api-key>",
|
||||
"provider": "<provider-type>",
|
||||
"model": "<model-name>"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user