Files
svn-log-tool/docs/README_DeepSeek.md

33 lines
895 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SVN 日志 AI 分析Web
## 功能说明
通过 Web 工作台上传/选择 Markdown 日志,调用 DeepSeek API 分析并生成 Excel 工作量统计文件。
## 启动
```bash
mvn spring-boot:run -Dspring-boot.run.mainClass=com.svnlog.web.WebApplication
```
访问:`http://localhost:8080`
## 使用步骤
1. 在「SVN 日志抓取」先生成 `.md` 文件
2. 在「系统设置」配置 DeepSeek API Key或使用环境变量 `DEEPSEEK_API_KEY`
3. 在「AI 工作量分析」选择 `.md` 文件并发起分析
4. 在「任务历史」或「产物列表」下载 `.xlsx`
## API Key 读取优先级
1. 请求中的 `apiKey`
2. 设置页保存的运行时 `apiKey`
3. 环境变量 `DEEPSEEK_API_KEY`
## 注意事项
- 不要在源码和日志中写入真实密钥
- 需要可访问 DeepSeek API 的网络环境
- 接口调用可能产生费用,建议控制调用频率