Documentation
HomeAPISign In
  • Getting Started
    • Overview
      • Core Concepts
      • Building your First Workflow
    • API Reference
  • Your Data
    • Brand Kits
    • Knowledge Bases
      • Add Data
        • Upload Files
        • Web Scrape
        • Import from Google Drive
        • Import from SQL Database
        • Import from Shopify
      • Knowledge Base Search
      • Knowledge Base Metadata
      • Knowledge Base API
  • Building Workflows
    • Workflow Concepts
      • Workflow Inputs
        • Input Types
      • Workflow Outputs
      • Variable Referencing
      • Liquid Templating
    • Workflow Steps
      • AI
        • Prompt LLM
          • Choosing a Model
          • Prompting Techniques
        • Transcribe Audio File
      • Web Research
        • Google Search
        • Web Page Scrape
      • Code
        • Run Code
        • Call API
        • Format JSON
        • Run SQL Query
        • Write Liquid Text
      • Flow
        • Condition
        • Iteration
        • Human Review
        • Content Comparison
        • Error
      • Data
        • Search Knowledge Base
        • Write to Knowledge Base
        • Get Knowledge Base File
      • AirOps
        • Workflow
        • Agent
      • Image & Video
        • Generate Image with API
        • Search Stock Images
        • Fetch Stock Image with ID
        • Resize Image
        • Screenshot from URL
        • Create OpenGraph Image
        • Create Video Avatar
      • SEO Research
        • Semrush
        • Data4SEO
      • Content Quality
        • Detect AI Content
        • Scan Content for Plagiarism
      • Content Processing
        • Convert Markdown to HTML
        • Convert PDF URL to Text
        • Group Keywords into Clusters
      • B2B Enrichment
        • Hunter.io
        • People Data Labs
      • CMS Integrations
        • Webflow
        • WordPress
        • Shopify
        • Contentful
        • Sanity
        • Strapi
      • Analytics Integrations
        • Google Search Console
      • Collaboration Integrations
        • Gmail
        • Google Docs
        • Google Sheets
        • Notion
        • Slack
    • Testing and Iteration
    • Publishing and Versioning
  • Running Workflows
    • Run Once
    • Run in Bulk (Grid)
    • Run via API
    • Run via Trigger
      • Incoming Webhook Trigger
      • Zapier
    • Run on a Schedule
    • Error Handling
  • Grids
    • Create a Grid
      • Import from Webflow
      • Import from Wordpress
      • Import from Semrush
      • Import from Google Search Console
    • Add Columns in the Grid
    • Run Workflows in the Grid
      • Add Workflow Column
      • Run Workflow Column
      • Map Workflow Outputs
      • Review Workflow Run Metadata
    • Review Content in the Grid
      • Review Markdown Content
      • Review HTML Content
      • Compare Content Difference
    • Publish to CMS from Grid
    • Pull Analytics in the Grid
    • Export as CSV
  • Copilot
    • Chat with Copilot
    • Edit Workflows with Copilot
    • Fix Errors with Copilot
  • Monitoring
    • Task Usage
    • Analytics
    • Alerts
    • Execution History
  • Your Workspace
    • Create a Workspace
    • Folders
    • Settings
    • Billing
    • Use your own LLM API Keys
    • Secrets
    • Team and Permissions
  • Chat Agents (Legacy)
    • Agent Quick Start
    • Chat Agents
    • Integrate Agents
      • Widget
      • Client Web SDK
  • About
    • Ethical AI and IP Production
    • Principles
    • Security and Compliance
Powered by GitBook
On this page
  • What are the differences between Claude and GPT?
  • How do I prompt with Claude?
  • Claude 3 Model Selection
  • Text Extraction Example with Claude
  • Claude Resources

Was this helpful?

  1. Building Workflows
  2. Workflow Steps
  3. AI
  4. Prompt LLM

Prompt with Claude

Understanding Claude as an AI Assistant

Last updated 1 year ago

Was this helpful?

What are the differences between Claude and GPT?

We are big fans of Claude at AirOps. However, here are key differences to consider with Claude:

  • Claude is generally faster than OpenAI models.

  • Claude has a larger context window available (200K tokens).

  • Claude 3 has demonstrated superior performance in benchmark cognitive tests over previous models and even surpasses OpenAI's GPT-4 in many areas.

  • Claude is chatty - it tends to include a "Chat" response such as "Sure! Here is a ...".

How do I prompt with Claude?

According to , Claude best understands XML tags.

In order to prompt with Claude, consider adding <task></task>.

Claude 3 Model Selection

Claude 3 offers a family of models (Haiku, Sonnet, Opus) with varying capability levels. Choose the model that best suits your needs based on the trade-off between:

  • Capability: Higher-tier models (Sonnet, Opus) handle complex tasks better.

  • Speed: Haiku, the base model, is the fastest.

  • Cost: Higher-tier models may incur higher usage costs.

Text Extraction Example with Claude

To convert our , we add XML tags around the task and the URL:

System: You are an expert at url information extraction.

User: <task>Extract the unique transcript ID from the end of the URL.</task><url>https://app.fireflies.ai/view/AirOps-Intro::DkMo5PetdLeCDglp</url>

Assistant: DkMo5PetdLeCDglp

User: <task>Extract the unique transcript ID from the end of the URL.</task><url>https://app.fireflies.ai/view/Mdei9OrqpQlWIijd</url>

Assistant: Mdei9OrqpQlWIijd

User: <task>Extract the unique transcript ID from the end of the URL.</task><url>{{link_to_sales_call}}</url>

Claude Resources

For more information on how to prompt with Claude, check out:

Anthropic
LogoGuide to Anthropic's prompt engineering resourcesClaude