Newsroom Anthropic 02月26日
Introducing Citations on the Anthropic API
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Anthropic推出了名为Citations的全新API功能,旨在让Claude能够基于源文档给出答案,并提供详细的引用,精确指向生成回复时使用的句子和段落,从而提高输出的可验证性和可信度。Citations已在Anthropic API和Google Cloud的Vertex AI上全面推出。该功能通过验证来增强信任,解决了AI应用中验证AI生成回复来源的需求,无需复杂的提示工程,即可提高召回准确率达15%。Citations适用于文档总结、复杂问答和客户支持等多种场景,例如,生成案例文件的简洁摘要,将每个关键点链接回原始来源;提供针对大型文档语料库(如财务报表)的用户查询的详细答案,并将每个回复元素追溯到相关文本的特定部分。

📄Citations是Anthropic推出的一项API新功能,让Claude能够依据源文档提供答案,并能详细追溯到生成回复时所使用的具体语句段落,进而产出更可信、可验证的内容。

💡Citations的功能在于用户可以将源文档添加到上下文中,当查询模型时,Claude会自动引用输出中从这些源文档中推断出的声明,无需复杂的提示工程,其内置的引用能力比大多数自定义实现提高了高达15%的召回准确率。

🤝Thomson Reuters利用Claude驱动其AI平台CoCounsel,帮助法律和税务专业人士综合专家知识,为客户提供全面的建议。通过Citations功能,CoCounsel能够更轻松地引用和链接到主要来源,这不仅有助于最大限度地降低幻觉风险,还能增强对AI生成内容的信任。

📈Endex使用Claude来驱动金融公司的Autonomous Agent。借助Anthropic的Citations,他们将源幻觉和格式问题从10%降低到0%,并且每次响应的引用次数增加了20%。这消除了围绕参考文献进行复杂提示工程的需要,并提高了进行复杂的多阶段金融研究时的准确性。

Today, we're launching Citations, a new API feature that lets Claude ground its answers in source documents. Claude can now provide detailed references to the exact sentences and passages it uses to generate responses, leading to more verifiable, trustworthy outputs.

Citations is generally available on the Anthropic API and Google Cloud’s Vertex AI.

Trust by verification

All Claude models are trained to be trustworthy and steerable by design. Citations builds upon this foundation, addressing a specific need in AI applications: verifying the sources behind AI-generated responses.

Previously, developers relied on complex prompts that instruct Claude to include source information, often resulting in inconsistent performance and significant time investment in prompt engineering and testing. With Citations, users can now add source documents to the context window, and when querying the model, Claude automatically cites claims in its output that are inferred from those sources.

Our internal evaluations show that Claude's built-in citation capabilities outperform most custom implementations, increasing recall accuracy by up to 15%.1

Use cases

With Citations, developers can create AI solutions that offer enhanced accountability across use cases like:

    Document summarization: Generate concise summaries of long documents, like case files, with each key point linked back to its original source.Complex Q&A: Provide detailed answers to user queries across a large corpus of documents, like financial statements, with each response element traced back to specific sections of relevant texts.Customer support: Create support systems that can answer complex queries by referencing multiple product manuals, FAQs, and support tickets, always citing the exact source of information.

How it works

When Citations is enabled, the API processes user-provided source documents (PDF documents and plain text files) by chunking them into sentences. These chunked sentences, along with user-provided context, are then passed to the model with the user's query. Alternatively, users can provide their own chunks for the source documents.

Claude analyzes the query and generates a response that includes precise citations based on the provided chunks and context for any claims derived from the source material. Cited text will reference source documents to minimize hallucinations.

This approach offers superior flexibility and ease of use, as it doesn't require file storage and seamlessly integrates with the Messages API.

Pricing

Citations uses our standard token-based pricing model. While it may use additional input tokens to process documents, users will not pay for output tokens that return the quoted text itself.

Customer spotlight: Thomson Reuters

Thomson Reuters uses Claude to power their AI platform, CoCounsel, helping legal and tax professionals synthesize expert knowledge and deliver comprehensive advice to clients.

“For CoCounsel to be trustworthy and immediately useful for practicing attorneys, it needs to cite its work. We first built this ourselves, but it was really hard to build and maintain. That's why we were excited to test out Anthropic’s Citations functionality. It makes citing and linking to primary sources much easier to build, maintain, and deploy to our users. This capability not only helps minimize hallucination risk but also strengthens trust in AI-generated content. The Citations feature will enable us to build an even more accurate and thorough AI assistant for lawyers,” said Jake Heller, Head of Product, CoCounsel, Thomson Reuters.

Customer Spotlight: Endex

Endex uses Claude to power an Autonomous Agent for financial firms.

"With Anthropic's Citations, we reduced source hallucinations and formatting issues from 10% to 0% and saw a 20% increase in references per response. This removed the need for elaborate prompt engineering around references and improved our accuracy when conducting complex, multi-stage financial research,” said Tarun Amasa, CEO, Endex.

Get started

Citations is now available for the new Claude 3.5 Sonnet and Claude 3.5 Haiku. To start using Citations, explore our documentation.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Citations Anthropic Claude AI可信度 溯源
相关文章