Loading...
Loading...
Compare original and translation side by side
| Brick | Purpose | This Skill |
|---|---|---|
| Knowledge Assistant (KA) | Document Q&A using RAG on PDFs/text in Volumes | ✓ |
| Supervisor Agent | Orchestrates multiple agents (KA, endpoints, UC functions, MCP) | ✓ |
| 组件 | 用途 | 本技能覆盖 |
|---|---|---|
| Knowledge Assistant (KA) | 基于Volumes中的PDF/文本,使用RAG实现文档问答 | ✓ |
| Supervisor Agent | 编排多个Agent(KA、端点、UC函数、MCP) | ✓ |
undefinedundefined
**Source types:** `files` (Volume path) or `index` (Vector Search: `index.index_name`, `index.text_col`, `index.doc_uri_col`)
**Status:** `CREATING` (2-5 min) → `ONLINE` → `OFFLINE`
---
**数据源类型:** `files`(Volume路径)或 `index`(向量检索:`index.index_name`, `index.text_col`, `index.doc_uri_col`)
**状态:** `CREATING`(2-5分钟)→ `ONLINE` → `OFFLINE`
---databricks supervisor-agentssupervisor-agents/{id}PARENTlist-supervisor-agentslist-exampleslist-toolsundefineddatabricks supervisor-agentssupervisor-agents/{id}PARENTlist-supervisor-agentslist-exampleslist-toolsundefinedundefinedundefinedtool_type--json--jsongenie_spaceknowledge_assistantundefinedtool_type--json--jsongenie_spaceknowledge_assistantundefineddatabricks genie list-spacesdatabricks genie list-spacesdatabricks knowledge-assistants list-knowledge-assistantsdatabricks knowledge-assistants list-knowledge-assistants
**Tool types** (`tool_type` value → type-specific block):
| `tool_type` | Block | Use for |
|---|---|---|
| `genie_space` | `{"id": "<space_id>"}` | Natural language → SQL via Genie |
| `knowledge_assistant` | `{"knowledge_assistant_id": "<ka_id>"}` | Document Q&A via a KA |
| `uc_function` | `{"name": "catalog.schema.func"}` | UC SQL/Python function |
| `uc_connection` | `{"name": "<connection_name>"}` | External MCP server via UC HTTP Connection |
| `volume` | `{"name": "<full_volume_name>"}` | UC Volume browsing |
| `app` | `{"name": "<app_name>"}` | Databricks App |
| Other types (`serving_endpoint`, `lakeview_dashboard`, `supervisor_agent`, `uc_table`, `vector_search_index`, `catalog`, `schema`, `web_search`) | Block name and field shape vary | Run `databricks supervisor-agents create-tool --help` and probe — these were not verified end-to-end here. |
**工具类型**(`tool_type`值 → 对应特定配置块):
| `tool_type` | 配置块 | 适用场景 |
|---|---|---|
| `genie_space` | `{"id": "<space_id>"}` | 通过Genie实现自然语言转SQL |
| `knowledge_assistant` | `{"knowledge_assistant_id": "<ka_id>"}` | 通过KA实现文档问答 |
| `uc_function` | `{"name": "catalog.schema.func"}` | UC SQL/Python函数 |
| `uc_connection` | `{"name": "<connection_name>"}` | 通过UC HTTP连接对接外部MCP服务器 |
| `volume` | `{"name": "<full_volume_name>"}` | UC Volume浏览 |
| `app` | `{"name": "<app_name>"}` | Databricks应用 |
| 其他类型(`serving_endpoint`, `lakeview_dashboard`, `supervisor_agent`, `uc_table`, `vector_search_index`, `catalog`, `schema`, `web_search`) | 配置块名称和字段格式各不相同 | 运行`databricks supervisor-agents create-tool --help`查看详情——本文未对这些类型进行端到端验证。 |--jsonGUIDELINESrepeated stringdatabricks supervisor-agents create-example supervisor-agents/<id> --json '{
"question": "What were Q4 revenue numbers?",
"guidelines": ["Route to analyst Genie space", "Always group by region"]
}'
databricks supervisor-agents list-examples supervisor-agents/<id>
databricks supervisor-agents get-example supervisor-agents/<id>/examples/<ex_id>
databricks supervisor-agents delete-example supervisor-agents/<id>/examples/<ex_id>create-supervisor-agentget-supervisor-agentdatabricks serving-endpoints get <endpoint_name>--jsonGUIDELINESrepeated stringdatabricks supervisor-agents create-example supervisor-agents/<id> --json '{
"question": "What were Q4 revenue numbers?",
"guidelines": ["Route to analyst Genie space", "Always group by region"]
}'
databricks supervisor-agents list-examples supervisor-agents/<id>
databricks supervisor-agents get-example supervisor-agents/<id>/examples/<ex_id>
databricks supervisor-agents delete-example supervisor-agents/<id>/examples/<ex_id>supervisor-agentget-supervisor-agentdatabricks serving-endpoints get <endpoint_name>| Topic | File |
|---|---|
| KA source types, index, troubleshooting | references/1-knowledge-assistants.md |
| UC functions, MCP servers, examples | references/2-supervisor-agents.md |
| 主题 | 文件 |
|---|---|
| KA数据源类型、索引、故障排除 | references/1-knowledge-assistants.md |
| UC函数、MCP服务器、示例 | references/2-supervisor-agents.md |