Share feedback
Answers are generated based on the documentation.

Lab: AI Fundamentals for Developers

Get hands-on with the four core pillars of AI application development: models, prompt engineering, tool calling, and RAG. This lab runs entirely on your machine using Docker Model Runner — no API key or cloud account required.

Launch the lab

  1. Start the labspace:

    $ docker compose -f oci://dockersamples/labspace-ai-fundamentals up -d
    
    Note

    The lab may take a few minutes to launch, as this lab requires an AI model that will need to be downloaded.

  2. Open your browser to http://localhost:3030.

What you'll learn

By the end of this Labspace, you will have completed the following:

  • Understand the Chat Completions API and how to structure messages for a model
  • Use prompt engineering techniques including system prompts, few-shot examples, and structured output
  • Implement tool calling and the agentic loop in code
  • Build a RAG pipeline that grounds model responses in your own data

Modules

#ModuleDescription
1Welcome & SetupIntroduction to the lab and verifying your environment
2Talking to ModelsChat Completions API, message roles, and stateless model behavior
3Prompt EngineeringSystem prompts, few-shot examples, and structured output
4Tool CallingTool definitions, the agentic loop, and executing tools in code
5Retrieval Augmented Generation (RAG)Retrieve, augment, and generate with your own knowledge base
6Wrap-upSummary of concepts and next steps