refactor(terminology): rename user-facing tenant labels to workspace

Align product copy, API docs, Swagger descriptions, and i18n strings
with workspace terminology while keeping internal tenant identifiers
and headers unchanged for API compatibility.
This commit is contained in:
wizardchen
2026-07-14 16:13:49 +08:00
committed by lyingbug
parent e1572b71b9
commit 41975abcc5
161 changed files with 1865 additions and 1770 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
- 初始版本发布
- WeKnora MCP Server 核心功能
- 完整的 WeKnora API 集成
- 租户管理工具
- 空间管理工具
- 知识库管理工具
- 知识管理工具
- 模型管理工具
@@ -26,8 +26,8 @@
- 详细的文档和安装指南
### 工具列表
- `create_tenant` - 创建新租户
- `list_tenants` - 列出所有租户
- `create_tenant` - 创建新空间
- `list_tenants` - 列出所有空间
- `create_knowledge_base` - 创建知识库
- `list_knowledge_bases` - 列出知识库
- `get_knowledge_base` - 获取知识库详情
+4 -4
View File
@@ -33,9 +33,9 @@ echo "WEKNORA_API_KEY=your_api_key_here" >> .env
以下是各种 MCP 工具的使用示例:
### 租户管理
### 空间管理
#### 创建租户
#### 创建空间
```json
{
"tool": "create_tenant",
@@ -53,7 +53,7 @@ echo "WEKNORA_API_KEY=your_api_key_here" >> .env
}
```
#### 列出所有租户
#### 列出所有空间
```json
{
"tool": "list_tenants",
@@ -256,7 +256,7 @@ python main.py --verbose
# 2. 在 MCP 客户端中执行以下步骤:
```
#### 步骤 1: 创建租户
#### 步骤 1: 创建空间
```json
{
"tool": "create_tenant",
+1 -1
View File
@@ -104,7 +104,7 @@ set WEKNORA_API_KEY=your_api_key_here
## 🛠️ 功能特性
### MCP 工具 (21个)
- **租户管理**: `create_tenant`, `list_tenants`
- **空间管理**: `create_tenant`, `list_tenants`
- **知识库管理**: `create_knowledge_base`, `list_knowledge_bases`, `get_knowledge_base`, `delete_knowledge_base`, `hybrid_search`
- **知识管理**: `create_knowledge_from_url`, `list_knowledge`, `get_knowledge`, `delete_knowledge`
- **模型管理**: `create_model`, `list_models`, `get_model`
+3 -3
View File
@@ -96,9 +96,9 @@ python test_module.py
该 MCP 服务器提供以下工具:
### 租户管理
- `create_tenant` - 创建新租户
- `list_tenants` - 列出所有租户
### 空间管理
- `create_tenant` - 创建新空间
- `list_tenants` - 列出所有空间
### 知识库管理
- `create_knowledge_base` - 创建知识库