Community程式設計與開發github.com

ComposioHQ/Mistral-AI-Automation

自動化 Mistral AI 操作——管理檔案與文件庫、上傳文件進行微調、批次處理與 OCR、追蹤微調任務,並透過 Composio MCP 整合建構 RAG 流程。

Mistral-AI-Automation 是什麼?

此技能讓開發者能夠透過 Composio MCP 伺服器,以程式化方式管理 Mistral AI 的完整生命週期。它支援上傳檔案(用於微調、批次處理或 OCR),管理文件庫以支援 RAG(檢索增強生成)代理,列出與檢索檔案中繼資料,以及追蹤微調任務的狀態。目的在於消除手動操作,讓 AI 代理能直接與 Mistral AI 互動,將檔案管理、文件庫建立及任務監控等流程自動化。此技能支援 Claude Code、Cursor、Codex 等工具,主要透過 Composio 的 MCP 整合(端點為 `https://rube.app/mcp`)運作,並使用 API 金鑰進行驗證。開發者需注意一些關鍵限制,例如微調僅接受 `.jsonl` 格式、單一檔案大小上限為 512 MB,以及部分工具在執行前須先呼叫 `RUBE_GET_TOOL_SCHEMAS` 以取得完整的輸入架構。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/mistral-ai-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Mistral AI 自動化

自動化您的 Mistral AI 工作流程——上傳檔案進行微調、批次處理與 OCR,管理支援 RAG 代理的文件庫,列出與檢索檔案,追蹤微調任務,並將 Mistral AI 整合至跨應用資料流程中。

工具組文件: composio.dev/toolkits/mistral_ai


設定

  1. 將 Composio MCP 伺服器新增至您的用戶端:https://rube.app/mcp
  2. 在提示時連結您的 Mistral AI 帳戶(API 金鑰驗證)
  3. 開始使用以下工作流程

核心工作流程

1. 上傳檔案至 Mistral AI

使用 MISTRAL_AI_UPLOAD_FILE 上傳檔案以進行微調、批量處理或 OCR。

工具:MISTRAL_AI_UPLOAD_FILE
輸入:
  - file:物件(必要)
    - name:字串 -- 目標檔案名稱(例如 "training_data.jsonl")
    - mimetype:字串 -- MIME 類型(例如 "application/pdf"、"application/jsonl")
    - s3key:字串 -- 先前下載/儲存檔案的 S3 鍵值
  - purpose:"fine-tune" | "batch" | "ocr"(預設 "fine-tune")

限制: 單一檔案大小上限為 512 MB。用於微調時,僅支援 .jsonl 格式。

2. 列出與檢索檔案

使用 MISTRAL_AI_LIST_FILES 以分頁方式瀏覽已上傳的檔案,並使用 MISTRAL_AI_RETRIEVE_FILE 取得特定檔案的中繼資料。

工具:MISTRAL_AI_LIST_FILES
輸入:
  - limit:整數(可選,最小值 1)
  - after:字串(下一頁的檔案 ID 游標)
  - order:"asc" | "desc"(預設 "desc")

工具:MISTRAL_AI_RETRIEVE_FILE
輸入:
  - file_id:字串(必要)-- 從「列出檔案」取得的 UUID

3. 建立文件庫

使用 MISTRAL_AI_CREATE_LIBRARY 將文件分組至文件庫中,以供支援 RAG 的 Mistral AI 代理使用。

工具:MISTRAL_AI_CREATE_LIBRARY
輸入:
  - name:字串(必要)-- 例如 "專案文件"
  - description:字串(可選)

4. 上傳文件至文件庫

使用 MISTRAL_AI_UPLOAD_LIBRARY_DOCUMENT 將文件新增至文件庫,供 Mistral AI 代理進行 RAG 檢索。

工具:MISTRAL_AI_UPLOAD_LIBRARY_DOCUMENT
  - 需要 library_id 與檔案詳細資訊
  - 使用前請呼叫 RUBE_GET_TOOL_SCHEMAS 以取得完整輸入結構

5. 列出文件庫與下載檔案

使用 MISTRAL_AI_LIST_LIBRARIES 探索可用的文件庫,並使用 MISTRAL_AI_DOWNLOAD_FILE 檢索檔案內容。

工具:MISTRAL_AI_LIST_LIBRARIES
  - 列出所有文件庫及其中繼資料(ID、名稱、文件計數)
  - 呼叫 RUBE_GET_TOOL_SCHEMAS 以取得完整輸入結構

工具:MISTRAL_AI_DOWNLOAD_FILE
  - 下載先前上傳檔案的原始二進位內容
  - 呼叫 RUBE_GET_TOOL_SCHEMAS 以取得完整輸入結構

6. 追蹤微調任務

使用 MISTRAL_AI_GET_FINE_TUNING_JOBS 按模型、狀態與建立時間列出並篩選微調任務。

工具:MISTRAL_AI_GET_FINE_TUNING_JOBS
  - 支援按模型、狀態、建立時間及 W&B 整合進行篩選
  - 呼叫 RUBE_GET_TOOL_SCHEMAS 以取得完整輸入結構

已知陷阱

陷阱詳細說明
微調檔案格式微調上傳僅支援 .jsonl 格式。其他格式將被拒絕。
檔案大小限制單一檔案上傳大小上限為 512 MB。
檔案物件結構MISTRAL_AI_UPLOAD_FILE 需要一個指向先前儲存檔案的 s3key,而非原始二進位內容。請先使用下載動作將檔案暫存至 S3。
分頁游標MISTRAL_AI_LIST_FILES 透過 after 參數(檔案 ID)使用基於游標的分頁。請持續擷取直到不再有結果回傳。
文件庫文件處理上傳至文件庫的文件會非同步處理。它們在上傳後可能不會立即可用於 RAG 查詢。
結構參考部分工具(MISTRAL_AI_UPLOAD_LIBRARY_DOCUMENT、MISTRAL_AI_LIST_LIBRARIES、MISTRAL_AI_GET_FINE_TUNING_JOBS、MISTRAL_AI_DOWNLOAD_FILE)需要在執行前呼叫 RUBE_GET_TOOL_SCHEMAS 以載入完整輸入結構。

快速參考

工具代號說明
MISTRAL_AI_UPLOAD_FILE上傳檔案以進行微調、批次處理或 OCR
MISTRAL_AI_LIST_FILES以分頁方式列出已上傳的檔案
MISTRAL_AI_RETRIEVE_FILE依 ID 取得特定檔案的中繼資料
MISTRAL_AI_DOWNLOAD_FILE下載已上傳檔案的內容
MISTRAL_AI_CREATE_LIBRARY建立一個用於 RAG 的文件庫
MISTRAL_AI_LIST_LIBRARIES列出所有文件庫及其中繼資料
MISTRAL_AI_UPLOAD_LIBRARY_DOCUMENT將文件新增至文件庫以用於 RAG
MISTRAL_AI_GET_FINE_TUNING_JOBS列出並篩選微調任務

由 Composio 提供技術支援

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相關技能