Programming with LLMs in R and Python
Workshop
Abstract
Large Language Models (LLMs) offer developers unprecedented programmatic capabilities. This workshop introduces ellmer (R) and chatlas (Python), Posit packages that simplify LLM API integration, handling conversation complexities and enabling seamless interactions with AI models.
Participants will explore system prompt design, token management, and tool calling while building familiarity with current AI technologies. The workshop covers LLM integration, Shiny web app development, and touches on advanced topics like dynamic information retrieval, context engineering, and agentic workflows. Attendees will gain hands-on experience through guided exercises, with the choice to work in R or Python.