← Your program

Pragmatic Data Services · Hands-on lab · 1.5 hours · Intermediate

Natural Language Processing with Large Language Models: Using LLMs for Data Analysis

What you'll be able to do

  • Extract key details from unstructured text documents with large language models
  • Design prompts that produce consistent and structured document outputs
  • Convert model responses into usable data structures for analysis
  • Handle missing values and invalid outputs during automated text processing
  • Assess common risks when using large language models in data workflows

About this lab

In this course, participants will learn how large language models can help turn messy text into structured data that is ready for analysis. The course will focus on practical techniques for extracting key details from documents, improving reliability with stronger prompts, choosing useful output formats such as JSON, handling missing values, and reducing errors caused by inconsistent responses or invalid outputs. Learners will also examine risks such as prompt injection, prompt extraction, and hallucinations to be able to use these tools more safely in real workflows.

This course is part of the "Natural Language Processing with Large Language Models" sequence, taught by Dr. Richard Ott and Dr. Robert Schroll. It is presented in a web based Jupyter environment. This is preloaded with all of the software packages learners need, so they can get right into coding with no setup. There are several coding exercises to complete throughout the course as well as a short graded coding quiz at the end. Learners get immediate feedback from an automated grader and may attempt the quiz questions as many times as you desire. This course is best suited for a laptop or desktop computer, but there is nothing to install locally.

Skills it covers

  • Annotations
  • Attention to Detail
  • Captions
  • Data Visualization
  • Jupyter
  • Persuasiveness
  • Plotly
  • Python (Programming Language)
  • Business Intelligence
  • Data Analysis
  • Market Data