Introduction to GenAI
Before we begin the discussion about security in GenAI services, let’s review the terminology in this domain.
GenAI is a kind of AI that can create new content and ideas. This includes things such as conversations, stories, images, videos, and music.
Foundation models
Foundation models (FMs) are machine learning models that learn from a wide variety of general and unlabeled data. They use the patterns and connections they’ve discovered to guess what comes next in a sequence.
Large language models
Large language models (LLMs) are a type of foundation model that focuses on tasks related to language. They are designed to handle activities such as summarizing text, generating new text, classifying information, having open-ended conversations, and extracting information.
The following diagram shows the correlation between GenAI, FMs, and LLMs:

Figure 8.1 – GenAI, FMs, and LLMs
Prompt
A prompt is...