You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1724 lines
75 KiB

{
"cells": [
{
"cell_type": "markdown",
"id": "a98030af-fcd1-4d63-a36e-38ba053498fa",
"metadata": {},
"source": [
"# A full business solution\n",
"\n",
"Create a product that builds a Brochure for a company to be used for prospective clients, investors and potential recruits.\n",
"\n",
"We will be provided a company name and their primary website.\n",
"\n",
"See the end of this notebook for examples of real-world business applications.\n",
"\n",
"And remember: I'm always available if you have problems or ideas! Please do reach out."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "d5b08506-dc8b-4443-9201-5f1848161363",
"metadata": {},
"outputs": [],
"source": [
"# imports\n",
"\n",
"import os\n",
"import requests\n",
"import json\n",
"from typing import List\n",
"from dotenv import load_dotenv\n",
"from bs4 import BeautifulSoup\n",
"from IPython.display import Markdown, display, update_display\n",
"from openai import OpenAI"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "fc5d8880-f2ee-4c06-af16-ecbc0262af61",
"metadata": {},
"outputs": [],
"source": [
"# Initialize and constants\n",
"\n",
"load_dotenv()\n",
"os.environ['OPENAI_API_KEY'] = os.getenv('OPENAI_API_KEY', 'your-key-if-not-using-env')\n",
"MODEL = 'gpt-4o-mini'\n",
"openai = OpenAI()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "106dd65e-90af-4ca8-86b6-23a41840645b",
"metadata": {},
"outputs": [],
"source": [
"# A class to represent a Webpage\n",
"\n",
"class Website:\n",
" url: str\n",
" title: str\n",
" body: str\n",
" links: List[str]\n",
" text: str\n",
"\n",
" def __init__(self, url):\n",
" self.url = url\n",
" response = requests.get(url)\n",
" self.body = response.content\n",
" soup = BeautifulSoup(self.body, 'html.parser')\n",
" self.title = soup.title.string if soup.title else \"No title found\"\n",
" if soup.body:\n",
" for irrelevant in soup.body([\"script\", \"style\", \"img\", \"input\"]):\n",
" irrelevant.decompose()\n",
" self.text = soup.body.get_text(separator=\"\\n\", strip=True)\n",
" else:\n",
" self.text = \"\"\n",
" links = [link.get('href') for link in soup.find_all('a')]\n",
" self.links = [link for link in links if link]\n",
"\n",
" def get_contents(self):\n",
" return f\"Webpage Title:\\n{self.title}\\nWebpage Contents:\\n{self.text}\\n\\n\""
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "e30d8128-933b-44cc-81c8-ab4c9d86589a",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Webpage Title:\n",
"الرئيسية\n",
"Webpage Contents:\n",
"\n",
"\n",
"\n"
]
}
],
"source": [
"ed = Website(\"https://www.scripters.academy/\")\n",
"print(ed.get_contents())"
]
},
{
"cell_type": "markdown",
"id": "1771af9c-717a-4fca-bbbe-8a95893312c3",
"metadata": {},
"source": [
"## First step: Have GPT-4o-mini figure out which links are relevant\n",
"\n",
"### Use a call to gpt-4o-mini to read the links on a webpage, and respond in structured JSON. \n",
"It should decide which links are relevant, and replace relative links such as \"/about\" with \"https://company.com/about\". \n",
"We will use \"one shot prompting\" in which we provide an example of how it should respond in the prompt.\n",
"\n",
"Sidenote: there is a more advanced technique called \"Structured Outputs\" in which we require the model to respond according to a spec. We cover this technique in Week 8 during our autonomous Agentic AI project."
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "6957b079-0d96-45f7-a26a-3487510e9b35",
"metadata": {},
"outputs": [],
"source": [
"link_system_prompt = \"You are provided with a list of links found on a webpage. \\\n",
"You are able to decide which of the links would be most relevant to include in a brochure about the company, \\\n",
"such as links to an About page, or a Company page, or Careers/Jobs pages.\\n\"\n",
"link_system_prompt += \"You should respond in JSON as in this example:\"\n",
"link_system_prompt += \"\"\"\n",
"{\n",
" \"links\": [\n",
" {\"type\": \"about page\", \"url\": \"https://full.url/goes/here/about\"},\n",
" {\"type\": \"careers page\": \"url\": \"https://another.full.url/careers\"}\n",
" ]\n",
"}\n",
"\"\"\""
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "8e1f601b-2eaf-499d-b6b8-c99050c9d6b3",
"metadata": {},
"outputs": [],
"source": [
"def get_links_user_prompt(website):\n",
" user_prompt = f\"Here is the list of links on the website of {website.url} - \"\n",
" user_prompt += \"please decide which of these are relevant web links for a brochure about the company, respond with the full https URL in JSON format. \\\n",
"Do not include Terms of Service, Privacy, email links.\\n\"\n",
" user_prompt += \"Links (some might be relative links):\\n\"\n",
" user_prompt += \"\\n\".join(website.links)\n",
" return user_prompt"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "6bcbfa78-6395-4685-b92c-22d592050fd7",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Here is the list of links on the website of https://www.scripters.academy/ - please decide which of these are relevant web links for a brochure about the company, respond with the full https URL in JSON format. Do not include Terms of Service, Privacy, email links.\n",
"Links (some might be relative links):\n",
"\n"
]
}
],
"source": [
"print(get_links_user_prompt(ed))"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "a29aca19-ca13-471c-a4b4-5abbfa813f69",
"metadata": {},
"outputs": [],
"source": [
"def get_links(url):\n",
" website = Website(url)\n",
" completion = openai.chat.completions.create(\n",
" model=MODEL,\n",
" messages=[\n",
" {\"role\": \"system\", \"content\": link_system_prompt},\n",
" {\"role\": \"user\", \"content\": get_links_user_prompt(website)}\n",
" ],\n",
" response_format={\"type\": \"json_object\"}\n",
" )\n",
" result = completion.choices[0].message.content\n",
" return json.loads(result)"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "d3d583e2-dcc4-40cc-9b28-1e8dbf402924",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'links': [{'type': 'about page', 'url': 'https://anthropic.com/company'},\n",
" {'type': 'careers page', 'url': 'https://anthropic.com/careers'},\n",
" {'type': 'team page', 'url': 'https://anthropic.com/team'},\n",
" {'type': 'research page', 'url': 'https://anthropic.com/research'},\n",
" {'type': 'enterprise page', 'url': 'https://anthropic.com/enterprise'},\n",
" {'type': 'api page', 'url': 'https://anthropic.com/api'},\n",
" {'type': 'pricing page', 'url': 'https://anthropic.com/pricing'},\n",
" {'type': 'news page', 'url': 'https://anthropic.com/news'}]}"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"get_links(\"https://anthropic.com\")"
]
},
{
"cell_type": "markdown",
"id": "0d74128e-dfb6-47ec-9549-288b621c838c",
"metadata": {},
"source": [
"## Second step: make the brochure!\n",
"\n",
"Assemble all the details into another prompt to GPT4-o"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "85a5b6e2-e7ef-44a9-bc7f-59ede71037b5",
"metadata": {},
"outputs": [],
"source": [
"def get_all_details(url):\n",
" result = \"Landing page:\\n\"\n",
" result += Website(url).get_contents()\n",
" links = get_links(url)\n",
" print(\"Found links:\", links)\n",
" for link in links[\"links\"]:\n",
" result += f\"\\n\\n{link['type']}\\n\"\n",
" result += Website(link[\"url\"]).get_contents()\n",
" return result"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "5099bd14-076d-4745-baf3-dac08d8e5ab2",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Found links: {'links': [{'type': 'about page', 'url': 'https://anthropic.com/company'}, {'type': 'careers page', 'url': 'https://anthropic.com/careers'}, {'type': 'team page', 'url': 'https://anthropic.com/team'}, {'type': 'research page', 'url': 'https://anthropic.com/research'}, {'type': 'enterprise page', 'url': 'https://anthropic.com/enterprise'}, {'type': 'api page', 'url': 'https://anthropic.com/api'}, {'type': 'pricing page', 'url': 'https://anthropic.com/pricing'}, {'type': 'news page', 'url': 'https://anthropic.com/news'}]}\n",
"Landing page:\n",
"Webpage Title:\n",
"Home \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"AI\n",
"research\n",
"and\n",
"products\n",
"that put safety at the frontier\n",
"Claude.ai\n",
"Meet Claude 3.5 Sonnet\n",
"Claude 3.5 Sonnet, our most intelligent AI model, is now available.\n",
"Talk to Claude\n",
"API\n",
"Build with Claude\n",
"Start using Claude to drive efficiency and create new revenue streams.\n",
"Learn more\n",
"Announcements\n",
"Introducing computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku\n",
"Oct 22, 2024\n",
"Model updates\n",
"3.5 Sonnet\n",
"3.5 Haiku\n",
"Our Work\n",
"Product\n",
"Claude for Enterprise\n",
"Sep 4, 2024\n",
"Alignment\n",
"·\n",
"Research\n",
"Constitutional AI: Harmlessness from AI Feedback\n",
"Dec 15, 2022\n",
"Announcements\n",
"Core Views on AI Safety: When, Why, What, and How\n",
"Mar 8, 2023\n",
"Work with Anthropic\n",
"Anthropic is an AI safety and research company based in San Francisco. Our interdisciplinary team has experience across ML, physics, policy, and product. Together, we generate research and create reliable, beneficial AI systems.\n",
"See open roles\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"about page\n",
"Webpage Title:\n",
"Company \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Making AI systems\n",
"you can rely on\n",
"Anthropic is an AI safety and research company. We build reliable, interpretable, and steerable AI systems.\n",
"Join us\n",
"Our Purpose\n",
"We believe AI will have a vast impact on the world. Anthropic is dedicated to building systems that people can rely on and generating research about the opportunities and risks of AI.\n",
"We Build Safer Systems\n",
"We aim to build frontier AI systems that are reliable, interpretable, and steerable. We conduct frontier research, develop and apply a variety of safety techniques, and deploy the resulting systems via a set of partnerships and products.\n",
"Safety Is a Science\n",
"We treat AI safety as a systematic science, conducting research, applying it to our products, feeding those insights back into our research, and regularly sharing what we learn with the world along the way.\n",
"Interdisciplinary\n",
"Anthropic is a collaborative team of researchers, engineers, policy experts, business leaders and operators, who bring our experience from many different domains to our work.\n",
"AI Companies are One Piece of a Big Puzzle\n",
"AI has the potential to fundamentally change how the world works. We view ourselves as just one piece of this evolving puzzle. We collaborate with civil society, government, academia, nonprofits and industry to promote safety industry-wide.\n",
"The Team\n",
"We’re a team of researchers, engineers, policy experts and operational leaders, with experience spanning a variety of disciplines, all working together to build reliable and understandable AI systems.\n",
"Research\n",
"We conduct frontier AI research across a variety of modalities, and explore novel and emerging safety research areas from interpretability to RL from human feedback to policy and societal impacts analysis.\n",
"Policy\n",
"We think about the impacts of our work and strive to communicate what we’re seeing at the frontier to policymakers and civil society in the US and abroad to help promote safe and reliable AI.\n",
"Product\n",
"We translate our research into tangible, practical tools like Claude that benefit businesses, nonprofits and civil society groups and their clients and people around the globe.\n",
"Operations\n",
"Our people, finance, legal, and recruiting teams are the human engines that make Anthropic go. We’ve had previous careers at NASA, startups, and the armed forces and our diverse experiences help make Anthropic a great place to work (and we love plants!).\n",
"Our Values\n",
"01\n",
"Here for the mission\n",
"Anthropic exists for our mission: to ensure transformative AI helps people and society flourish. Progress this decade may be rapid, and we expect increasingly capable systems to pose novel challenges. We pursue our mission by building frontier systems, studying their behaviors, working to responsibly deploy them, and regularly sharing our safety insights. We collaborate with other projects and stakeholders seeking a similar outcome.\n",
"02\n",
"Unusually high trust\n",
"Our company is an unusually high trust environment: we assume good faith, disagree kindly, and prioritize honesty. We expect emotional maturity and intellectual openness. At its best, our trust enables us to make better decisions as an organization than any one of us could as individuals.\n",
"03\n",
"One big team\n",
"Collaboration is central to our work, culture, and value proposition. While we have many teams at Anthropic, we feel the broader sense in which we are all on the same team working together towards the mission. Leadership sets the strategy, with broad input from everyone, and trusts each piece of the organization to pursue these goals in their unique style. Individuals commonly contribute to work across many different areas.\n",
"04\n",
"Do the simple thing that works\n",
"We celebrate trying the simple thing before the clever, novel thing. We embrace pragmatism - sensible, practical approaches that acknowledge tradeoffs. We love empiricism - finding out what actually works by trying it - and apply this to our research, our engineering and our collaboration. We aim to be open about what we understand and what we don’t.\n",
"Governance\n",
"Anthropic is a Public Benefit Corporation, whose purpose is the responsible development and maintenance of advanced AI for the long-term benefit of humanity. Our Board of Directors is elected by stockholders and our Long-Term Benefit Trust, as explained\n",
"here.\n",
"Current members of the Board and the Long-Term Benefit Trust (LTBT) are listed below.\n",
"Anthropic Board of Directors\n",
"Dario Amodei, Daniela Amodei, Yasmin Razavi, and Jay Kreps.\n",
"LTBT Trustees\n",
"Neil Buddy Shah, Kanika Bahl, and Zach Robinson.\n",
"Company News\n",
"See All\n",
"Announcements\n",
"Introducing the Model Context Protocol\n",
"Nov 25, 2024\n",
"Announcements\n",
"Powering the next generation of AI development with AWS\n",
"Nov 22, 2024\n",
"Announcements\n",
"Claude 3.5 Sonnet on GitHub Copilot\n",
"Oct 29, 2024\n",
"Want to help us build the future of safe AI?\n",
"Join us\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"careers page\n",
"Webpage Title:\n",
"Careers \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Join the team\n",
"making AI safe\n",
"We’re a public benefit corporation headquartered in San Francisco. Our team’s experience spans a variety of backgrounds and disciplines, from physics and machine learning to public policy and business. We work as a cohesive team that collectively forecasts the impact and tractability of research ideas in advancing our mission.\n",
"See open roles\n",
"What We Offer\n",
"Health & Wellness\n",
"At Anthropic, we believe that supporting our employees is crucial to our collective success and wellbeing. That's why we offer a range of benefits to best support you and your family, now and in the future.\n",
"Comprehensive health, dental, and vision insurance for you and your dependents\n",
"Inclusive fertility benefits via Carrot Fertility\n",
"22 weeks of paid parental leave\n",
"Flexible paid time off and absence policies\n",
"Generous mental health support for you and your dependents\n",
"Compensation & Support\n",
"Our goal is to foster an environment where you can thrive professionally while feeling confident that you and your loved ones are taken care of.\n",
"Competitive salary and equity packages\n",
"Optional equity donation matching at a 1:1 ratio, up to 25% of your equity grant\n",
"Robust retirement plans and salary sacrifice programs with market competitive matching\n",
"Life and income protection plans\n",
"Additional Benefits\n",
"$500/month flexible wellness and time saver stipend\n",
"Commuter benefits\n",
"Annual education stipend\n",
"Home office stipends\n",
"Relocation support for those moving for Anthropic\n",
"Daily meals and snacks in the office\n",
"How We Hire\n",
"The interview process at Anthropic varies based on role and candidate, but our standard process looks like this:\n",
"Step 1\n",
"Resume\n",
"Submit your resume via our website.\n",
"Step 2\n",
"Exploratory chat\n",
"You’ll have a chat with one of our staff to discuss your career interests and relevant experience, and learn more about Anthropic.\n",
"Step 3\n",
"Skills Assessment\n",
"For technical roles, you’ll have a one-hour technical screening interview.\n",
"For operations or policy roles, you’ll get a take-home assignment. These typically involve writing responses to several role-relevant questions; they may occasionally require some outside research. Assignments usually take between 2-5 hours, depending on the role.\n",
"We include this to minimize bias and make well-informed hiring decisions. We think seeing a candidate’s work helps us assess how they might actually perform on the job; similarly, the assignment gives candidates a better idea of what their work at Anthropic might entail. If a candidate likes working through their take-home, that is one indicator that they would enjoy taking on the role, and vice versa.\n",
"We recognize that completing work assignments requires time and effort, and that they are not perfectly reflective of the role’s work. Nonetheless, we think that work tests are a useful complement to interviews and reference checks.\n",
"Step 4\n",
"Team Screen\n",
"You'll have a conversation with either the Hiring Manager or a member of your potential team.\n",
"Step 5\n",
"Interview Panel\n",
"For technical roles, you’ll have 3-4 more one-hour technical interviews, plus a culture interview.\n",
"For operations or policy roles, you’ll have 3-5 hours of interviews, including a culture interview.\n",
"Step 6\n",
"Final Checks\n",
"We’ll ask for some references, and have you chat with our leadership.\n",
"Step 7\n",
"Offer\n",
"We’ll make you an offer!\n",
"Technical Interviews\n",
"The novel challenges we think about at Anthropic demand diverse expertise and perspectives. Our interview process is designed to identify thoughtful candidates who bring unique strengths to our multidisciplinary team. If you think this may describe you, we’d love to hear from you regardless of your background or experience.\n",
"One of the most common questions we get is about whether it is worth applying to work at Anthropic if you have not worked on modern machine learning systems in the past. Yes! For some roles, ML experience is expected, but many technical staff have arrived at Anthropic with no machine learning experience. If you aren’t sure about the ML experience needed for your role, ask your recruiter.\n",
"We use shared environments like Colab and Replit for our programming-focused interviews. We’ll be very interested in how you think through each problem and analyze the tradeoffs between possible approaches, and we’ll also expect you to write, run, and debug your solutions. You’ll be allowed to look things up in documentation or on the web, just like you usually can (which is why we’ll ask you to share your screen throughout each interview); but it’s still important to be familiar with basic syntax, standard libraries, and common idioms in the language you’re interviewing in, so that looking things up doesn’t consume too much time. Your interview process will also include non-technical questions about your experience and what motivates you, and, of course, you’ll have time to ask us about Anthropic! We can’t wait to meet you.\n",
"Other Things\n",
"Engineers here do lots of research, and researchers do lots of engineering\n",
"While there’s historically been a division between engineering and research in machine learning, we think that boundary has dissolved with the advent of large models. The distribution of candidates we interview is strongly bimodal in both engineering and research experience however, and we have necessarily tailored our interview structure to that.\n",
"If you’ve an engineering background, please apply as an engineer. You’ll perform much better in the interviews, and if you join you’ll have as much input to Anthropic’s direction and interests as anyone else.\n",
"As evidence towards this: all of our papers have engineers as authors, and often as first author. Research and engineering hires all share a single title - ‘Member of Technical Staff’.\n",
"We value direct evidence of ability\n",
"If you’ve done interesting independent research, written an insightful blog post, or made substantial contributions to open-source software, put that at the top of your resume!\n",
"Feedback\n",
"We do not provide feedback on resumes or interviews.\n",
"Visas\n",
"Anthropic sponsors visas! We aren't able to sponsor them for every role and every candidate; operations roles are especially difficult to support. But if we make you an offer, we will make every effort to get you into the United States, and we retain an immigration lawyer to help with this.\n",
"Green cards\n",
"Once you’re eligible, we’re also keen to sponsor green cards!\n",
"Educational backgrounds and experience vary across our team and across our roles.\n",
"We do not require PhDs, degrees, or previous ML experience — About half of Anthropic technical staff have a PhD of some sort; about half had prior experience in ML. We have several brilliant colleagues who never went to college.\n",
"Remote interviewing\n",
"All our interviews are conducted over Google Meet. We prefer PST office hours, but we can be flexible if that’s difficult for you.\n",
"Re-applying\n",
"Similarly, if interviews don’t work out this time, you’re welcome to re-apply after 12 months, and earlier if something materially changes about your experience or skills.\n",
"Remote work\n",
"Anthropic staff all come to the office regularly. Most staff live in the Bay Area, though a few live further away and come in for one week a month. We also understand that moving can take time, so as a transitional phase some folks start while fully remote.\n",
"Offer timing\n",
"If we make an offer, we’re happy to give you time to think about it and finish up any other interview processes you’re going through.\n",
"Internships\n",
"We do not offer internships.\n",
"Candidate Privacy Policy\n",
"US Candidate Privacy Policy\n",
"UK Employee and Candidate Privacy Policy\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"team page\n",
"Webpage Title:\n",
"Team up with Claude \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Try Claude\n",
"Team up with Claude\n",
"Shorten the path from idea to impact with an AI assistant that taps into your team’s shared expertise.\n",
"Get started\n",
"Request demo\n",
"Easy collaboration for better outcomes\n",
"Claude doesn’t just speed up daily tasks like writing emails or docs. It’s a virtual teammate that moves work forward using your team’s knowledge.\n",
"Create with Claude\n",
"Claude can be a sounding board for your ideas, help you generate new ones, and pull insights from data in a snap.\n",
"Prime the canvas\n",
"Use Projects to ground Claude in specific knowledge that helps you produce higher-quality work with less effort.\n",
"Spark inspiration\n",
"Share your best chats with Claude across the team to spark creativity and improve your project deliverables.\n",
"Transform how you work\n",
"Claude makes work more productive—whether you need a partner for deep work, a creative collaborator, or an assistant for daily tasks.\n",
"Create with Claude\n",
"Draft and iterate on documents, code and websites, and images alongside your chat with Artifacts.\n",
"Write and debug code\n",
"Create marketing campaigns\n",
"Draft job descriptions\n",
"Build interactive visualizations\n",
"Transform how your team works\n",
"Claude can serve as your go-to expert, empowering each team member with shared knowledge from all across the organization.\n",
"Prime the canvas\n",
"Create Projects and add knowledge so each person on the team can deliver expert-level results.\n",
"Find and summarize information faster\n",
"Use Claude as your subject-matter expert\n",
"Expand how each teammate can contribute\n",
"Spark inspiration\n",
"Share your best chats with everyone on the Project to spark better ideas, iterate on Artifacts, and move work forward.\n",
"Brainstorm on new product ideas\n",
"Discuss insights from user interviews\n",
"Collaborate on hard research questions\n",
"Every team can work with Claude\n",
"Engineering\n",
"Generate code snippets in seconds\n",
"Create clear, comprehensive docs with no effort\n",
"Get help debugging even the most complex issues\n",
"Turn product feedback into roadmap items faster\n",
"Support\n",
"Resolve customer issues in record time\n",
"Craft personalized responses effortlessly\n",
"Build a dynamic, user-friendly knowledge base\n",
"Generate insightful metrics reports instantly\n",
"Marketing\n",
"Create engaging content tailored to your audience\n",
"Segment customers with pinpoint accuracy\n",
"Analyze competitors with unparalleled depth\n",
"Optimize campaigns for maximum ROI\n",
"Sales\n",
"Customize pitches for any customer segment\n",
"Uncover hidden sales trends effortlessly\n",
"Draft compelling follow-up emails in seconds\n",
"Get comprehensive competitor insights on demand\n",
"By leveraging content from our help center in Projects, we were able to generate comprehensive standard operating procedures for our core workflows in just a few hours—a task that previously took our team weeks to complete.\n",
"Bradley Silicani\n",
"COO, Anrok\n",
"Claude Team is transforming our way of working at North Highland. Claude is a truly exceptional writer that has helped our team complete content creation and analysis tasks up to 5x faster than before—turning what was once two weeks of writing and research into minutes of work.\n",
"Luka Anic\n",
"Senior Director, Technical AI Program and Product Manager, North Highland\n",
"Generating content, completing creative tasks, and creating summarized reports is much easier than before. There are many other areas of our business—like engineering, legal, risk and compliance—where we're excited to see what Claude can do.\n",
"Olga Pirog\n",
"Head of AI Transformation, IG Group\n",
"Join the teams transforming with Claude\n",
"See Pricing\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"research page\n",
"Webpage Title:\n",
"Research \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Researching\n",
"at the frontier\n",
"At Anthropic, we develop large-scale AI systems, and our research teams help us to create safer, steerable, and more reliable models.\n",
"See open roles\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"enterprise page\n",
"Webpage Title:\n",
"Enterprise \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Claude for\n",
" Enterprise\n",
"Securely connect Claude to your company knowledge and empower every team with trusted AI.\n",
"Contact sales\n",
"Empower your entire organization with AI\n",
"Enable every team to spark new ideas, achieve more, and collaborate better.\n",
"Use company knowledge\n",
"Scale internal expertise and knowledge across projects and teams.\n",
"Create and share work\n",
"Produce high-impact output more efficiently with Claude.\n",
"Secure your data\n",
"Protect your sensitive data. Anthropic does not train our models on your Claude for Work data.\n",
"Use company knowledge\n",
"Bring internal knowledge to scale institutional expertise, collaboration and decision-making across your enterprise with Claude as your subject matter expert.\n",
"Intelligence at scale\n",
"Take action with Projects.\n",
"Upload relevant documents, text, code, and files to dedicated knowledge bases for Claude to use as context and background in your chats–enabling everyone to operate like an expert. Claude can reference large amounts of information for every task, including the equivalent of:\n",
"Up to 100 30-minute sales transcripts\n",
"Up to 15 full financial reports\n",
"Up to 100K lines of code\n",
"Integrate with key data sources\n",
"Sync key data sources as context for Claude. Our GitHub integration, now in beta, enables Claude to learn about your codebase to help brainstorm new features, start refactoring projects and onboard new engineers.\n",
"Create and share work\n",
"Claude helps employees learn new skills, speed up tasks and tackle hard projects to boost productivity and extend your organization’s expertise.\n",
"Create with Claude\n",
"Bring your ideas and projects to life with Artifacts\n",
"— dynamic, creative and collaborative work spaces to see and build upon Claude’s creations in real-time. Draft and iterate on documents, code, websites, and images alongside your chat.\n",
"Intricate code structures\n",
"Comprehensive product roadmaps\n",
"In-depth research reports\n",
"Interactive campaign content calendars\n",
"Share and collaborate\n",
"Share your best chats and Projects with teammates to spark ideas, make joint decisions and create purposeful outputs.\n",
"Analyze user and market insights\n",
"Brainstorm and execute on product ideas\n",
"Create shared documentation and processes\n",
"Facilitate meeting preparation and project tracking\n",
"Secure your data\n",
"Your data is protected with Claude. Manage access with enterprise-grade control—and rest assured that we do not train our models on your Claude for Work data.\n",
"Protected company data\n",
"By default, we will not use your Claude for Work data to train our models.\n",
"Single sign-on (SSO) and domain capture\n",
"Secure user access and centralized provisioning control.\n",
"Role-based access with fine-grained permissioning\n",
"Single primary owner of a workspace for security and information management.\n",
"System for Cross-domain Identity Management (SCIM)\n",
"Automate user provisioning and access controls.\n",
"Audit logs\n",
"Trace system activities for security and compliance monitoring.\n",
"Critical cross-functional work starts with Claude\n",
"Engineering\n",
"Marketing\n",
"Sales\n",
"Product management\n",
"Human resources\n",
"Legal\n",
"Engineering\n",
"Marketing\n",
"Sales\n",
"Product management\n",
"Human resources\n",
"Legal\n",
"Engineering\n",
"Convert project requirements into technical specifications\n",
"Design system architecture and component interactions\n",
"Troubleshoot errors and runtime issues\n",
"Identify code optimizations and performance improvements\n",
"Marketing\n",
"Interpret market trends and consumer behavior patterns\n",
"Brainstorm multi-platform content items\n",
"Develop marketing campaign strategies\n",
"Create post campaign performance reports\n",
"Sales\n",
"Analyze sales calls to craft tailored account plans\n",
"Develop objection handling strategies\n",
"Build compelling and tailored pitches\n",
"Interpret sales metrics and KPIS\n",
"Product management\n",
"Define product vision and objectives\n",
"Analyze user feedback and usage data\n",
"Create product specifications and requirements documents\n",
"Interpret product usage metrics and KPIs\n",
"Human resources\n",
"Craft job descriptions and postings\n",
"Create training modules and documentation\n",
"Create employee development plans\n",
"Interpret employee engagement results\n",
"Legal\n",
"Summarize complex contracts and agreements\n",
"Assist in drafting legal documents and templates\n",
"Monitor regulatory changes across different jurisdictions\n",
"Automate routine legal tasks and processes\n",
"We're a global FinTech business with omnichannel touchpoints in marketing and communications. Our global growth requires our marketing resources to expand in capacity and language capability. Claude's excellent writing and transcreation capabilities have been a big enabler for us to scale globally and achieve higher ROI.\n",
"Olga Pirog\n",
"Global Head of Data and AI transformation at IG Group\n",
"Claude offers our team members a tool that feels like an extension of their work and expertise, allowing us to take on more complex tasks and deliver greater impact while ensuring GitLab’s IP remains private and protected.\n",
"Taylor McCaslin\n",
"Product lead for AI and ML tech at GitLab\n",
"Read the full story\n",
"Deloitte is leading the way in the trustworthy use of Generative AI within enterprises. Our exploration of Claude for Work will help us reveal how this transformative technology can empower our workforce\n",
"Gina Schaefer\n",
"AI Managing Director and Alliance Leader at Deloitte Consulting LLP\n",
"Piloting Claude has revolutionized our workflows, becoming our most requested tool. It's dramatically accelerated content creation and data analysis. In months, we've unlocked thousands of hours for high-impact initiatives previously out of reach—propelling us into a new era of innovation and continuous learning.\n",
"Luka Anic\n",
"Senior Director, Technical AI Program and Product Manager at North Highland\n",
"Claude has been an incredible virtual collaborator for Midjourney. We use Claude for everything from summarizing research papers, to doing Q&A with user feedback notes, to iterating on our moderation policies. We're excited to keep working alongside Claude as we grow and explore new domains.\n",
"Caleb Kruse\n",
"Chief of Staff at Midjourney\n",
"With Claude, we can condense data down to make sure we’re not missing anything. It gives our teams a high-level view while still allowing us to link directly to specific feedback sources. This makes our work more strategic and enables our teams to create higher impact work.\n",
"Justin Dorfman\n",
"Open Source Community Manager at Sourcegraph\n",
"Read the full story\n",
"Launching our $100M Anthology Fund with Anthropic, we received thousands of AI startup applications. Claude enabled a streamlined evaluation process, reducing time spent matching applications to partners and allowing more effective engagement with founders.\n",
"Tim Tully\n",
"Partner at Menlo Ventures\n",
"Transform how your organization operates with Claude\n",
"Contact sales\n",
"Frequently asked questions\n",
"What is the Claude Enterprise plan?\n",
"Claude is a trusted, secure, and collaborative AI expert that integrates with organizational knowledge and workflows to support high-quality work. Claude enhances productivity and creativity across various business functions within an organization. The Claude Enterprise plan is designed for organizations that require large knowledge uploads, enhanced security and user management, and an AI solution that scales across cross-functional teams in support of deep work.\n",
"What is included in the Claude Enterprise plan?\n",
"The Claude Enterprise plan supports deep, cross-functional workflows and includes everything in the Claude Team plan in addition to the following new features:\n",
"Enterprise-grade security features to ensure the safety and compliance of your organization’s data including single-sign on (SSO) & domain capture, audit logs, System for Cross-domain Identity Management (SCIM), and role-based permissioning for fine-grained user management.\n",
"Expanded context window that enables users to upload hundreds of sales transcripts, dozens of 100+ page documents and 100K lines of code.\n",
"Increased usage, which means more messages with Claude.\n",
"Native integrations with data sources like GitHub provide the ability for engineering teams to brainstorm alongside your codebase, iterate on new features, onboard engineers and debug issues.\n",
"What security is in place for the Claude Enterprise plan?\n",
"By default, we will not use your Inputs or Outputs to train our models. To find out more, or if you would like to know how to contact us regarding a privacy related topic, see our\n",
"Trust Center\n",
".\n",
"The Claude Enterprise plan offers critical security and data management components including single sign-on (SSO) and domain capture for secure user access and centralized provisioning control; Audit logs that trace system activities for security and compliance monitoring; System for Cross-domain Identity Management (SCIM) to automate user provisioning and access controls; Role-based permissioning that assigns a single primary owner of a workspace for security and information management.\n",
"What is Claude for Work?\n",
"Claude for Work is a comprehensive solution for organizations to securely use Claude for business purposes. Within Claude for Work, organizations can choose between our Team plan and Enterprise plan, which offer a spectrum of features and capacity based on your usage and security needs.\n",
"How can I integrate Claude into my own products or services?\n",
"If you’re a developer looking to create user-facing experiences and new products with Claude, the Anthropic API is right for you. To learn more about different API plans, contact our sales team\n",
"here\n",
". To get started, explore our developer docs\n",
"here\n",
".\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"api page\n",
"Webpage Title:\n",
"Build with Claude \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Build with Claude\n",
"Create user-facing experiences, new products, and new ways to work with the most advanced AI models on the market.\n",
"Start building\n",
"Developer docs\n",
"Get started\n",
"Self-serve\n",
"Launch your own generative AI solution with:\n",
"Access to all Claude models\n",
"Usage-based tiers\n",
"Automatically increasing rate limits\n",
"Simple pay-as-you-go pricing\n",
"Self-serve deployment on workbench\n",
"Prompting guides & developer documentation\n",
"Start building\n",
"Need additional support?\n",
"Need custom rate limits or hands-on support? Reach out to the Anthropic sales team for:\n",
"Anthropic-supported onboarding\n",
"Custom rate limits\n",
"Billing via monthly invoices\n",
"Prompting support\n",
"Deployment support\n",
"Contact sales\n",
"Announcements\n",
"Introducing computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku\n",
"Oct 22, 2024\n",
"Model updates\n",
"3.5 Sonnet\n",
"3.5 Haiku\n",
"The Claude model family\n",
"Right-sized for any task, the Claude family of models offers the best combination of speed and performance.\n",
"Light & fast\n",
"Haiku\n",
"Our fastest model that can execute lightweight actions, with industry-leading speed.\n",
"Hard-working\n",
"Sonnet\n",
"Our best combination of performance and speed for efficient, high-throughput tasks.\n",
"Powerful\n",
"Opus\n",
"Our highest-performing model, which can handle complex analysis, longer tasks with many steps, and higher-order math and coding tasks.\n",
"Cost\n",
"Intelligence\n",
"Use cases for Claude\n",
"Coding\n",
"Claude models are constantly improving on coding, math, and reasoning. Our latest model, Claude 3.5 Sonnet, can be instructed to write, edit, and run code with strong troubleshooting capabilities.\n",
"Productivity\n",
"Claude can extract relevant information from business emails and documents, categorize and summarize survey responses, and wrangle reams of text with high speed and accuracy.\n",
"Customer support\n",
"Claude can handle ticket triage, on-demand complex inquiries using rich context awareness, and multi-step support workflows—all with a casual tone and conversational responses.\n",
"Leading companies build with Claude\n",
"Read customer stories\n",
"Start building with the Anthropic API\n",
"See pricing\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"pricing page\n",
"Webpage Title:\n",
"Pricing \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Pricing\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n",
"\n",
"news page\n",
"Webpage Title:\n",
"Newsroom \\ Anthropic\n",
"Webpage Contents:\n",
"Claude\n",
"Overview\n",
"Team\n",
"Enterprise\n",
"API\n",
"Pricing\n",
"Research\n",
"Company\n",
"Careers\n",
"News\n",
"Newsroom\n",
"Featured\n",
"Powering the next generation of AI development with AWS\n",
"Press inquiries\n",
"press@anthropic.com\n",
"Non-media inquiries\n",
"support.anthropic.com\n",
"Media assets\n",
"Download press kit\n",
"Follow Anthropic\n",
"Featured\n",
"Announcing our updated Responsible Scaling Policy\n",
"Featured\n",
"Developing a computer use model\n",
"News\n",
"No results found.\n",
"Product\n",
"Claude 3.5 Haiku on AWS Trainium2 and model distillation in Amazon Bedrock\n",
"Dec 3, 2024\n",
"Product\n",
"Tailor Claude’s responses to your personal style\n",
"Nov 26, 2024\n",
"Announcements\n",
"Introducing the Model Context Protocol\n",
"Nov 25, 2024\n",
"Announcements\n",
"Powering the next generation of AI development with AWS\n",
"Nov 22, 2024\n",
"Product\n",
"Improve your prompts in the developer console\n",
"Nov 14, 2024\n",
"Policy\n",
"The case for targeted regulation\n",
"Oct 31, 2024\n",
"Product\n",
"Raising the bar on SWE-bench Verified with Claude 3.5 Sonnet\n",
"Oct 30, 2024\n",
"Announcements\n",
"Claude 3.5 Sonnet on GitHub Copilot\n",
"Oct 29, 2024\n",
"Product\n",
"Introducing the analysis tool in Claude.ai\n",
"Oct 24, 2024\n",
"Announcements\n",
"·\n",
"Product\n",
"Developing a computer use model\n",
"Oct 22, 2024\n",
"Announcements\n",
"Introducing computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku\n",
"Oct 22, 2024\n",
"Announcements\n",
"Announcing our updated Responsible Scaling Policy\n",
"Oct 15, 2024\n",
"Societal Impacts\n",
"U.S. Elections Readiness\n",
"Oct 8, 2024\n",
"Product\n",
"Introducing the Message Batches API\n",
"Oct 8, 2024\n",
"Product\n",
"·\n",
"Announcements\n",
"Introducing Contextual Retrieval\n",
"Sep 19, 2024\n",
"Product\n",
"Workspaces in the Anthropic API Console\n",
"Sep 10, 2024\n",
"Product\n",
"Claude for Enterprise\n",
"Sep 4, 2024\n",
"Announcements\n",
"Salesforce teams up with Anthropic to enhance Einstein capabilities with Claude\n",
"Sep 3, 2024\n",
"Announcements\n",
"Artifacts are now generally available\n",
"Aug 27, 2024\n",
"Product\n",
"Prompt caching with Claude\n",
"Aug 14, 2024\n",
"Announcements\n",
"Expanding our model safety bug bounty program\n",
"Aug 8, 2024\n",
"Announcements\n",
"Claude is now available in Brazil\n",
"Aug 1, 2024\n",
"Announcements\n",
"Anthropic partners with Menlo Ventures to launch Anthology Fund\n",
"Jul 17, 2024\n",
"Product\n",
"Claude Android app\n",
"Jul 16, 2024\n",
"Product\n",
"Fine-tune Claude 3 Haiku in Amazon Bedrock\n",
"Jul 11, 2024\n",
"Product\n",
"Evaluate prompts in the developer console\n",
"Jul 9, 2024\n",
"Announcements\n",
"A new initiative for developing third-party model evaluations\n",
"Jul 1, 2024\n",
"Announcements\n",
"Expanding access to Claude for government\n",
"Jun 26, 2024\n",
"Product\n",
"Collaborate with Claude on Projects\n",
"Jun 25, 2024\n",
"Announcements\n",
"Claude 3.5 Sonnet\n",
"Jun 21, 2024\n",
"Policy\n",
"Challenges in red teaming AI systems\n",
"Jun 12, 2024\n",
"Policy\n",
"·\n",
"Societal Impacts\n",
"Testing and mitigating elections-related risks\n",
"Jun 6, 2024\n",
"Announcements\n",
"Introducing Claude to Canada\n",
"Jun 5, 2024\n",
"Product\n",
"Claude can now use tools\n",
"May 30, 2024\n",
"Announcements\n",
"Jay Kreps appointed to Anthropic's Board of Directors\n",
"May 29, 2024\n",
"Product\n",
"Golden Gate Claude\n",
"May 23, 2024\n",
"Announcements\n",
"Krishna Rao joins Anthropic as Chief Financial Officer\n",
"May 21, 2024\n",
"Interpretability\n",
"Mapping the Mind of a Large Language Model\n",
"May 21, 2024\n",
"Product\n",
"Generate better prompts in the developer console\n",
"May 20, 2024\n",
"Policy\n",
"Reflections on our Responsible Scaling Policy\n",
"May 20, 2024\n",
"Announcements\n",
"Mike Krieger joins Anthropic as Chief Product Officer\n",
"May 15, 2024\n",
"Announcements\n",
"Claude is now available in Europe\n",
"May 14, 2024\n",
"Announcements\n",
"Updating our Usage Policy\n",
"May 10, 2024\n",
"Product\n",
"·\n",
"Announcements\n",
"Introducing the Claude Team plan and iOS app\n",
"May 1, 2024\n",
"Announcements\n",
"Aligning on child safety principles\n",
"Apr 23, 2024\n",
"Alignment\n",
"Many-shot jailbreaking\n",
"Apr 2, 2024\n",
"Policy\n",
"Third-party testing as a key ingredient of AI policy\n",
"Mar 25, 2024\n",
"Announcements\n",
"Anthropic, AWS, and Accenture team up to build trusted solutions for enterprises\n",
"Mar 20, 2024\n",
"Announcements\n",
"Claude 3 models on Vertex AI\n",
"Mar 19, 2024\n",
"Announcements\n",
"Claude 3 Haiku: our fastest model yet\n",
"Mar 13, 2024\n",
"Announcements\n",
"Introducing the next generation of Claude\n",
"Mar 4, 2024\n",
"Product\n",
"Prompt engineering for business performance\n",
"Feb 29, 2024\n",
"Policy\n",
"Preparing for global elections in 2024\n",
"Feb 16, 2024\n",
"Announcements\n",
"Expanded legal protections and improvements to our API\n",
"Dec 19, 2023\n",
"Product\n",
"Long context prompting for Claude 2.1\n",
"Dec 6, 2023\n",
"Product\n",
"Introducing Claude 2.1\n",
"Nov 21, 2023\n",
"Policy\n",
"Thoughts on the US Executive Order, G7 Code of Conduct, and Bletchley Park Summit\n",
"Nov 5, 2023\n",
"Policy\n",
"Dario Amodei’s prepared remarks from the AI Safety Summit on Anthropic’s Responsible Scaling Policy\n",
"Nov 1, 2023\n",
"Announcements\n",
"Claude on Amazon Bedrock now available to every AWS customer\n",
"Sep 28, 2023\n",
"Announcements\n",
"Expanding access to safer AI with Amazon\n",
"Sep 25, 2023\n",
"Product\n",
"Prompt engineering for Claude's long context window\n",
"Sep 23, 2023\n",
"Announcements\n",
"Anthropic's Responsible Scaling Policy\n",
"Sep 19, 2023\n",
"Announcements\n",
"The Long-Term Benefit Trust\n",
"Sep 19, 2023\n",
"Announcements\n",
"Anthropic partners with BCG\n",
"Sep 14, 2023\n",
"Announcements\n",
"Introducing Claude Pro\n",
"Sep 7, 2023\n",
"Product\n",
"Claude 2 on Amazon Bedrock\n",
"Aug 23, 2023\n",
"Announcements\n",
"SKT Partnership Announcement\n",
"Aug 15, 2023\n",
"Announcements\n",
"Releasing Claude Instant 1.2\n",
"Aug 9, 2023\n",
"Announcements\n",
"Frontier Threats Red Teaming for AI Safety\n",
"Jul 26, 2023\n",
"Announcements\n",
"Frontier Model Security\n",
"Jul 25, 2023\n",
"Announcements\n",
"Claude 2\n",
"Jul 11, 2023\n",
"Announcements\n",
"Charting a Path to AI Accountability\n",
"Jun 13, 2023\n",
"Announcements\n",
"Anthropic Raises $450 Million in Series C Funding to Scale Reliable AI Products\n",
"May 23, 2023\n",
"Announcements\n",
"Zoom Partnership and Investment in Anthropic\n",
"May 16, 2023\n",
"Announcements\n",
"Introducing 100K Context Windows\n",
"May 11, 2023\n",
"Announcements\n",
"Claude’s Constitution\n",
"May 9, 2023\n",
"Announcements\n",
"Partnering with Scale to Bring Generative AI to Enterprises\n",
"Apr 26, 2023\n",
"Announcements\n",
"An AI Policy Tool for Today: Ambitiously Invest in NIST\n",
"Apr 20, 2023\n",
"Announcements\n",
"Claude, now in Slack\n",
"Mar 30, 2023\n",
"Announcements\n",
"Introducing Claude\n",
"Mar 14, 2023\n",
"Announcements\n",
"Core Views on AI Safety: When, Why, What, and How\n",
"Mar 8, 2023\n",
"Announcements\n",
"Anthropic Partners with Google Cloud\n",
"Feb 3, 2023\n",
"Announcements\n",
"Anthropic Raises Series B to Build Steerable, Interpretable, Robust AI Systems\n",
"Apr 29, 2022\n",
"Announcements\n",
"Anthropic raises $124 million to build more reliable, general AI systems\n",
"May 28, 2021\n",
"Claude\n",
"API\n",
"Team\n",
"Pricing\n",
"Research\n",
"Company\n",
"Customers\n",
"News\n",
"Careers\n",
"Press Inquiries\n",
"Support\n",
"Status\n",
"Availability\n",
"Twitter\n",
"LinkedIn\n",
"YouTube\n",
"Terms of Service – Consumer\n",
"Terms of Service – Commercial\n",
"Privacy Policy\n",
"Usage Policy\n",
"Responsible Disclosure Policy\n",
"Compliance\n",
"Privacy Choices\n",
"© 2024 Anthropic PBC\n",
"\n",
"\n"
]
}
],
"source": [
"print(get_all_details(\"https://anthropic.com\"))"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "9b863a55-f86c-4e3f-8a79-94e24c1a8cf2",
"metadata": {},
"outputs": [],
"source": [
"system_prompt = \"You are an assistant that analyzes the contents of several relevant pages from a company website \\\n",
"and creates a short brochure about the company for prospective customers, investors and recruits. Respond in markdown.\\\n",
"Include details of company culture, customers and careers/jobs if you have the information.\"\n",
"\n",
"# Or uncomment the lines below for a more humorous brochure - this demonstrates how easy it is to incorporate 'tone':\n",
"\n",
"# system_prompt = \"You are an assistant that analyzes the contents of several relevant pages from a company website \\\n",
"# and creates a short humorous, entertaining, jokey brochure about the company for prospective customers, investors and recruits. Respond in markdown.\\\n",
"# Include details of company culture, customers and careers/jobs if you have the information.\"\n"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "6ab83d92-d36b-4ce0-8bcc-5bb4c2f8ff23",
"metadata": {},
"outputs": [],
"source": [
"def get_brochure_user_prompt(company_name, url):\n",
" user_prompt = f\"You are looking at a company called: {company_name}\\n\"\n",
" user_prompt += f\"Here are the contents of its landing page and other relevant pages; use this information to build a short brochure of the company in markdown.\\n\"\n",
" user_prompt += get_all_details(url)\n",
" user_prompt = user_prompt[:20_000] # Truncate if more than 20,000 characters\n",
" return user_prompt"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "e44de579-4a1a-4e6a-a510-20ea3e4b8d46",
"metadata": {},
"outputs": [],
"source": [
"def create_brochure(company_name, url):\n",
" response = openai.chat.completions.create(\n",
" model=MODEL,\n",
" messages=[\n",
" {\"role\": \"system\", \"content\": system_prompt},\n",
" {\"role\": \"user\", \"content\": get_brochure_user_prompt(company_name, url)}\n",
" ],\n",
" )\n",
" result = response.choices[0].message.content\n",
" display(Markdown(result))"
]
},
{
"cell_type": "code",
"execution_count": 17,
"id": "e093444a-9407-42ae-924a-145730591a39",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Found links: {'links': [{'type': 'about page', 'url': 'https://anthropic.com/company'}, {'type': 'careers page', 'url': 'https://anthropic.com/careers'}, {'type': 'team page', 'url': 'https://anthropic.com/team'}, {'type': 'enterprise page', 'url': 'https://anthropic.com/enterprise'}, {'type': 'research page', 'url': 'https://anthropic.com/research'}]}\n"
]
},
{
"data": {
"text/markdown": [
"# Anthropic Brochure\n",
"\n",
"---\n",
"\n",
"## **Company Overview**\n",
"\n",
"**Anthropic** is a pioneering AI safety and research company headquartered in San Francisco. Our mission is centered around building AI systems that are reliable, interpretable, and steerable, while ensuring their safe integration into everyday life. With our state-of-the-art AI model, **Claude**, we provide tools designed to empower organizations while maintaining a strong emphasis on safety.\n",
"\n",
"---\n",
"\n",
"## **Our Purpose**\n",
"\n",
"We recognize the transformative potential of AI on a global scale and strive to develop systems that individuals and organizations can trust. Through rigorous research and collaborative efforts, we aim to navigate the complex landscape of AI opportunities and risks.\n",
"\n",
"---\n",
"\n",
"## **Safety is a Science**\n",
"\n",
"At Anthropic, AI safety is treated as a systematic science. This involves conducting comprehensive research, actively applying insights into our products, and sharing our findings within the industry and with the public.\n",
"\n",
"### **Interdisciplinary Team**\n",
"\n",
"Our team comprises experts from various fields including machine learning, physics, policy, and business operations, all integrated to develop beneficial AI systems. \n",
"\n",
"---\n",
"\n",
"## **Our Products**\n",
"\n",
"### **Claude**\n",
"Meet **Claude 3.5 Sonnet**, our most intelligent AI model, enabling teams to enhance efficiency and drive innovation.\n",
"\n",
"- **Enterprise Solutions**: Securely connect Claude to your company knowledge, empowering every team with trusted AI.\n",
"- **API Access**: Integrate Claude into your applications to leverage advanced AI capabilities.\n",
"\n",
"---\n",
"\n",
"## **Customer Focus**\n",
"\n",
"Our customers range from businesses to nonprofits, all benefiting from Claude's advanced capabilities. We prioritize collaboration with civil society, government entities, and industry stakeholders to ensure safe and effective AI utilization.\n",
"\n",
"---\n",
"\n",
"## **Company Culture**\n",
"\n",
"At Anthropic, collaboration and trust form the foundation of our culture. Here are some of our core values:\n",
"\n",
"1. **Mission-Driven**: We exist to ensure AI benefits people and society.\n",
"2. **High Trust**: We promote honesty, emotional maturity, and open disagreement.\n",
"3. **One Big Team**: Collaboration is central, allowing us to pursue our goals collectively.\n",
"4. **Simplicity & Pragmatism**: We value straightforward solutions and empiricism in all aspects of our work.\n",
"\n",
"---\n",
"\n",
"## **Careers at Anthropic**\n",
"\n",
"Join us in building the future of safe AI! We celebrate diverse backgrounds and rich experiences, understanding that innovative solutions arise from a blend of perspectives.\n",
"\n",
"### **What We Offer:**\n",
"\n",
"- **Health & Wellness**: Comprehensive insurance, mental health support, and flexible time-off policies.\n",
"- **Competitive Compensation**: Salary and equity packages along with generous retirement plans.\n",
"- **Additional Benefits**: Culture of learning with stipends for wellness, education, and home office setups.\n",
"\n",
"### **The Hiring Process**\n",
"\n",
"We aim to minimize bias through a structured interview process that includes exploratory chats, skills assessments, team screens, and final checks to find the best fit for our multidisciplinary team.\n",
"\n",
"### **Work Environment**\n",
"\n",
"While we are headquartered in the Bay Area, we promote flexible work arrangements, often allowing remote work options and supporting those who relocate.\n",
"\n",
"---\n",
"\n",
"## **Join Us**\n",
"\n",
"Are you ready to be part of a forward-thinking company shaping the future of AI safely? Visit our [Careers page](#) to see open positions!\n",
"\n",
"---\n",
"\n",
"## **Get in Touch**\n",
"\n",
"For more information, check our website or follow us on social media:\n",
"- [Twitter](#)\n",
"- [LinkedIn](#)\n",
"- [YouTube](#)\n",
"\n",
"Together, let's build reliable and beneficial AI systems. "
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"create_brochure(\"Anthropic\", \"https://anthropic.com\")"
]
},
{
"cell_type": "markdown",
"id": "61eaaab7-0b47-4b29-82d4-75d474ad8d18",
"metadata": {},
"source": [
"## Finally - a minor improvement\n",
"\n",
"With a small adjustment, we can change this so that the results stream back from OpenAI,\n",
"with the familiar typewriter animation"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "bcb358a4-aa7f-47ec-b2bc-67768783dfe1",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 18,
"id": "51db0e49-f261-4137-aabe-92dd601f7725",
"metadata": {},
"outputs": [],
"source": [
"def stream_brochure(company_name, url):\n",
" stream = openai.chat.completions.create(\n",
" model=MODEL,\n",
" messages=[\n",
" {\"role\": \"system\", \"content\": system_prompt},\n",
" {\"role\": \"user\", \"content\": get_brochure_user_prompt(company_name, url)}\n",
" ],\n",
" stream=True\n",
" )\n",
" \n",
" response = \"\"\n",
" display_handle = display(Markdown(\"\"), display_id=True)\n",
" for chunk in stream:\n",
" response += chunk.choices[0].delta.content or ''\n",
" response = response.replace(\"```\",\"\").replace(\"markdown\", \"\")\n",
" update_display(Markdown(response), display_id=display_handle.display_id)"
]
},
{
"cell_type": "code",
"execution_count": 19,
"id": "56bf0ae3-ee9d-4a72-9cd6-edcac67ceb6d",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Found links: {'links': [{'type': 'about page', 'url': 'https://anthropic.com/company'}, {'type': 'careers page', 'url': 'https://anthropic.com/careers'}, {'type': 'team page', 'url': 'https://anthropic.com/team'}, {'type': 'enterprise page', 'url': 'https://anthropic.com/enterprise'}, {'type': 'api page', 'url': 'https://anthropic.com/api'}, {'type': 'pricing page', 'url': 'https://anthropic.com/pricing'}, {'type': 'research page', 'url': 'https://anthropic.com/research'}, {'type': 'news page', 'url': 'https://anthropic.com/news'}]}\n"
]
},
{
"data": {
"text/markdown": [
"# Anthropic: Pioneering Safe and Reliable AI\n",
"\n",
"## Welcome to Anthropic\n",
"\n",
"Anthropic is a San Francisco-based AI safety and research company committed to building reliable and interpretable AI systems that prioritize safety through innovative research and thoughtful design. With a mission centered around ensuring that transformative AI technologies benefit society, we are focused on empowering our customers through our state-of-the-art AI model, Claude.\n",
"\n",
"---\n",
"\n",
"## Our Core Beliefs\n",
"\n",
"- **Safety is a Science**: We approach AI safety as a systematic discipline, conducting rigorous research and applying findings to our products.\n",
"- **Interdisciplinary Collaboration**: Our team of experts spans disciplines including machine learning, policy, physics, and business, working together toward shared goals.\n",
"- **Community Engagement**: We actively collaborate with civil society, government, and academia to promote AI safety industry-wide.\n",
"\n",
"---\n",
"\n",
"## Meet Claude\n",
"\n",
"Claude is our flagship AI assistant, designed to enhance productivity and creativity across teams. Claude not only streamlines daily tasks but also serves as a collaborative partner, boosting innovation and decision-making through shared knowledge and insights.\n",
"\n",
"### Key Features:\n",
"- **Easy Collaboration**: Claude helps teams work smarter, generating ideas and performing complex tasks more efficiently.\n",
"- **Data Protection**: Customer confidentiality is paramount, and all data remains secure—we do not train our models on your sensitive information.\n",
"- **Enterprise Integration**: Empower organizations to scale their internal expertise and knowledge with Claude effortlessly.\n",
"\n",
"---\n",
"\n",
"## Company Culture\n",
"\n",
"At Anthropic, we cultivate an environment of **high trust**, collaboration, and **pragmatism**. Our core values emphasize working together towards our mission, assuming good intentions, and pursuing excellence through simple, effective solutions.\n",
"\n",
"### Our Values Include:\n",
"- **Mission-Driven**: We're here to ensure AI supports human flourishing.\n",
"- **Collaborative Spirit**: We function as one big team where every voice matters in shaping our path forward.\n",
"- **Openness and Honesty**: We encourage emotional maturity and intellectual openness at all levels.\n",
"\n",
"---\n",
"\n",
"## Join Us\n",
"\n",
"Anthropic is a **Public Benefit Corporation** dedicated to the long-term well-being of humanity through responsible AI. We are seeking talented individuals from diverse backgrounds to join our mission of building safer AI systems.\n",
"\n",
"### What We Offer:\n",
"- **Health & Wellness**: Comprehensive benefits, including health, dental, and vision insurance, parental leave, and mental health support.\n",
"- **Compensation**: Competitive salaries, equity packages, and retirement plans.\n",
"- **Professional Development**: Flexible stipends for wellness, education, and home office setups.\n",
"\n",
"### Career Opportunities\n",
"We are always on the lookout for individuals talented in various fields such as engineering, policy, and operations. Our recruitment process values unique strengths and diverse experiences.\n",
"\n",
"---\n",
"\n",
"## Customer Commitment\n",
"\n",
"Our customers range from enterprises and nonprofits to educational institutions seeking to leverage AI for innovative applications. With Claude, businesses enhance operations, foster collaboration, and drive growth, all while ensuring safety and reliability.\n",
"\n",
"### Join the teams transforming their operations with Claude's AI capabilities!\n",
"\n",
"---\n",
"\n",
"For more information on our products, career opportunities, or to explore our cutting-edge research, visit our [website](https://www.anthropic.com). Together, let’s shape the future of AI!\n",
"\n",
"---\n",
"\n",
"**Connect with Us:**\n",
"- [Twitter](https://twitter.com/anthropicai)\n",
"- [LinkedIn](https://www.linkedin.com/company/anthropic/)\n",
"- [YouTube](https://www.youtube.com/channel/UCxZgY7lzOs3AEs9H5HKA4bg)\n",
"\n",
"© 2024 Anthropic PBC. All rights reserved."
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"stream_brochure(\"Anthropic\", \"https://anthropic.com\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "fdb3f8d8-a3eb-41c8-b1aa-9f60686a653b",
"metadata": {},
"outputs": [],
"source": [
"stream_brochure(\"HuggingFace\", \"https://huggingface.co\")"
]
},
{
"cell_type": "markdown",
"id": "a27bf9e0-665f-4645-b66b-9725e2a959b5",
"metadata": {},
"source": [
"## Business Applications\n",
"\n",
"In this exercise we extended the Day 1 code to make multiple LLM calls, and generate a document.\n",
"\n",
"In terms of techniques, this is perhaps the first example of Agentic AI design patterns, as we combined multiple calls to LLMs. This will feature more in Week 2, and then we will return to Agentic AI in a big way in Week 8 when we build a fully autonomous Agent solution.\n",
"\n",
"In terms of business applications - generating content in this way is one of the very most common Use Cases. As with summarization, this can be applied to any business vertical. Write marketing content, generate a product tutorial from a spec, create personalized email content, and so much more. Explore how you can apply content generation to your business, and try making yourself a proof-of-concept prototype."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "22e878f1-08fe-4465-b50c-869352174eae",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "llms",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}