andersch.dev

<2024-11-01 Fri>
[ ai ]

Claude (LLM)

Claude is a family of large language models developed by Anthropic based on the generative pre-trained transformer (GPT) architecture. The models are designed with a focus on safety and alignment in AI.

Claude Prompting Guide

General tips

  • Be clear, specific, provide context and break complex tasks down
  • Provide examples of the kind of output you're looking for
  • Encourage thinking (ask to "think step-by-step" or "explain your reasoning.)
  • Iterative refinement (ask for clarifications/modifications)
  • Leverage Claude's knowledge (ask for explanations or background information)
  • Use role-playing (ask to adopt a specific role or perspective)

Content Creation

  • Specify your audience
  • Define the tone and style
  • Define output structure (Provide basic outline of points you want covered)
  • Specify the desired output format

Document summary and Q&A

  • Refer to attached documents by name.
  • Ask for citations from the document in its answers

Brainstorming

  • Use Claude to generate ideas by asking for a list of possibilities
  • Request responses in specific formats (bullet points, lists, or tables)

Troubleshooting, minimizing hallucinations, and maximizing performance

  • Allow Claude to acknowledge uncertainty ("If unsure, say you don't know")
  • Break down complex tasks into smaller steps
  • Include all contextual information for new conversations

Resources