8

AI for Chatbots

Chatbots have rapidly become a ubiquitous part of digital interfaces, and today’s users expect their conversational agents to be smart, natural, and highly capable. While chatbots used to be limited by scripted responses and basic natural language capabilities, large language models (LLMs) such as GPT-3 are revolutionizing what’s possible.

In this chapter, we will explore how to create richer, more human-like chatbot experiences by integrating LLM APIs into our conversational interfaces. These AI-powered chatbots can deeply understand natural language, hold open-ended conversations, and complete complex tasks – all through natural dialogue.

We will start by looking at the advanced natural language processing abilities of LLMs, ...

Get Unlocking the Secrets of Prompt Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.