Skip to Content
Quick Start Guide to Large Language Models: Strategies and Best Practices for ChatGPT, Embeddings, Fine-Tuning, and Multimodal AI, 2nd Edition
book

Quick Start Guide to Large Language Models: Strategies and Best Practices for ChatGPT, Embeddings, Fine-Tuning, and Multimodal AI, 2nd Edition

by Sinan Ozdemir
October 2024
Intermediate to advanced content levelIntermediate to advanced
384 pages
13h 7m
English
Addison-Wesley Professional
Content preview from Quick Start Guide to Large Language Models: Strategies and Best Practices for ChatGPT, Embeddings, Fine-Tuning, and Multimodal AI, 2nd Edition

6

Advanced Prompt Engineering

Introduction

In Chapter 3, we explored the fundamental concepts of prompt engineering with LLMs, equipping ourselves with the knowledge needed to communicate effectively with these powerful, yet sometimes biased and inconsistent models. It’s time to venture back into the realm of prompt engineering with some more advanced tips. The goal is to enhance our prompts, optimize performance, and fortify the security of our LLM-based applications.

Let’s begin our journey into advanced prompt engineering with a look at how people might take advantage of the prompts we work so hard on.

Prompt Injection Attacks

Prompt injection is a type of attack that occurs when an attacker manipulates the prompt given to an LLM to generate ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Build a Large Language Model (From Scratch)

Build a Large Language Model (From Scratch)

Sebastian Raschka

Publisher Resources

ISBN: 9780135346570