Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 35 additions & 2 deletions docs/en/guides/01-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1109,14 +1109,47 @@ In the official container, the initial `omm` user may be restricted for remote l
"password": "your-password",
"db_name": "postgres",
"schema": "public",
"mode": "standalone"
"mode": "standalone",
"shard_count": 32,
"connect_timeout": 10,
"dense_vector_name": "vector",
"sparse_vector_name": "sparse_vector"
}
}
}
}
```

Set `mode` to `"distributed"` for openGauss distributed deployments; OpenViking will attempt to mark metadata tables as reference tables and distribute collection tables by `id`.
Set `mode` to `"distributed"` for openGauss distributed deployments; OpenViking will attempt to mark metadata tables as reference tables and distribute collection tables by `id` (`shard_count` controls the number of shards).
</details>

<details>
<summary><b>Qdrant</b></summary>

Connects to a running Qdrant service over its REST API.

```json
{
"storage": {
"vectordb": {
"name": "context",
"backend": "qdrant",
"project": "default",
"distance_metric": "cosine",
"dimension": 1024,
"qdrant": {
"url": "http://localhost:6333",
"api_key": "your-api-key",
"timeout_seconds": 10,
"dense_vector_name": "vector",
"sparse_vector_name": "sparse_vector",
"meta_collection_name": "__openviking_meta",
"enable_text_index": true
}
}
}
}
```
</details>


Expand Down
37 changes: 35 additions & 2 deletions docs/zh/guides/01-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1080,14 +1080,47 @@ RAGFS 默认使用 Rust binding 模式,通过 Rust 实现直接访问文件系
"password": "your-password",
"db_name": "postgres",
"schema": "public",
"mode": "standalone"
"mode": "standalone",
"shard_count": 32,
"connect_timeout": 10,
"dense_vector_name": "vector",
"sparse_vector_name": "sparse_vector"
}
}
}
}
```

分布式 openGauss 部署可将 `mode` 设为 `"distributed"`;OpenViking 会尝试把元数据表标记为 reference table,并按 `id` 分布集合表。
分布式 openGauss 部署可将 `mode` 设为 `"distributed"`;OpenViking 会尝试把元数据表标记为 reference table,并按 `id` 分布集合表(由 `shard_count` 控制分片数量)。
</details>

<details>
<summary><b>Qdrant</b></summary>

通过 REST API 连接运行中的 Qdrant 服务。

```json
{
"storage": {
"vectordb": {
"name": "context",
"backend": "qdrant",
"project": "default",
"distance_metric": "cosine",
"dimension": 1024,
"qdrant": {
"url": "http://localhost:6333",
"api_key": "your-api-key",
"timeout_seconds": 10,
"dense_vector_name": "vector",
"sparse_vector_name": "sparse_vector",
"meta_collection_name": "__openviking_meta",
"enable_text_index": true
}
}
}
}
```
</details>


Expand Down