Loading...
    • 開發者指南
    • API 參考
    • MCP
    • 資源
    • 發行說明
    Search...
    ⌘K

    第一步

    Claude 介紹快速入門

    模型與定價

    模型概覽選擇模型Claude 4.5 的新功能遷移到 Claude 4.5模型棄用定價

    使用 Claude 建構

    功能概覽使用 Messages API上下文視窗提示詞最佳實踐

    功能

    提示詞快取上下文編輯延伸思考串流訊息批次處理引用多語言支援Token 計數嵌入向量視覺PDF 支援Files API搜尋結果Google Sheets 附加元件

    工具

    概述如何實現工具使用代幣高效工具使用細粒度工具串流Bash 工具代碼執行工具電腦使用工具文字編輯工具網頁擷取工具網路搜尋工具記憶工具

    代理技能

    概述在 API 中開始使用 Agent Skills技能編寫最佳實踐使用 Agent Skills 與 API

    Agent SDK

    概述Agent SDK 參考 - TypeScriptPython SDK

    指南

    串流輸入處理權限會話管理託管 Agent SDK修改系統提示SDK 中的 MCP自訂工具SDK 中的子代理SDK 中的斜線命令SDK 中的代理技能追蹤成本和使用量待辦事項清單SDK 中的外掛程式

    API 中的 MCP

    MCP 連接器遠端 MCP 伺服器

    Claude 在第三方平台上

    Amazon BedrockVertex AI

    提示工程

    概述提示詞生成器使用提示模板提示詞改進器保持清晰和直接使用範例(多樣提示)讓 Claude 思考(思維鏈)使用 XML 標籤給 Claude 分配角色(系統提示詞)預填 Claude 的回應串接複雜提示長文本技巧延伸思考技巧

    測試與評估

    定義成功標準開發測試案例使用評估工具降低延遲

    加強防護措施

    減少幻覺提高輸出一致性防範越獄handle-streaming-refusals減少提示詞洩漏保持 Claude 的角色特性

    管理和監控

    Admin API 概述使用量和成本 APIClaude Code 分析 API
    Console
    功能

    多語言支援

    Claude 在多種語言的任務中表現出色,相對於英文保持強大的跨語言性能。

    概述

    Claude 展示了強大的多語言能力,特別是在跨語言的零樣本任務中表現出色。該模型在廣泛使用的語言和低資源語言中都保持一致的相對性能,使其成為多語言應用的可靠選擇。

    請注意,Claude 能夠使用許多超出下面基準測試的語言。我們鼓勵您使用與您特定用例相關的任何語言進行測試。

    性能數據

    以下是 Claude 4、Claude 3.7 Sonnet 和 Claude 3.5 模型在不同語言中的零樣本思維鏈評估分數,顯示為相對於英文性能 (100%) 的百分比:

    語言Claude Opus 41Claude Sonnet 41Claude Sonnet 3.7 (已棄用)1Claude Haiku 3.5
    英文 (基準,固定為 100%)100%100%100%100%
    西班牙文98.0%97.5%97.6%94.6%
    葡萄牙文 (巴西)97.3%97.2%97.3%94.6%
    義大利文97.5%97.3%97.2%95.0%
    法文97.7%97.1%96.9%95.3%
    印尼文97.2%96.2%96.3%91.2%
    德文97.1%94.7%96.2%92.5%
    阿拉伯文96.9%96.1%95.4%84.7%
    中文 (簡體)96.7%95.9%95.3%90.9%
    韓文96.4%95.9%95.2%89.1%
    日文96.2%95.6%95.0%90.8%
    印地文96.7%95.8%94.2%80.1%
    孟加拉文95.2%94.4%92.4%72.9%
    史瓦希里文89.5%87.1%89.2%64.7%
    約魯巴文78.9%76.4%76.7%46.1%

    1 使用延伸思考。

    這些指標基於 MMLU (大規模多任務語言理解) 英文測試集,由專業人工翻譯人員翻譯成 14 種其他語言,如 OpenAI 的 simple-evals 儲存庫 所記錄。使用人工翻譯人員進行此評估可確保高品質的翻譯,這對於數位資源較少的語言尤其重要。


    最佳實踐

    使用多語言內容時:

    1. 提供清晰的語言背景:雖然 Claude 可以自動偵測目標語言,但明確說明所需的輸入/輸出語言會提高可靠性。為了增強流暢性,您可以提示 Claude 使用「如同母語使用者般的習慣用語」。
    2. 使用原生文字:以原生文字而非音譯方式提交文本以獲得最佳結果
    3. 考慮文化背景:有效的溝通通常需要超越純粹翻譯的文化和地區意識

    我們也建議遵循我們的一般提示工程指南以更好地改進 Claude 的性能。


    語言支援考量

    • Claude 可以處理使用標準 Unicode 字元的大多數世界語言的輸入並生成輸出
    • 性能因語言而異,在廣泛使用的語言中具有特別強大的能力
    • 即使在數位資源較少的語言中,Claude 也能保持有意義的能力

    提示工程指南

    掌握提示製作的藝術,充分發揮 Claude 的潛力。

    提示庫

    尋找各種任務和行業的預製提示。非常適合靈感或快速開始。

      © 2025 ANTHROPIC PBC

      Products

      • Claude
      • Claude Code
      • Max plan
      • Team plan
      • Enterprise plan
      • Download app
      • Pricing
      • Log in

      Features

      • Claude and Slack
      • Claude in Excel

      Models

      • Opus
      • Sonnet
      • Haiku

      Solutions

      • AI agents
      • Code modernization
      • Coding
      • Customer support
      • Education
      • Financial services
      • Government
      • Life sciences

      Claude Developer Platform

      • Overview
      • Developer docs
      • Pricing
      • Amazon Bedrock
      • Google Cloud’s Vertex AI
      • Console login

      Learn

      • Blog
      • Catalog
      • Courses
      • Use cases
      • Connectors
      • Customer stories
      • Engineering at Anthropic
      • Events
      • Powered by Claude
      • Service partners
      • Startups program

      Company

      • Anthropic
      • Careers
      • Economic Futures
      • Research
      • News
      • Responsible Scaling Policy
      • Security and compliance
      • Transparency

      Help and security

      • Availability
      • Status
      • Support center

      Terms and policies

      • Privacy policy
      • Responsible disclosure policy
      • Terms of service: Commercial
      • Terms of service: Consumer
      • Usage policy

      Products

      • Claude
      • Claude Code
      • Max plan
      • Team plan
      • Enterprise plan
      • Download app
      • Pricing
      • Log in

      Features

      • Claude and Slack
      • Claude in Excel

      Models

      • Opus
      • Sonnet
      • Haiku

      Solutions

      • AI agents
      • Code modernization
      • Coding
      • Customer support
      • Education
      • Financial services
      • Government
      • Life sciences

      Claude Developer Platform

      • Overview
      • Developer docs
      • Pricing
      • Amazon Bedrock
      • Google Cloud’s Vertex AI
      • Console login

      Learn

      • Blog
      • Catalog
      • Courses
      • Use cases
      • Connectors
      • Customer stories
      • Engineering at Anthropic
      • Events
      • Powered by Claude
      • Service partners
      • Startups program

      Company

      • Anthropic
      • Careers
      • Economic Futures
      • Research
      • News
      • Responsible Scaling Policy
      • Security and compliance
      • Transparency

      Help and security

      • Availability
      • Status
      • Support center

      Terms and policies

      • Privacy policy
      • Responsible disclosure policy
      • Terms of service: Commercial
      • Terms of service: Consumer
      • Usage policy
      © 2025 ANTHROPIC PBC