Skip to content

How to [Action]

Platforms: openai claude gemini m365-copilot

Problem

Describe the problem the reader is trying to solve. What situation are they in? What are they trying to achieve?

Prerequisites

  • List what the reader needs before starting
  • Required packages or SDKs
  • API keys or authentication setup
  • Prior knowledge assumed

Solution

Step-by-step instructions to solve the problem.

Step 1: [First Step]

Explanation of what to do first.

# Code example for step 1

Step 2: [Second Step]

Explanation of the next step.

# Code example for step 2

Step 3: [Third Step]

Continue as needed.

Complete Example

A full, working code example that readers can copy and run.

# Complete working example
# Include all necessary imports
# Add comments explaining key parts

Common Variations

  • Variation 1: How to adapt this for a different use case
  • Variation 2: Alternative approach for specific situations

Gotchas

  • Common mistakes to avoid
  • Edge cases to watch out for
  • Platform-specific quirks