AWS Blogs 04月29日 01:38
Writer Palmyra X5 and X4 foundation models are now available in Amazon Bedrock
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

AWS宣布在Amazon Bedrock上推出Writer Palmyra X5和X4模型,为企业级应用提供支持。Palmyra X5拥有100万token的上下文窗口,X4支持128K token,提供强大的推理能力和企业级安全标准。这些模型适用于金融服务、医疗保健、零售和科技等多个行业,能够处理复杂的任务,并支持多步工具调用,助力企业构建生成式AI应用。

🚀 Writer Palmyra X5和X4模型现已在Amazon Bedrock上推出,作为完全托管的、无服务器的产品提供。

🧠 Palmyra X5拥有100万token的上下文窗口,Palmyra X4支持128K token,满足企业处理大量信息的需要。

🛡️ 这些模型专为企业级用例设计,符合SOC 2、PCI DSS和HIPAA等合规性标准,确保数据安全。

💼 Palmyra模型支持金融服务、医疗保健、零售和科技等多个行业的各种应用,例如财务服务的交易支持和医疗保健的会员管理等。

🛠️ Palmyra模型支持自适应思维和多步工具调用,能够与企业系统交互,执行更新系统、发送电子邮件等任务。

<section class="blog-post-content lb-rtxt"><table id="amazon-polly-audio-table"><tbody><tr><td id="amazon-polly-audio-tab"><p></p></td></tr></tbody></table><p>One thing we’ve witnessed in recent months is the expansion of context windows in <a href="https://aws.amazon.com/what-is/foundation-models/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;foundation models (FMs)</a>, with many now handling sequence lengths that would have been unimaginable just a year ago. However, building AI-powered applications that can process vast amounts of information while maintaining the reliability and security standards required for enterprise use remains challenging.</p><p>For these reasons, we’re excited to announce that <a href="https://aws.amazon.com/bedrock/writer/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Writer Palmyra X5 and X4</a> models are available today in <a href="https://aws.amazon.com/bedrock/&quot;&gt;Amazon Bedrock</a> as a fully managed, serverless offering. AWS is the first major cloud provider to deliver fully managed models from Writer. Palmyra X5 is a new model launched today by Writer. Palmyra X4 was previously available in <a href="https://aws.amazon.com/bedrock/marketplace/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon Bedrock Marketplace</a>.</p><p>Writer Palmyra models offer robust reasoning capabilities that support complex agent-based workflows while maintaining enterprise security standards and reliability. Palmyra X5 features a one million token context window, and Palmyra X4 supports a 128K token context window. With these extensive context windows, these models remove some of the traditional constraints for app and agent development, enabling deeper analysis and more comprehensive task completion.</p><p>With this launch, Amazon Bedrock continues to bring access to the most advanced models and the tools you need to build generative AI applications with security, privacy, and <a href="https://aws.amazon.com/ai/responsible-ai/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;responsible AI</a>.</p><p>As a pioneer in FM development, Writer trains and fine-tunes its industry leading models on <a href="https://aws.amazon.com/sagemaker-ai/hyperpod/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon SageMaker HyperPod</a>. With its optimized distributed training environment, Writer reduces training time and brings its models to market faster.</p><p><strong>Palmyra X5 and X4 use cases<br /></strong> Writer Palmyra X5 and X4 are designed specifically for enterprise use cases, combining powerful capabilities with stringent security measures, including <a href="https://aws.amazon.com/compliance/soc-faqs/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;System and Organization Controls (SOC) 2</a>, <a href="https://aws.amazon.com/compliance/pci-dss-level-1-faqs/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Payment Card Industry Data Security Standard (PCI DSS)</a>, and <a href="https://aws.amazon.com/compliance/hipaa-compliance/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Health Insurance Portability and Accountability Act (HIPAA)</a> <a href="https://aws.amazon.com/compliance/&quot;&gt;compliance&lt;/a&gt; certifications.</p><p>Palmyra X5 and X4 models excel in various enterprise use cases across multiple industries:</p><p><strong>Financial services</strong> – Palmyra models power solutions across investment banking and asset and wealth management, including deal transaction support, 10-Q, 10-K and earnings transcript highlights, fund and market research, and personalized client outreach at scale.</p><p><strong>Healthcare and life science</strong> – Payors and providers use Palmyra models to build solutions for member acquisition and onboarding, appeals and grievances, case and utilization management, and employer request for proposal (RFP) response. Pharmaceutical companies use these models for commercial applications, medical affairs, R&amp;D, and clinical trials.</p><p><strong>Retail and consumer goods</strong> – Palmyra models enable AI solutions for product description creation and variation, performance analysis, SEO updates, brand and compliance reviews, automated campaign workflows, and RFP analysis and response.</p><p><strong>Technology</strong> – Companies across the technology sector implement Palmyra models for personalized and account-based marketing, content creation, campaign workflow automation, account preparation and research, knowledge support, job briefs and candidate reports, and RFP responses.</p><p>Palmyra models support a comprehensive suite of enterprise-grade capabilities, including:</p><p><strong>Adaptive thinking</strong> – Hybrid models combining advanced reasoning with enterprise-grade reliability, excelling at complex problem-solving and sophisticated decision-making processes.</p><p><strong>Multistep tool-calling</strong> – Support for advanced tool-calling capabilities that can be used in complex multistep workflows and agentic actions, including interaction with enterprise systems to perform tasks like updating systems, executing transactions, sending emails, and triggering workflows.</p><p><strong>Enterprise-grade reliability</strong> – Consistent, accurate results while maintaining strict quality standards required for enterprise use, with models specifically trained on business content to align outputs with professional standards.</p><p><strong>Using Palmyra X5 and X4 in Amazon Bedrock<br /></strong> As for all new serverless models in Amazon Bedrock, I need to request access first. In the <a href="https://console.aws.amazon.com/bedrock?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon Bedrock console</a>, I choose <strong>Model access</strong> from the navigation pane to enable access to <strong>Palmyra X5</strong> and <strong>Palmyra X4</strong> models.</p><p><a href="https://d2908q01vomqb2.cloudfront.net/da4b9237bacccdf19c0760cab7aec4a8359010b0/2025/04/22/bedrock-writer-model-access.png&quot;&gt;&lt;img class="aligncenter size-full wp-image-95404" src="https://d2908q01vomqb2.cloudfront.net/da4b9237bacccdf19c0760cab7aec4a8359010b0/2025/04/22/bedrock-writer-model-access.png&quot; alt="Console screenshot" width="1385" height="366" /></a></p><p>When I have access to the models, I can start building applications with any <a href="https://aws.amazon.com/tools/&quot;&gt;AWS SDKs</a> using the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon Bedrock Converse API</a>. The models use <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;cross-Region inference</a> with these inference profiles:</p><ul><li>For Palmyra X5: <code>us.writer.palmyra-x5-v1:0</code></li><li>For Palmyra X4: <code>us.writer.palmyra-x4-v1:0</code></li></ul><p>Here’s a sample implementation with the <a href="https://aws.amazon.com/sdk-for-python/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;AWS SDK for Python (Boto3)</a>. In this scenario, there is a new version of an existing product. I need to prepare a detailed comparison of what’s new. I have the old and new product manuals. I use the large input context of Palmyra X5 to read and compare the two versions of the manual and prepare a first draft of the comparison document.</p><pre class="lang-python">import sysimport osimport boto3import reAWS_REGION = "us-west-2"MODEL_ID = "us.writer.palmyra-x5-v1:0"DEFAULT_OUTPUT_FILE = "product_comparison.md"def create_bedrock_runtime_client(region: str = AWS_REGION): """Create and return a Bedrock client.""" return boto3.client('bedrock-runtime', region_name=region)def get_file_extension(filename: str) -&gt; str: """Get the file extension.""" return os.path.splitext(filename)[1].lower()[1:] or 'txt'def sanitize_document_name(filename: str) -&gt; str: """Sanitize document name.""" # Remove extension and get base name name = os.path.splitext(filename)[0] # Replace invalid characters with space name = re.sub(r'[^a-zA-Z0-9\s-()[]]', ' ', name) # Replace multiple spaces with single space name = re.sub(r'\s+', ' ', name) # Strip leading/trailing spaces return name.strip()def read_file(file_path: str) -&gt; bytes: """Read a file in binary mode.""" try: with open(file_path, 'rb') as file: return file.read() except Exception as e: raise Exception(f"Error reading file {file_path}: {str(e)}")def generate_comparison(client, document1: bytes, document2: bytes, filename1: str, filename2: str) -&gt; str: """Generate a markdown comparison of two product manuals.""" print(f"Generating comparison for {filename1} and {filename2}") try: response = client.converse( modelId=MODEL_ID, messages=[ { "role": "user", "content": [ { "text": "Please compare these two product manuals and create a detailed comparison in markdown format. Focus on comparing key features, specifications, and highlight the main differences between the products." }, { "document": { "format": get_file_extension(filename1), "name": sanitize_document_name(filename1), "source": { "bytes": document1 } } }, { "document": { "format": get_file_extension(filename2), "name": sanitize_document_name(filename2), "source": { "bytes": document2 } } } ] } ] ) return response['output']['message']['content'][0]['text'] except Exception as e: raise Exception(f"Error generating comparison: {str(e)}")def main(): if len(sys.argv) &lt; 3 or len(sys.argv) &gt; 4: cmd = sys.argv[0] print(f"Usage: {cmd} &lt;manual1_path&gt; &lt;manual2_path&gt; [output_file]") sys.exit(1) manual1_path = sys.argv[1] manual2_path = sys.argv[2] output_file = sys.argv[3] if len(sys.argv) == 4 else DEFAULT_OUTPUT_FILE paths = [manual1_path, manual2_path] # Check each file's existence for path in paths: if not os.path.exists(path): print(f"Error: File does not exist: {path}") sys.exit(1) try: # Create Bedrock client bedrock_runtime = create_bedrock_runtime_client() # Read both manuals print("Reading documents...") manual1_content = read_file(manual1_path) manual2_content = read_file(manual2_path) # Generate comparison directly from the documents print("Generating comparison...") comparison = generate_comparison( bedrock_runtime, manual1_content, manual2_content, os.path.basename(manual1_path), os.path.basename(manual2_path) ) # Save comparison to file with open(output_file, 'w') as f: f.write(comparison) print(f"Comparison generated successfully! Saved to {output_file}") except Exception as e: print(f"Error: {str(e)}") sys.exit(1)if name == "main": main()</pre><p>To learn how to use Amazon Bedrock with AWS SDKs, browse the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/service_code_examples.html&quot;&gt;code samples in the Amazon Bedrock User Guide</a>.</p><p><strong>Things to know</strong><br /><a href="https://aws.amazon.com/bedrock/writer/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Writer Palmyra X5 and X4 models</a> are available in <a href="https://aws.amazon.com/bedrock/&quot;&gt;Amazon Bedrock</a> today in the US West (Oregon) <a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;AWS Region</a> with <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;cross-Region inference</a>. For the most up-to-date information on model support by Region, refer to the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon Bedrock documentation</a>. For information on pricing, visit <a href="https://aws.amazon.com/bedrock/pricing/?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon Bedrock pricing</a>.</p><p>These models support English, Spanish, French, German, Chinese, and multiple other languages, making them suitable for global enterprise applications.</p><p>Using the expansive context capabilities of these models, developers can build more sophisticated applications and agents that can process extensive documents, perform complex multistep reasoning, and handle sophisticated agentic workflows.</p><p>To start using Writer Palmyra X5 and X4 models today, visit the Writer model section in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;Amazon Bedrock User Guide</a>. You can also explore how our Builder communities are using Amazon Bedrock in their solutions in the generative AI section of our <a href="https://community.aws/generative-ai?trk=e61dee65-4ce8-4738-84db-75305c9cd4fe&amp;amp;sc_channel=el&quot;&gt;community.aws&lt;/a&gt; site.</p><p>Let us know what you build with these powerful new capabilities!</p><p>— <a href="https://x.com/danilop&quot;&gt;Danilo&lt;/a&gt;&lt;/p&gt;&lt;hr /><p>How is the News Blog doing? Take this <a href="https://amazonmr.au1.qualtrics.com/jfe/form/SV_eyD5tC5xNGCdCmi&quot;&gt;1 minute survey</a>!</p><p><em>(This <a href="https://amazonmr.au1.qualtrics.com/jfe/form/SV_eyD5tC5xNGCdCmi&quot;&gt;survey&lt;/a&gt; is hosted by an external company. AWS handles your information as described in the <a href="https://aws.amazon.com/privacy/?trk=4b29643c-e00f-4ab6-ab9c-b1fb47aa1708&amp;amp;sc_channel=blog&quot;&gt;AWS Privacy Notice</a>. AWS will own the data gathered via this survey and will not share the information collected with survey respondents.)</em></p></section><aside id="Comments" class="blog-comments"><div data-lb-comp="aws-blog:cosmic-comments" data-env="prod" data-content-id="0d59c907-50b4-41ed-95aa-502b915ee85f" data-title="Writer Palmyra X5 and X4 foundation models are now available in Amazon Bedrock" data-url="https://aws.amazon.com/blogs/aws/writer-palmyra-x5-and-x4-foundation-models-are-now-available-in-amazon-bedrock/&quot;&gt;&lt;p data-failed-message="Comments cannot be loaded… Please refresh and try again.">Loading comments…</p></div></aside>

Fish AI Reader

Fish AI Reader

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

FishAI

FishAI

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

联系邮箱 441953276@qq.com

相关标签

Writer Palmyra Amazon Bedrock 大模型 企业级应用
相关文章