Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
78 changes: 78 additions & 0 deletions .github/workflows/publish-skills.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: publish-skills

on:
push:
branches: [feat/bailian-docs-update]
paths: ['skills/**']

permissions:
contents: write
pull-requests: write

concurrency:
group: publish-skills
cancel-in-progress: false

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Poke FC publisher (publish-skills)
run: |
# FC uses reconciliation-based publishing: request body is not trusted.
# curl -f only catches HTTP errors; FC returns 200 + success:false on
# business failure, so we also parse the response body to surface it.
RESP=$(curl -fsS --retry 3 --retry-delay 5 -X POST \
"${{ vars.FC_TRIGGER_URL }}/publish-skills")
echo "$RESP" | jq .
if [ "$(echo "$RESP" | jq -r '.success')" != "true" ]; then
echo "::error::publish-skills failed: $(echo "$RESP" | jq -r '.error // "unknown"')"
exit 1
fi

echo "### publish-skills result" >> "$GITHUB_STEP_SUMMARY"
echo '```json' >> "$GITHUB_STEP_SUMMARY"
echo "$RESP" | jq '{upserted, deleted, unchanged: (.unchanged | length), durationMs}' >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"

- name: Create or update PR to main
id: pr
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH="${{ github.ref_name }}"
TITLE="Auto PR: merge ${BRANCH} into main"

EXISTING_PR=$(gh pr list --head "$BRANCH" --base main --state open --json number --jq '.[0].number')

if [ -n "$EXISTING_PR" ]; then
echo "PR #$EXISTING_PR already exists, updating..."
gh pr edit "$EXISTING_PR" --title "$TITLE"
PR_NUMBER="$EXISTING_PR"
else
echo "Creating new PR..."
PR_NUMBER=$(gh pr create \
--base main \
--head "$BRANCH" \
--title "$TITLE" \
--body "Automated PR created on push to \`${BRANCH}\`." \
--no-maintainer-edit)
fi

echo "number=$PR_NUMBER" >> "$GITHUB_OUTPUT"

- name: Auto-merge PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_NUMBER="${{ steps.pr.outputs.number }}"
echo "Merging PR #$PR_NUMBER..."
gh pr merge "$PR_NUMBER" --squash --delete-branch=false

echo "### PR #$PR_NUMBER merged" >> "$GITHUB_STEP_SUMMARY"
echo "Branch \`${{ github.ref_name }}\` has been merged into \`main\`." >> "$GITHUB_STEP_SUMMARY"
16 changes: 0 additions & 16 deletions skills/bailian-docs-llm-wiki/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,6 @@ description: >-
| **按家族筛选**:按 primaryCapability / providers / itemCount / maxContextWindow 找家族 | `models/families.jsonl`(一行一家族,含 items[] 摘要) |
| 模型家族总览 / 按能力分桶浏览 | `models/index.md` |
| 主题页 / API 文档(按功能领域查找) | `wiki/index.md`(完整索引入口) |
| OpenAI 兼容接口 | `wiki/concepts/openai-compatible-interface.md` |
| API Key 鉴权 | `wiki/concepts/api-key.md` |
| 函数调用(Function Calling) | `wiki/concepts/function-calling.md` |
| 检索增强生成(RAG) | `wiki/concepts/rag.md` |
| 异步调用与任务轮询 | `wiki/concepts/async-invocation.md` |
| Token 与计费 | `wiki/concepts/token-and-billing.md` |
| 流式输出 | `wiki/concepts/streaming-output.md` |
| 业务空间(Workspace) | `wiki/concepts/workspace.md` |
| 模型调优与部署 | `wiki/concepts/fine-tuning-and-deployment.md` |
| MCP 与工具扩展 | `wiki/concepts/mcp-and-tools.md` |
| 模型微调、压缩与部署对比 | `wiki/comparisons/fine-tuning-vs-compression-vs-deployment.md` |
| 模型评估与模型监控对比 | `wiki/comparisons/model-evaluation-vs-monitoring.md` |
| 图像、视频与 3D 生成对比 | `wiki/comparisons/image-vs-video-vs-3d-generation.md` |
| 应用评估与应用监控对比 | `wiki/comparisons/app-evaluation-vs-monitoring.md` |
| 知识库与记忆库对比 | `wiki/comparisons/knowledge-base-vs-memory-library.md` |
| 托管智能体:指南与 API 对比 | `wiki/comparisons/managed-agents-guide-vs-api.md` |

