0Pricing
AI Prompt Engineering · Lesson

What AI Cannot Do

Limitations: real-time data, memory, reasoning errors, and confidently wrong answers.

The Limitations You Must Know

AI language models are powerful — but they have hard limits. Misunderstanding these limits leads to wasted effort, wrong answers, and frustrated users.

The four biggest limitations: no real-time internet access, no persistent memory between sessions, confident hallucinations, and reasoning errors in math and logic.

No Real-Time Internet Access

By default, LLMs are completely offline at inference time. They cannot:

  • Look up today's stock prices
  • Check the current weather
  • Access URLs you mention
  • Search Google or any other source

If you ask 'What is Tesla's stock price right now?', the model will either refuse or guess based on training data — which may be months or years out of date.

import anthropic

client = anthropic.Anthropic(api_key='sk-ant-your-key-here')

response = client.messages.create(
    model='claude-opus-4-5',
    max_tokens=128,
    messages=[{
        'role': 'user',
        'content': 'What is Bitcoin\'s price right now in USD?'
    }]
)
# The model will acknowledge it cannot access real-time data
print(response.content[0].text)

# To add real-time data, you must inject it yourself:
current_price = 67500  # fetched from an exchange API by YOUR code
response2 = client.messages.create(
    model='claude-opus-4-5',
    max_tokens=128,
    messages=[{
        'role': 'user',
        'content': f'Bitcoin price as of now: ${current_price}. Is this above or below $70,000?'
    }]
)
print(response2.content[0].text)

All lessons in this course

  1. Understanding the Chat Interface
  2. Types of Requests AI Can Handle
  3. How AI Generates Responses
  4. What AI Cannot Do
← Back to AI Prompt Engineering