Skip to search
Skip to main content
Search in
Keyword
Title (keyword)
Author (keyword)
Subject (keyword)
Title starts with
Subject (browse)
Author (browse)
Author (sorted by title)
Call number (browse)
search for
Search
Advanced Search
Bookmarks
(
0
)
Princeton University Library Catalog
Start over
Cite
Send
to
SMS
Email
EndNote
RefWorks
RIS
Printer
Bookmark
ChatGPT for Conversational AI and Chatbots : Learn How to Automate Conversations with the Latest Large Language Model Technologies / Adrian Thompson.
Author
Thompson, Adrian, 1970-
[Browse]
Format
Book
Language
English
Εdition
First edition.
Published/Created
Birmingham, England : Packt Publishing, [2024]
©2024
Description
1 online resource (250 pages)
Details
Subject(s)
Artificial intelligence
[Browse]
Summary note
Explore ChatGPT technologies to create state-of-the-art chatbots and voice assistants, and prepare to lead the AI revolution Key Features Learn how to leverage ChatGPT to create innovative conversational AI solutions for your organization Harness LangChain and delve into step-by-step LLM application development for conversational AI Gain insights into security, privacy, and the future landscape of large language models and conversational AI Purchase of the print or Kindle book includes a free PDF eBook Book Description ChatGPT for Conversational AI and Chatbots is a definitive resource for exploring conversational AI, ChatGPT, and large language models. This book introduces the fundamentals of ChatGPT and conversational AI automation. You'll explore the application of ChatGPT in conversation design, the use of ChatGPT as a tool to create conversational experiences, and a range of other practical applications. As you progress, you'll delve into LangChain, a dynamic framework for LLMs, covering topics such as prompt engineering, chatbot memory, using vector stores, and validating responses. Additionally, you'll learn about creating and using LLM-enabling tools, monitoring and fine tuning, LangChain UI tools such as LangFlow, and the LangChain ecosystem. You'll also cover popular use cases, such as using ChatGPT in conjunction with your own data. Later, the book focuses on creating a ChatGPT-powered chatbot that can comprehend and respond to queries directly from your unique data sources. The book then guides you through building chatbot UIs with ChatGPT API and some of the tools and best practices available. By the end of this book, you'll be able to confidently leverage ChatGPT technologies to build conversational AI solutions. What you will learn Gain a solid understanding of ChatGPT and its capabilities and limitations Understand how to use ChatGPT for conversation design Discover how to use advanced LangChain techniques, such as prompting, memory, agents, chains, vector stores, and tools Create a ChatGPT chatbot that can answer questions about your own data Develop a chatbot powered by ChatGPT API Explore the future of conversational AI, LLMs, and ChatGPT alternatives Who this book is for This book is for tech-savvy readers, conversational AI practitioners, engineers, product owners, business analysts, and entrepreneurs wanting to integrate ChatGPT into conversational experiences and explore the possibilities of this game-changing technology. Anyone curious about using internal data with ChatGPT and looking to stay up to date with the developments in large language models will also find this book helpful. Some expertise in coding and standard web design concepts would be useful, along with familiarity with conversational AI terminology, though not essential.
Source of description
Description based on publisher supplied metadata and other sources.
Description based on print version record.
Contents
Cover
Title Page
Copyright and credits
Contributors
Table of Contents
Preface
Part 1: Foundations of Conversational AI
Chapter 1: An Introduction to Chatbots, Conversational AI, and ChatGPT
What are chatbots and conversational AI?
A brief history of conversational AI
An overview of chatbots and automated assistants
Evolution of chatbots and conversational AI
Understanding conversational AI applications
Customer service
Language translation
Education
Healthcare
Banking and insurance
Retail
Human resources
Conversational AI as a training tool - the emergence of digital humans
Conclusion
What is OpenAI's ChatGPT?
Understanding the large language technology behind ChatGPT
The role of tokens in LMs
Understanding OpenAI's LMs
Capabilities and applications of ChatGPT
Capabilities of ChatGPT
How smart is ChatGPT?
Applications of ChatGPT
Limitations of ChatGPT
Limitations
Risks and security
Summary
Further reading
Chapter 2: Using ChatGPT with Conversation Design
Technical requirements
Understanding conversation design
Exploring the role of conversation designers
Working with practical applications of ChatGPT in conversation design
Intent clustering with ChatGPT
Understanding utterance and entity generation
Using ChatGPT to help write your dialogue
Persona creation with ChatGPT
Using ChatGPT for user research
Creating our user and chatbot personas
Simulating conversations
What is a sample dialogue?
Creating sample dialogue
Creating sample dialogue with personas
Testing and iteration in conversation design with ChatGPT
Testing with ChatGPT
Part 2: Using ChatGPT, Prompt Engineering, and Exploring LangChain.
Chapter 3: ChatGPT Mastery - Unlocking Its Full Potential
Mastering the ChatGPT interface
The Free and Plus versions of ChatGPT
ChatGPT interface
GPTs
Exploring OpenAI Playground
Getting started
UI features
Pricing for API and Playground
Learning to use the ChatGPT API
Calling the API directly
Setting up with the OpenAI Python library
Setting up with the OpenAI Node.js library
Other ChatGPT libraries
Chapter 4: Prompt Engineering with ChatGPT
Going through the concepts of prompt engineering
Understanding the core components of a successful prompt
Instruction
Context
Scope
Role
Audience
Input data
Output data
Working with a prompt engineering strategy
Define clear goals
Employ iterative prompt development
Start simple
Use follow-up prompts to test against multiple examples
Use temperature when you need to
Handling memory limitations in ChatGPT
Knowing the prompt engineering techniques
Few-shot learning for a customer support chatbot
Prompting to summarize data for a conversational agent
Prompting to create your own chatbot powered by ChatGPT
Chapter 5: Getting Started with LangChain
Introduction to LangChain
LangChain libraries
Core components of LangChain
Working with LLMs in LangChain
Prompt templates
Using output parsers
Understanding LangChain Expression Language
What is LCEL?
Key components of LCEL
Runnable protocol
A simple example of LCEL
Creating different LangChain chains
Basic chain example
Creating a sequential chain to investigate conversational data.
Utilizing parallel chains in LangChain for efficient multi-source information gathering
Routing chains to answer questions effectively
Chapter 6: Advanced Debugging, Monitoring, and Retrieval with LangChain
Debugging and monitoring LangChain
Understanding tracing techniques
Introducing LangSmith
Leveraging LangChain agents
What is an agent?
What are LangChain tools?
An introduction to OpenAI tool calling
Plug-and-play LangChain tools for immediate integration
An out-of-the-box tool example
Using our tool with an agent
Creating a custom weather tool
Exploring LangChain memory
Exploring the different types of memory applications
Understanding memory challenges
Introducing memory usage techniques
Understanding an example of using memory in LangChain
Part 3: Building and Enhancing ChatGPT-Powered Applications
Chapter 7: Vector Stores as Knowledge Bases for Retrieval-augmented Generation
Why do we need RAG?
Understanding the steps needed to create a RAG system
Defining your RAG data sources
Preprocessing our content and generating embeddings
Chunking for effective LLM interactions
Creating embeddings with OpenAI models
Storing and searching our embeddings with a vector store
Deciding which vector database to use
Working through a RAG example with LangChain
Integrating data - choosing your document loader
Creating manageable chunks with text splitting
Creating and storing text embeddings
Bringing everything together with LangChain
Chapter 8: Creating Your Own LangChain Chatbot Example
Scoping our ChatGPT project
A holiday assistant use case.
A persona outline for Ellie the explorer
Ellie's conversational scope
Technical features
Getting our data ready for the chatbot
Selecting our data sources
Preparing the hotel data
Creating our agent for complex interactions
Creating the agent tools
Bringing it all together - building Your own LangChain Chatbot with Streamlit
Creating secrets and config management
Creating our agent service
Building our Streamlit chat app
Running and testing Ellie, our chatbot application
Ways to improve Ellie
Chapter 9: The Future of Conversational AI with LLMs
Going into production
Understanding the dangers of going into production
Challenges of RAG systems
Evaluating production systems
Components of an evaluation system
Learning how to use LangSmith to evaluate your project
Application monitoring in production with LangSmith
Advanced monitoring features with LangSmith
Tracing and data management
Monitoring tools
Advanced monitoring features
Alternatives to ChatGPT and LangChain
Some alternatives to ChatGPT and OpenAI LLMs
Some alternatives to LangChain
Looking at the growing LLM landscape
The growth of the small language model (SLM)
Are LLMs reaching their limit?
Enter SLMs
SLMs versus LLMs - key differences
Advantages of SLMs
Disadvantages of SLMs
Some examples of SLMs
The transformative potential of SLMs
Where to go from here
Index
Other Books You May Enjoy.
Show 178 more Contents items
ISBN
1-80512-235-5
OCLC
1446127977
Statement on language in description
Princeton University Library aims to describe library materials in a manner that is respectful to the individuals and communities who create, use, and are represented in the collections we manage.
Read more...
Other views
Staff view
Ask a Question
Suggest a Correction
Report Harmful Language
Supplementary Information