> For the complete documentation index, see [llms.txt](https://www.mlcompendium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.mlcompendium.com/generative-ai/intro.md).

# Introduction

Generation is how the model meets a user who did not bring a labeled table. After this chapter the reader can trace a prompt, a retrieval step, an agent, and a generated modality back to the model that produces it. The chapter starts with the methods and models that generate, moves to the systems built around them, and ends with the surfaces where a user actually meets the output.

## Methods

The first stop is how a generative model is adapted and what kinds of model generate at all. [Methods](/generative-ai/methods.md) is the parameter-efficient fine-tuning entry point, the way to adapt a large model without retraining all of it. [Diffusion Models](/generative-ai/diffusion-models.md) is the introductory reading on diffusion, the model family behind most image generation. [Large Language Models (LLMs)](/generative-ai/large-language-models-llms.md) is the page for the text models themselves. [Prompt](/generative-ai/prompt.md) is how you steer those models once they exist, from prompt writing to prompt tuning.

## Systems

Once a model can generate, the next step is to wrap it in a system that brings in knowledge and takes actions. [RAG](/generative-ai/rag.md) collects retrieval-augmented generation tutorials and Graph RAG notes, the way a model answers from your documents. [Agents](/generative-ai/agents.md) collects frameworks and products for tool-using and multi-agent LLM setups. [Research and Reviewer Agents](/generative-ai/research-reviewer-agents.md) sorts agents that do scientific research, agents that also review what they produced, and agents that only review.

## Surfaces

The systems finally reach a user through a modality or an interface. [Speech](/generative-ai/speech.md) covers speech recognition models and how to evaluate them with word error rate. [Vision](/generative-ai/vision.md) points at DINOv2, a self-supervised vision foundation model. [Mix N Match](/generative-ai/mix-n-match.md) is where vision, language, and speech tools are combined into one system. [GenAI Applications](/generative-ai/genai-applications.md) collects applications built with generative models, from DreamBooth personalization to chatting with a PDF. [Chat UI/UX](/generative-ai/chat-ui-ux.md) is the ready chat interfaces that sit over an LLM backend. [Chat Bots](/generative-ai/chat-bots.md) is a chatbot survey with cross-links into the GPT and intent-recognition notes. [Conversation](/generative-ai/conversation.md) points at Cornell ConvoKit for analyzing the conversations those bots take part in. [Gen AI Industry](/generative-ai/generative-ai.md) closes the chapter with overviews of the generative-AI landscape.

See also [Understanding PandasAI](https://cohenori.medium.com/understanding-pandasai-fc135b871e84) (May 2023), which looks at Pandas-AI, a Python library that brings generative AI into Pandas so data frames become conversational, and at how any LLM can be steered to answer data questions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.mlcompendium.com/generative-ai/intro.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
