Context Engineering with ChatGPT

The comparison is about grounding: relevant versions, documentation, and examples turn a vague prompt into a reviewable workflow.

Let's start by seeing what happens when AI lacks proper context.

Experiment: ChatGPT Without Context

  1. Open ChatGPT in a private browser window (to avoid any existing chat context): https://chatgpt.com

  2. Enter this prompt:

    Create a Kestra flow that loads NYC taxi data from a CSV file to BigQuery. The flow should extract data, upload to GCS, and load to BigQuery.
    
  3. Observe the results:

    • ChatGPT will generate a Kestra flow, but it likely contains:
      • Outdated plugin syntax e.g., old task types that have been renamed
      • Incorrect property names e.g., properties that don't exist in current versions
      • Hallucinated features e.g., tasks, triggers or properties that never existed

Why Does This Happen?

Large Language Models (LLMs) like GPT models from OpenAI are trained on data up to a specific point in time (knowledge cutoff). They don't automatically know about:

  • Software updates and new releases
  • Renamed plugins or changed APIs

This is the fundamental challenge of using AI: the model can only work with information it has access to.

Key Learning: Context is Everything

Without proper context:

  • ❌ Generic AI assistants hallucinate outdated or incorrect code
  • ❌ You can't trust the output for production use

With proper context:

  • ✅ AI generates accurate, current, production-ready code
  • ✅ You can iterate faster by letting AI generate boilerplate workflow code

In the next section, we'll see how Kestra's AI Copilot solves this problem.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.