Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ai
/
ai-workflow
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0fd00aec
authored
May 22, 2026
by
wangzhiyang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
docs(会议纪要): 删除过时的Docker部署文档
移除该技能文档中完整的生产环境Docker部署指南及相关代码示例
1 parent
3b9a26c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
95 deletions
workspace/agent-admin/backend/skills/meeting_minutes/SKILL.md
workspace/agent-admin/backend/skills/meeting_minutes/SKILL.md
View file @
0fd00ae
...
@@ -65,98 +65,3 @@ upload_result = upload_bytes_to_oss(
...
@@ -65,98 +65,3 @@ upload_result = upload_bytes_to_oss(
### Step 5: 交付结果
### Step 5: 交付结果
将生成的 Markdown 纪要展示给用户,并返回 OSS 下载链接供用户下载文件。询问用户是否需要修改或重新生成。
将生成的 Markdown 纪要展示给用户,并返回 OSS 下载链接供用户下载文件。询问用户是否需要修改或重新生成。
## 生产部署(Docker)
### 配置方式
所有配置统一存放在
`config/models.json`
的
`meeting_minutes`
节点下:
```
json
{
"meeting_minutes"
:
{
"fun-asr"
:
{
"type"
:
"dashscope_asr"
,
"api_base"
:
"https://dashscope.aliyuncs.com/api/v1"
,
"model_name"
:
"fun-asr"
,
"api_key"
:
"sk-xxx"
},
"qwen3.6-plus"
:
{
"type"
:
"openai_compatible"
,
"api_base"
:
"https://dashscope.aliyuncs.com/compatible-mode/v1"
,
"model_name"
:
"qwen3.6-plus"
,
"api_key"
:
"sk-xxx"
},
"oss"
:
{
"access_key_id"
:
"LTAI5txxx"
,
"access_key_secret"
:
"xxx"
,
"endpoint"
:
"oss-cn-shenzhen-internal.aliyuncs.com"
,
"bucket_name"
:
"glsk-agentic-test"
}
}
}
```
> **环境变量回退**:各字段也支持通过同名环境变量覆盖(如 `DASHSCOPE_API_KEY`、`OSS_ACCESS_KEY_ID` 等),环境变量优先级高于 JSON 配置。
> **OSS endpoint 说明**:部署在阿里云 ECS/K8s 时使用内网 endpoint(`-internal.aliyuncs.com`),免流量费且延迟更低;本地开发使用公网 endpoint(去掉 `-internal`)。
### Dockerfile 参考
```
dockerfile
FROM
python:3.12-slim
WORKDIR
/app
COPY requirements.txt .
RUN
pip install -r requirements.txt
COPY . .
CMD
["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
```
### 生产调用方式
**方式一:AgentHub Tool 模式(推荐)**
`run_pipeline`
已注册为 ToolManager 工具(
`meeting_minutes`
组),meeting agent 的 LLM 可直接调用:
```
python
# 在 main.py 中自动注册
from
skills.meeting_minutes.scripts.pipeline
import
run_pipeline
agent_hub_instance
.
tool_manager
.
register_tool
(
run_pipeline
,
group
=
"meeting_minutes"
,
description
=
"执行会议纪要完整流程..."
,
)
```
Tool 执行时各步骤状态通过
`_log_tool_statuses()`
自动写入会话对话日志:
```
[meeting_minutes] ... Fun-ASR 转写中...
[meeting_minutes] OK 转写完成, 82 个句子, 1437 字符
[meeting_minutes] ... Qwen3.6-plus 生成会议纪要中...
[meeting_minutes] OK 纪要生成完成, Markdown 长度=1403
[meeting_minutes] OK 全部完成, 下载链接: http://...
```
管家 Agent 通过读取会话历史消息,即可感知会议纪要处理进度。
**方式二:Python API 直接调用(内存流,不写磁盘)**
```
python
from
skills.meeting_minutes.scripts.transcriber
import
transcribe_audio
from
skills.meeting_minutes.scripts.markdown_generator
import
generate_meeting_minutes
from
skills.meeting_minutes.scripts.format_converter
import
convert_markdown_to_bytes
from
skills.meeting_minutes.scripts.oss_uploader
import
upload_bytes_to_oss
# Step 2: 转写
transcribe_result
=
transcribe_audio
(
file_url
=
"<音频URL>"
)
# Step 3: 生成纪要
minutes_result
=
generate_meeting_minutes
(
transcribe_result
[
"transcript_text"
])
# Step 4: 内存生成 docx + 上传 OSS
docx
=
convert_markdown_to_bytes
(
minutes_result
[
"markdown"
],
"docx"
)
oss
=
upload_bytes_to_oss
(
data
=
docx
[
"data"
],
filename
=
docx
[
"filename"
],
content_type
=
docx
[
"content_type"
])
# oss["url"] — 返回给用户
```
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment