Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
10 Days: Prompt Engineering, Generative AI and Data Science
Highest Rated
Rating: 4.6 out of 5(437 ratings)
3,646 students

10 Days: Prompt Engineering, Generative AI and Data Science

Prompt engineering bootcamp: LM Studio, reasoning models, OpenAI API, CrewAI AI agents, XGBoost and random forest
Last updated 11/2026
English
Arabic [Auto],German [Auto],

What you'll learn

  • Write effective prompts with prompt engineering techniques: explicit instructions, one-shot, few-shot and chain-of-thought prompting
  • Understand how transformers, attention and tokenization make large language models work, and why prompts change their answers
  • Control LLM behaviour with system messages and generation parameters such as temperature, and test them by trying to break the system message
  • Improve reasoning and reduce hallucinations with meta prompting, analogical reasoning, rephrase and respond, and multi-persona prompts
  • Prompt reasoning models and recognise overthinking prompt injection, with a critical look at the research on whether LLMs can reason
  • Use the OpenAI API in Python to generate text, tune parameters and use few-shot examples, and build a rock-paper-scissors AI as a capstone
  • Send images to a multimodal model from links or base64, and give your LLM Google search capabilities through the OpenAI API
  • Train and tune a random forest in Python, evaluate it with classification metrics and chart the results for a customer satisfaction project
  • Build XGBoost models in Python and R, tune parameters with cross-validation and explain predictions with SHAP values
  • Build agentic AI systems with CrewAI: AI agents, tasks and crews that automate multi-step work with LLMs

Course content

12 sections • 146 lectures • 14h 31m total length
  • Introduction: 5 Projects in Prompt Engineering, Generative AI and Data Science6:30

    Develop practical prompt engineering, generative AI, and data science skills through real projects using OpenAI API, XGBoost, SHAP, and AI agents, including handling hallucinations.

  • [ACTION] Download the Course Materials0:13
  • About me, Diogo2:29

    Diogo Alves de Rezende shares his data-driven background in management and analytics, and his Betacom startup's mission to help restaurants optimize menus and pricing using data.

  • Unlimited Updates Form0:08
  • Setting Up Google Colab5:01

    set up Google Colaboratory for Python programming, upload the Python folder, link to Google Drive, and start new Google Colaboratory files with automatic saving.

  • Setting Up Jupyter Notebook11:13

    Install Python and Jupyter on your laptop, install Jupyter with pip, launch in a browser, create ipynb notebooks, and compare local Jupyter with Google Colab; understand .py versus .ipynb.

  • Installing R and RStudio2:56

    Install R and the RStudio IDE on Windows or Mac OS by downloading from CRAN, following the prompts, and seeking help from IT if needed.

Requirements

  • Basic Python: loops, functions, and running a notebook. No machine learning or AI background needed.
  • A computer with internet access. A free Google Colab account and an OpenAI API key (a few dollars of credit) help you follow the API days.

Description

Learn prompt engineering, generative AI and data science in 10 focused days.

I'm Diogo. This course takes you from how large language models work to prompts that make them reliable, then to building with the OpenAI API in Python, then to machine learning with random forest and XGBoost, and finally to AI agents with CrewAI. There are 14.5 hours of video, Python and R code you can follow along, and lifetime updates.

Day by day

Introduction: meet your instructor, download the course materials and set up Google Colab, Jupyter Notebook and R with RStudio.

Day 1: Basics of prompt engineering. How transformers and attention work, then explicit instructions, one-shot, few-shot and chain-of-thought prompting, practised in LM Studio with a local LLM.

Day 2: System messages and LLM parameters. Tokenization, the OpenAI tokenizer, how a system message steers a model, three challenges where you try to break it, and the generation parameters.

Day 3: Prompt engineering for better reasoning. Meta prompting, analogical reasoning, rephrase and respond, according-to prompting, multi-persona collaboration and emotion prompting, to improve reasoning and reduce hallucinations.

Day 4: Reasoning LLMs. How reasoning models work, how to prompt them, overthinking as a prompt injection, and a look at the Apple research paper on whether LLMs can really reason.

Day 5: OpenAI API for text. Set up your API key in Python, generate text, adjust parameters such as temperature and use few-shot examples.

Day 6: Capstone project. Can GPT play rock-paper-scissors? Build the game, improve the system prompt, test temperature and compare playing strategies.

Day 7: OpenAI API for images. Send images to a multimodal model from links and as base64, and add Google searches to the model.

Day 8: Random forest for customer satisfaction. Decision trees and ensembles, data processing, evaluation metrics, parameter tuning, feature importance and how to chart a great plot.

Day 9: XGBoost in Python and R. How XGBoost works, parameter tuning and cross-validation, evaluation (confusion matrix, AUC, RMSE, bias-variance), and SHAP values to explain the model.

Day 10: Agentic AI with CrewAI. Set up CrewAI, then build your first AI agent, a task, an AI crew and two more agents.

Why this course

  • Projects, not slides: a rock-paper-scissors AI, a customer-satisfaction model and your own AI agents

  • One path from prompting to the API to machine learning to agents

  • Python throughout, with R for the XGBoost section

  • Lifetime updates and a community to ask questions

Who it is for: developers, data analysts and students who already know basic Python (loops, functions).

Ready to build with prompt engineering, generative AI and data science? Enrol and start Day 1 today.

Who this course is for:

  • Developers and data analysts who want to learn prompt engineering and generative AI with the OpenAI API in Python
  • Data science students who want hands-on random forest and XGBoost projects in Python and R
  • Professionals who want to build AI agents with CrewAI and connect LLMs to their own work
  • Anyone with basic Python who is curious about prompt engineering and LLMs