2 “AI”, Large Language Models, Coding, and Data Analytics
This chapter covers
- How LLMs basically work as a tool for coding
- The basics of prompt engineering
- LLM’s coding capabilities
This chapter explores the use of LLMs in coding tasks and data analytics tasks, their benefits, limitations, and various conceptual approaches to integrating them into your coding workflow with R. Most of the chapter focuses on building the groundwork for using LLMs in coding tasks, supported with examples and code snippets to illustrate the concepts. You will get familiar with the key parameters and settings of the OpenAI LLMs we will be working on within the following chapters, get a basic understanding of prompt engineering, and learn how to integrate these concepts and practices into your daily work with R. By the end of this chapter, you should have a good understanding of how LLMs can be used in coding and data analytics tasks, and how to integrate them into your coding workflow to boost productivity and efficiency.