In this tutorial, participants will explore the power of object-oriented programming (OOP) in interfacing with large language models (LLMs). We will begin by providing a brief overview of LLMs. Then, we will delve into the fundamental principles of OOP, including encapsulation, inheritance, and polymorphism, and discuss how these concepts can be applied to facilitate seamless interactions with LLMs.
Through hands-on coding exercises, attendees will learn how to design and implement object-oriented solutions for tasks such as text generation, and entity extraction using LLMs.
By the end of the tutorial, participants will have gained a comprehensive understanding of how OOP can be leveraged to effectively interface with LLMs, resulting in more efficient and maintainable codebases.
Introduction and Setup (5 Minutes)
Introduction to Large Language Models (LLMs) (5 minutes)
Overview of LLMs and their capabilities
Why Object-Oriented Programming for LLMs (5 minutes)
Designing an LLM Interface using OOP Approach (10 minutes)
Hands-on Coding Exercise (30 minutes)
Q&A and Additional Discussion (5 minutes)