Anydoc / anydoc parser engine (push) Canceled after 0s
App / Format, vet, test, and build (push) Canceled after 0s
CLI / test (macos-latest / go 1.26) (push) Canceled after 0s
CLI / test (ubuntu-latest / go 1.26) (push) Canceled after 0s
CLI / test (windows-latest / go 1.26) (push) Canceled after 0s
Build and Push Docker Image / build-ui (push) Canceled after 0s
Build and Push Docker Image / build-docreader (push) Canceled after 0s
Build and Push Docker Image / build-sandbox (push) Canceled after 0s
Build and Push Docker Image / build-app (amd64, linux/amd64, ubuntu-latest) (push) Canceled after 0s
Build and Push Docker Image / build-app (arm64, linux/arm64, ubuntu-24.04-arm) (push) Canceled after 0s
DocReader / Python tests and Go client tests (push) Canceled after 0s
Build & Publish (dsh-weknora) / Typecheck, test, pack (push) Canceled after 0s
Build & Publish (dsh-weknora) / End-to-end inside dsh (pinned) (push) Canceled after 0s
Build & Publish (dsh-weknora) / End-to-end inside dsh (latest, advisory) (push) Canceled after 0s
Frontend / Test, type-check, and build (push) Canceled after 0s
Go Lint Cache / warm lint cache (.) (push) Canceled after 0s
Go Lint Cache / warm lint cache (cli) (push) Canceled after 0s
Go Lint Cache / warm lint cache (client) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.10) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.11) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.12) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.13) (push) Canceled after 0s
Build and Push Docker Image / merge (push) Canceled after 0s
Build & Publish (dsh-weknora) / Publish to npm (push) Canceled after 0s
Build & Publish (mcp-server) / Build sdist + wheel (push) Canceled after 0s
Build & Publish (mcp-server) / Publish to PyPI (push) Canceled after 0s
59 lines
1.4 KiB
Markdown
59 lines
1.4 KiB
Markdown
---
|
|
name: 引用生成器
|
|
description: 自动生成规范引用格式。当用户需要生成参考文献、引用来源、标注知识库内容出处、或要求提供引用信息时使用此技能。
|
|
---
|
|
|
|
# Citation Generator
|
|
|
|
为知识库检索结果生成规范的引用格式。
|
|
|
|
## 核心能力
|
|
|
|
1. **来源标注**: 为回答中使用的每个知识点标注来源
|
|
2. **格式化引用**: 支持多种引用格式(APA、MLA、Chicago、简化格式)
|
|
3. **参考文献列表**: 在回答末尾生成完整的参考文献列表
|
|
|
|
## 引用格式
|
|
|
|
### 简化格式(默认)
|
|
|
|
对于知识库内容,使用以下格式:
|
|
```
|
|
[文档名称, 第X页/段落X]
|
|
```
|
|
|
|
示例:
|
|
```
|
|
根据公司政策[员工手册2024.pdf, 第15页],年假申请需提前...
|
|
```
|
|
|
|
### APA 格式
|
|
|
|
```
|
|
作者. (年份). 标题. 来源.
|
|
```
|
|
|
|
### 参考文献列表格式
|
|
|
|
在回答末尾,使用以下格式列出所有引用:
|
|
|
|
```
|
|
---
|
|
**参考文献**
|
|
|
|
1. [1] 文档A - 第X章/第Y页
|
|
2. [2] 文档B - 第Z段
|
|
```
|
|
|
|
## 使用指南
|
|
|
|
1. **检索内容时**: 记录每个检索结果的来源信息(文档名、页码、分块ID)
|
|
2. **引用时**: 在使用知识点后立即标注来源
|
|
3. **汇总时**: 在回答末尾列出完整参考文献
|
|
|
|
## 注意事项
|
|
|
|
- 如果检索结果未提供页码,使用分块或段落编号
|
|
- 对于同一文档的多次引用,可合并为一条
|
|
- 引用应准确对应原文内容,不可虚构来源
|