> 实际文件名以 `wiki/index.md` 为准;上表若有出入应回到索引页查找。

Expand Down
1,320 changes: 847 additions & 473 deletions skills/bailian-docs-llm-wiki/llms.txt

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions skills/bailian-docs-llm-wiki/models/families.jsonl

Large diffs are not rendered by default.

392 changes: 211 additions & 181 deletions skills/bailian-docs-llm-wiki/models/groups/Kimi-K2.json

Large diffs are not rendered by default.

202 changes: 100 additions & 102 deletions skills/bailian-docs-llm-wiki/models/groups/MiniMax-M2.1.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,24 @@
"description": "MiniMax 语音大模型能够根据上下文,智能预测文本的情绪、语调等信息,并生成超自然、高保真、个性化的语音。在社交、播客、有声书、新闻资讯、教育、数字人等多种场景中展现出强大的实力。",
"features": [],
"provider": "mini-max",
"limit": {
"message": "model not exist"
},
"model": "MiniMax/speech-2.8-turbo",
"iconUrl": "",
"prices": [
{
"priceUnit": "每次",
"price": "9.9",
"timeBand": "standard",
"type": "tts_vc_model",
"priceName": "声音复刻及声音设计"
},
{
"priceUnit": "每万字符",
"price": "2",
"timeBand": "standard",
"type": "cosy_tts_number",
"priceName": "语音合成"
}
],
"qpmInfo": {
"model-default-actual": {
"count_limit_period": 60,
Expand All @@ -37,6 +50,9 @@
"type": "model-default"
}
},
"priceTimeBands": [
"standard"
],
"capabilities": [
"TTS"
],
Expand All @@ -46,7 +62,6 @@
"maxInputTokens": 10000,
"inferenceProvider": "mini-max",
"name": "speech-2.8-turbo",
"predictConfig": [],
"samples": {
"dashscope": {
"default": {
Expand All @@ -68,11 +83,24 @@
"description": "MiniMax 语音大模型能够根据上下文,智能预测文本的情绪、语调等信息,并生成超自然、高保真、个性化的语音。在社交、播客、有声书、新闻资讯、教育、数字人等多种场景中展现出强大的实力。",
"features": [],
"provider": "mini-max",
"limit": {
"message": "model not exist"
},
"model": "MiniMax/speech-2.8-hd",
"iconUrl": "",
"prices": [
{
"priceUnit": "每次",
"price": "9.9",
"timeBand": "standard",
"type": "tts_vc_model",
"priceName": "声音复刻及声音设计"
},
{
"priceUnit": "每万字符",
"price": "3.5",
"timeBand": "standard",
"type": "cosy_tts_number",
"priceName": "语音合成"
}
],
"qpmInfo": {
"model-default-actual": {
"count_limit_period": 60,
Expand All @@ -91,6 +119,9 @@
"type": "model-default"
}
},
"priceTimeBands": [
"standard"
],
"capabilities": [
"TTS"
],
Expand All @@ -100,7 +131,6 @@
"maxInputTokens": 10000,
"inferenceProvider": "mini-max",
"name": "speech-2.8-hd",
"predictConfig": [],
"samples": {
"dashscope": {
"default": {
Expand All @@ -122,11 +152,24 @@
"description": "MiniMax 语音大模型能够根据上下文,智能预测文本的情绪、语调等信息,并生成超自然、高保真、个性化的语音。在社交、播客、有声书、新闻资讯、教育、数字人等多种场景中展现出强大的实力。",
"features": [],
"provider": "mini-max",
"limit": {
"message": "model not exist"
},
"model": "MiniMax/speech-02-turbo",
"iconUrl": "",
"prices": [
{
"priceUnit": "每次",
"price": "9.9",
"timeBand": "standard",
"type": "tts_vc_model",
"priceName": "声音复刻及声音设计"
},
{
"priceUnit": "每万字符",
"price": "2",
"timeBand": "standard",
"type": "cosy_tts_number",
"priceName": "语音合成"
}
],
"qpmInfo": {
"model-default-actual": {
"count_limit_period": 60,
Expand All @@ -145,6 +188,9 @@
"type": "model-default"
}
},
"priceTimeBands": [
"standard"
],
"capabilities": [
"TTS"
],
Expand All @@ -154,7 +200,6 @@
"maxInputTokens": 10000,
"inferenceProvider": "mini-max",
"name": "speech-02-turbo",
"predictConfig": [],
"samples": {
"dashscope": {
"default": {
Expand All @@ -176,11 +221,24 @@
"description": "MiniMax 语音大模型能够根据上下文,智能预测文本的情绪、语调等信息,并生成超自然、高保真、个性化的语音。在社交、播客、有声书、新闻资讯、教育、数字人等多种场景中展现出强大的实力。",
"features": [],
"provider": "mini-max",
"limit": {
"message": "model not exist"
},
"model": "MiniMax/speech-02-hd",
"iconUrl": "",
"prices": [
{
"priceUnit": "每次",
"price": "9.9",
"timeBand": "standard",
"type": "tts_vc_model",
"priceName": "声音复刻及声音设计"
},
{
"priceUnit": "每万字符",
"price": "3.5",
"timeBand": "standard",
"type": "cosy_tts_number",
"priceName": "语音合成"
}
],
"qpmInfo": {
"model-default-actual": {
"count_limit_period": 60,
Expand All @@ -199,6 +257,9 @@
"type": "model-default"
}
},
"priceTimeBands": [
"standard"
],
"capabilities": [
"TTS"
],
Expand All @@ -208,7 +269,6 @@
"maxInputTokens": 10000,
"inferenceProvider": "mini-max",
"name": "speech-02-hd",
"predictConfig": [],
"samples": {
"dashscope": {
"default": {
Expand Down
52 changes: 20 additions & 32 deletions skills/bailian-docs-llm-wiki/models/groups/aitryon-parsing-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,49 +14,37 @@
"description": "图片分割模型是AI试衣OutfitAnyone的辅助模型,可对模特图、服饰图进行分割,用于试衣图片的前后处理。",
"features": [],
"provider": "qwen",
"limit": {
"message": "model not exist"
},
"model": "aitryon-parsing-v1",
"prices": [
{
"priceUnit": "每张",
"price": "0.004",
"timeBand": "standard",
"type": "image_detect_number",
"priceName": "图片检测"
}
],
"priceTimeBands": [
"standard"
],
"capabilities": [
"IG"
],
"versionTag": "MAJOR",
"latestOnlineAt": "2025-01-15T13:13:06.000+00:00",
"inferenceProvider": "bailian",
"offlineInfo": {
"inference": {
"announceUrl": "https://www.aliyun.com/notice/118434",
"offlineTime": "2026-10-10 00:00:00"
}
},
"inferenceProvider": "aliyun-bailian",
"name": "AI试衣OutfitAnyone-图片分割",
"docUrl": "https://help.aliyun.com/document_detail/2865249.html",
"predictConfig": [
{
"name": "system",
"key": "systemMessage",
"tip": "系统人设,例如“你是一个AI助手”。"
},
{
"name": "top_p",
"key": "top_p",
"default": 0.8,
"tip": "控制核采样方法的概率阈值,取值越大,生成的随机性越高。",
"range": [
0.0001,
1
]
},
{
"name": "temperature",
"key": "temperature",
"default": 0.7,
"tip": "控制生成随机性和多样性,数值越高多样性越强,数值越低一致性越强,范围(0,2)。建议该参数和top_p只设置1个。",
"range": [
0,
1.9999
]
}
],
"samples": {
"dashscope": {
"default": {
"curl": "curl --location 'https://ws-nckitja1d28cec5v.cn-beijing.maas.aliyuncs.com/api/v1/services/vision/image-process/process' \\\n--header 'Content-Type: application/json' \\\n--header \"Authorization: Bearer $DASHSCOPE_API_KEY\" \\\n--data '{\n \"model\": \"aitryon-parsing-v1\",\n \"input\": {\n \"image_url\":\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250630/bakbqz/aitryon_parse_model.png\"\n },\n \"parameters\": {\n \"clothes_type\": [\"upper\"]\n }\n}'"
"curl": "curl --location 'https://[workspace-id].cn-beijing.maas.aliyuncs.com/api/v1/services/vision/image-process/process' \\\n--header 'Content-Type: application/json' \\\n--header \"Authorization: Bearer $DASHSCOPE_API_KEY\" \\\n--data '{\n \"model\": \"aitryon-parsing-v1\",\n \"input\": {\n \"image_url\":\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250630/bakbqz/aitryon_parse_model.png\"\n },\n \"parameters\": {\n \"clothes_type\": [\"upper\"]\n }\n}'"
}
}
}
Expand Down
Loading
Loading