posted in

Conversational UX Mini-Course (Free)

Welcome to the Conversational UX Mini-Course

In just 15 minutes, learn the essentials of designing and building AI Agents with our quick guide to Conversational User Experience (Conversational UX). Dive into practical techniques and the latest technologies that are transforming how conversational agents are developed, especially with the help of NLLP, NLU and Large Language Models (LLMs).”

What You Will Learn:

  1. New Design Stack: Explore the components of the modern conversational AI project stack, including flows, intents, entities, LLM integration, and the art of prompt engineering.

  2. Impact of LLMs: Discover how LLMs streamline the creation of conversational agents, reducing the need for intricate intent flows and enabling rapid, effective communication solutions.

  3. Overcoming Bias & Hallucination Management: Delve into the ethical dimensions of conversational UX, addressing biases inherent in AI technologies, and strategies to mitigate their impact on system outputs.

Time: 15 Min

Table of Contents

Conversational Design Stack

Conversational AI Project consist of the following design stack:

1. Flows, Intents & Entities: These will still be useful in use cases where the business needs very specific answers. Additionally, they can be used as follow up action to interest a user has shown in a particular product or service.

2. Large Language Models (LLMs): Integrating Large Language Models into the your project at multiple stages. LLMs can be used to interpret user intent, entities and sentiments. They can be used to answer questions. Multiple LLMs can be used in a single project, where each LLMs has a specific function.

3. Prompt Engineering: Now the fun begins. Prompt Engineering includes all of the instructions given to an LLM in order to get back high quality, accurate responses. This includes giving the LLM are role, for example "you are a super start customer service agent" and prompt chaining.
4. Knowledge Bases: This entail training the LLMs on your own data. FAQs and website information is a great example of this. The main challenge here will be in designing knowledge bases in such a way so the the LLM can understand the information quickly and accurately. Knowledge Base design is key! 

5. Storytelling, Tone & Personality: Basically at all times, we all have a story going in our minds. The story is about what we want, what we believe will happen when we get it and if we are on the right track. Even as you are reading this sentence, you are comparing this information to that story and evaluating its fit. Designers will need to consider the Customers Journey, what story customers have in their minds and create a design, narrative and tone that fit the expectation and goals of the user. 

​Role of LLMs

LLMs are redefining how we build Conversational Agents. Today, LLMs can do most of the heavy lifting in minutes. The days of building hundreds of flows of every useful intent or FAQ question are gone. Instead, LLMs can be trained on a knowledge base and be able to give great answers.

The role of a Conversation Designer has changed. Designers now have to start thinking differently. Instead of thinking linearly and having a flow-based approach to design, now we need to think more about knowledge, information, data and how all of this leads to mean making.

Through stories, knowledge bases and prompt engineering, Designers will soon be creating experiences we once only dreamed of. The Job has changed and it is now more creative then ever.

Will the Web Become more Conversational?

As Conversational AI Agents evolve and become more and more commonplace in our everyday lives we need to imagine and consider the implications to our businesses. 

Right now, Search Generative Experience (SGE), which is Google's AI Search Engine Bot, is decreasing website traffic by 18% to 68% according to latest data from Search Engine Land. SGE is only in its infancy and at some point it will be able to answer most questions much better and more directly than the average person could after reading the corresponding information. In other words, the Web as we know it is changing.

Websites now have to change. To date, websites have been like digital magazines. They are mostly made up of static content.

In the future websites will have to become destinations. A place where people go to meet, have dynamic, personalized experiences that SGE can not give them.

Main Challenges: Accuracy, Bias & Hallucinations

What is an LLM?

When a new technology really wows and gets us excited it becomes a part of us. We make it ours and we anthropomorphize it. We project human like qualities on it and this can hold us back from really understanding what we are actually dealing it.

So let's consider a few questions. Mainly what is an LLM and what are its limitations?

 Perhaps these questions and ideas will illuminate our understanding:

  1. Is an LLM a program?

  2. Is an LLM a knowledge base?

  3. Does an LLM know anything? 

  4. If an LLM is a program how does it compute its 70-100 Billion parameters in only a few seconds?

  5. If an LLM is a knowledge base, why does it need to predict? 

  6. How can an LLM Model with Billions of parameters that has been trained on pretty much the entire internet, fit on a 100GB drive?

  7. What are some simple tasks that LLMs can't do?

Hopefully these questions dispel some of the mystic around LLMs. There are a number of things that most people believe about them that are contradictory and wrong.

First, LLMS are not knowledge bases and they are not really programs either. What they are is a statistical representation of a knowledge bases.

In other words, an LLM like ChatGPT4 has been trained on hundreds of billions of parameters that it has condensed into statistical patterns. It does't have any knowledge but it has the patters of knowledge. When you ask it a question, it predicts the answer based on its statistical model.

A good way to think about this is that it is basically like a filter. Your question becomes the filter and configures the shape of the model so the right content or words drip out.

If you want to learn more about LLMs and how they work check out our LLM Section.

​What is Bias?

​Bias is an inclination to favor or oppose a person, group, idea, or thing, often in an unfair, inaccurate, or prejudicial way. Biases can be conscious or unconscious, and can be held by individuals, groups, or institutions

Bias has its roots in our preferences. For example, if you prefer coffee over tea, you are more likely to show bias towards coffee. You might believe that more people drink coffee, that coffee increases your mental focus better, even that it is healthier. At the bare minimum, you will have more information about coffee which will skew how you view both coffee and tea.

Why do Model’s Hallucinate?

LLMs are Statistical Representations of Knowledge Bases. They have taken the world's information and knowledge and boiled it down to statistical principles.

These principles are like icons. Icons represent something much more than what they are. They are a low resolution images that represent a much bigger chunk of information. They give you a lot more information than meets the eye.

When we combine both low-resolution models and bias we will have a hallucinations and poor accuracy.

How does this work and when does it happen?

It happens when you ask a detailed question about something specific. In our example, if you ask detailed questions about the icon, the model might make up those details in a way that conforms to its biases.

Exploring Current Solutions

The consequences of unethical AI are profound and multifaceted, affecting every level of society. There would be breakdown at each level of responsibility.

1) Awareness

Awareness is the first step to address both issues: Bias and Accuracy. By understanding what LLMs actually are, how the work, and what their limitations are we can build much better products. 

2) Knowledge Bases & RAG

Next, we want to train the Models on our own data. By doing so, we can limit bias and give the model the right information so it can answer questions about our business.  

You can also use your proprietary data to build unique and personalized experiences that delight customers. 

Here are the variables to consider:

  1. Hierarchical Structure: This relates to how information is organized in your company and the overall hierarchy of data.

  2. Document Context & Semitics: This relates to how information is organized within a document, pdf, or webpage and how it relates to the context and overall meaning.

3) Prompt Engineering

This is the other great way to work around the limitations of LLMs.

Prompt Engineering is all about triggering the model to find the right 'icon' and then to follow up and go deeper into that 'icon' by asking the right contextual questions.

Here are a few variables to consider:

  1. Consider your overall goal

  2. How many steps are in your goal?

  3. What knowledge is required to accomplish the goal?

  4. Who is the right role or person for the job? 

  5. What is the context of your goal?

  6. What are the instructions for each step?

Using these parameters, you can break it down into multiple Prompt and give very clear, focused instructions in each one. 

Next: Deepen your Understanding of AI or jump into building your own AI Agent.

Congrats! You know know more about Conversational AI then most people. Next you can go deeper into Understanding AI or jump into Building an AI Agent in our Course.

>>> Build AI Agent Course

>>> Understanding AI Course

posted in

Understanding AI (Free)

Mastering the Basics of Conversational AI

Embark on a journey into the world of artificial intelligence with our introductory course, “Understanding AI.” Designed for beginners and intermediate learners, this course provides a comprehensive overview of the fundamental concepts of AI, focusing on Conversational AI technologies like LLMs, NLU, and RAG. Whether you’re a developer, a product manager, or simply an AI enthusiast, this course will equip you with the knowledge needed to understand and discuss AI technologies confidently.

What You Will Learn:

  • Core AI Concepts: Understand what AI is, its key components, and how it’s evolved over time.

  • LLMs in Conversational AI: Learn about Large Language Models and their role in enhancing conversational agents.

  • NLU and NLP: Dive into Natural Language Understanding and Processing—key technologies behind AI’s ability to interpret human language.

  • Knowledge Bases and RAG: Explore how AI systems utilize knowledge bases and Retrieval-Augmented Generation to improve response accuracy.

  • AI Ethics and Bias: Gain insight into the ethical considerations and potential biases involved in AI development.

Course Content:

  1. Introduction to AI and Conversational Agents

    1. Overview of Conversational Agents

    2. Intro to Foundational Technologies such as LLMs, NLU, NLP, etc.

  2. Deep Dive into LLMs

    1. Understanding Core Functions of LLMs

    2. Know when and how to Apply them in a Conversational Agent

  3. Overcoming LLM Challenges & Limitations

    1. Exploration of Hallucination, Bias and other core limitations of LLMs

    2. Practical Solutions & Strategies

  4. Ethical Considerations and Bias in AI

    1. Considering Ethical implications of AI and LLMs

Is it for me?

  • Aspiring AI Professionals: Ideal for those starting their journey into AI and looking for a structured learning path.

  •  Developers and Product Managers: Perfect for tech professionals who wish to understand AI applications in software development and product design.

  • AI Enthusiasts: Suitable for anyone curious about how AI technologies work and their impact on various industries.

Join us in “Understanding AI” to build a solid foundation in Artificial Intelligence, preparing you to engage with and contribute to discussions on one of today’s most dynamic and impactful fields of technology.

Getting Started

Below you can select any lesson and jump right in.

Lesson 1: Introduction to AI and Conversational Agents

  • Basics of Conversational Agents: Understand the core functions of chatbots and virtual assistants and their applications in various industries.

  • Foundational Technologies: Dive into the critical technologies that power conversational agents, including the workings of NLP, NLU, and the transformative role of LLMs.

  • Integration of LLMs: Explore how conversational agents use Retrieval-Augmented Generation (RAG) for pulling contextually relevant information during interactions.

  • Advanced Techniques: Learn about the strategic implementation of prompt design, engineering, and the fine-tuning of LLMs to refine interactions and enhance user experience.

>>> Start Lesson 1

Lesson 2: Deep Dive into LLMs

  • The Core Functions of LLMs: How these models generate text and interpret language.

  • Advanced Implementation Strategies: Including prompt engineering and the use of RAG for dynamic information retrieval.

  • Practical Applications: How these technologies are applied in real-world scenarios to create more intelligent and responsive AI agents.

>>> Start Lesson 2

Lesson 3: Overcoming LLM Challenges & Limitations

  • The Nature of Hallucinations and Inaccuracies: Learn why LLMs, despite their sophistication, can generate misleading or incorrect responses, and how this ties back to their design and training data.

  • Bias Unpacked: Dive into the mechanics of bias within AI systems. We’ll discuss what creates bias, how it affects the outputs of LLMs, and the broader implications for technology and society.

  • Practical Solutions and Strategies: Explore actionable techniques such as prompt tuning, knowledge base optimization, and fine-tuning strategies designed to refine the performance of LLMs and ensure they are not only effective but also equitable and ethical in their operations.

>>> Start Lesson 3

Lesson 4: AI Ethics

  • Ethical Impacts of AI

  • Impact on Businesses, Jobs, Culture, and our Democratic Institutions

>>> Start Lesson 4

posted in

Building AI Agents Course

Building AI Agents Course

>>> Start Course: Mastering AI Agent Design and Deployment
Embark on a comprehensive journey to master the creation of AI Agents with our AI Agents Course.

This course is tailored for designers, developers, and AI product decision-makers eager to enhance their skills in conversational AI. By participating, you will gain the expertise to design, develop, and deploy sophisticated AI agents using the latest technologies in LLMs, NLU, and Knowledge Bases.

What You Will Learn:

-Conversational Design
-Prompt Engineering: Refine your ability to craft effective AI interactions.
-LLMs & NLU Usage: Learn when and how to effectively implement Large Language Models and Natural Language Understanding.
-Knowledge Base Implementation: Master the integration of complex knowledge bases with Retrieval-Augmented Generation.

Course Content:

Is it for me?

-Designers looking to expand their UX/UI skills into AI-driven interfaces.
-Developers aiming to enhance their technical prowess in AI integrations.
-Product Managers and AI Product Decision-Makers seeking to innovate and lead in AI product development.
-Entrepreneurs & Startups: Great for AI Entrepreneurs who want to create MVPs and Startups that want to automate parts of their business.

Meet Your Instructors:

-Stefan Kojouharov: With a rich background in conversational AI and collaborations with tech giants, Stefan will guide you through integrating comprehensive conversational UX strategies.
-Austin Bedford: A seasoned Conversational Designer with a deep focus on conversational interfaces, Austin brings invaluable insights from his experience with top-tier tech companies such as Salesforce, Intuit, Google and more.
-Voiceflow Team (Sara, Peter, & Sam): Experts in streamlining conversational AI development, the Voiceflow team will share their practical knowledge in effective AI implementation.

Part 1: Designing your AI Agent

In Part 1 you will learn how to think and design an AI Agent like a Conversational Designer.
We will start with an overview and intro to Conversational UX (CUX) and the design Stack. Then we will jump into designing your user cases around user goals and turning them into conversational flows.
These flows will be both deterministic and dynamic using the the entire CUX Stack. Lastly, we will look to improve and optimize the flows via Copywriting and Behavioral Design.

Lesson 1: Intro to Conversational UX

-Intro to Conversational Design
-5 Parts of a Conversation
-The Conversational UX Workflow

>>> Start Lesson 1

Lesson 2: Designing for Users

-User Personas
-Brand Archetypes
-Insights into User Goals, Motivations & Frustration

>>> Start Lesson 2

Lesson 3: Defining your AI Agent's Use Cases & Flows

-Defining your Use Cases & User Goals
-Organizing Tasks
-Conversational Flows

>>> Start Lesson 3

Lesson 4: Intro to Data, NLU & LLMs

-What information does the User & AI Agent need?
-Intro to NLU & NLP

>>> Start Lesson 4

Lesson 5: Copywriting & Behavioral Designing

-3 Parts of a Good Design
-Psychology & Behavior Design

>>> Start Lesson 5

Part 2: LLMs, Knowledge Bases & Prompt Engineering

In Part 2, you’ll learn to organize information effectively, turning AI into a master librarian that delivers precise and relevant answers. Additionally, you’ll discover techniques to tailor AI responses to fit specific user needs, making interactions more personalized and effective.

Lesson 6: LLMs, Knowledge Bases & Organizing Data for RAG

-What are LLMs and how they work
-Knowledge Bases and RAG Essentials
-Advanced Prompt EngineeringWatch Lesson 1

>>> Start Lesson 6

Lesson 7: Prompt Engineering

-Overview of Prompt Engineering
-9 Types of Prompt Engineering

>>> Start Lesson 7

Part 3: Building & Deploying your AI Agent

In Part 3, you’ll build and deploy your AI Agent on Voiceflow. Voiceflow has a FREE options which you can use for this course.

>>> Sign up for Voiceflow

Lesson 8: Building your AI Agent in Voiceflow

-Starting your project
-Setting up your Knowledge Base
-Creating your first flow

>>> Start Lesson 8

Lesson 9: How to use LLMs, NLU & Prompt Engineering in Voiceflow

-When & How to use LLMs & NLU
-Using Prompt Chaining
-Personalization, Sentiment Analysis, and answering user questions
-Setting up a Dynamic Persona: A stable personality whose tone changes to meet user needs.

>>> Start Lesson 9

Lesson 10: Advanced Step By Step AI Agent Build

-Follow Peter as he build a bot using flow, NLU, and LLMs
-Knowledge Base
-Prompt Engineering
-DIY Home Depot Bot

>>> Start Lesson 10

Scroll to load more

Back

posted in

AI School

Conversational UX Mini-Course (Free)

Welcome to the Conversational UX Mini-Course

In just 15 minutes, learn the essentials of designing and building AI Agents with our quick guide to Conversational User Experience (Conversational UX). Dive into practical techniques and the latest technologies that are transforming how conversational agents are developed, especially with the help of NLLP, NLU and Large Language Models (LLMs).”

What You Will Learn:

  1. New Design Stack: Explore the components of the modern conversational AI project stack, including flows, intents, entities, LLM integration, and the art of prompt engineering.

  2. Impact of LLMs: Discover how LLMs streamline the creation of conversational agents, reducing the need for intricate intent flows and enabling rapid, effective communication solutions.

  3. Overcoming Bias & Hallucination Management: Delve into the ethical dimensions of conversational UX, addressing biases inherent in AI technologies, and strategies to mitigate their impact on system outputs.

Time: 15 Min

Table of Contents

Conversational Design Stack

Conversational AI Project consist of the following design stack:

1. Flows, Intents & Entities: These will still be useful in use cases where the business needs very specific answers. Additionally, they can be used as follow up action to interest a user has shown in a particular product or service.

2. Large Language Models (LLMs): Integrating Large Language Models into the your project at multiple stages. LLMs can be used to interpret user intent, entities and sentiments. They can be used to answer questions. Multiple LLMs can be used in a single project, where each LLMs has a specific function.

3. Prompt Engineering: Now the fun begins. Prompt Engineering includes all of the instructions given to an LLM in order to get back high quality, accurate responses. This includes giving the LLM are role, for example "you are a super start customer service agent" and prompt chaining.
4. Knowledge Bases: This entail training the LLMs on your own data. FAQs and website information is a great example of this. The main challenge here will be in designing knowledge bases in such a way so the the LLM can understand the information quickly and accurately. Knowledge Base design is key! 

5. Storytelling, Tone & Personality: Basically at all times, we all have a story going in our minds. The story is about what we want, what we believe will happen when we get it and if we are on the right track. Even as you are reading this sentence, you are comparing this information to that story and evaluating its fit. Designers will need to consider the Customers Journey, what story customers have in their minds and create a design, narrative and tone that fit the expectation and goals of the user. 

​Role of LLMs

LLMs are redefining how we build Conversational Agents. Today, LLMs can do most of the heavy lifting in minutes. The days of building hundreds of flows of every useful intent or FAQ question are gone. Instead, LLMs can be trained on a knowledge base and be able to give great answers.

The role of a Conversation Designer has changed. Designers now have to start thinking differently. Instead of thinking linearly and having a flow-based approach to design, now we need to think more about knowledge, information, data and how all of this leads to mean making.

Through stories, knowledge bases and prompt engineering, Designers will soon be creating experiences we once only dreamed of. The Job has changed and it is now more creative then ever.

Will the Web Become more Conversational?

As Conversational AI Agents evolve and become more and more commonplace in our everyday lives we need to imagine and consider the implications to our businesses. 

Right now, Search Generative Experience (SGE), which is Google's AI Search Engine Bot, is decreasing website traffic by 18% to 68% according to latest data from Search Engine Land. SGE is only in its infancy and at some point it will be able to answer most questions much better and more directly than the average person could after reading the corresponding information. In other words, the Web as we know it is changing.

Websites now have to change. To date, websites have been like digital magazines. They are mostly made up of static content.

In the future websites will have to become destinations. A place where people go to meet, have dynamic, personalized experiences that SGE can not give them.

Main Challenges: Accuracy, Bias & Hallucinations

What is an LLM?

When a new technology really wows and gets us excited it becomes a part of us. We make it ours and we anthropomorphize it. We project human like qualities on it and this can hold us back from really understanding what we are actually dealing it.

So let's consider a few questions. Mainly what is an LLM and what are its limitations?

 Perhaps these questions and ideas will illuminate our understanding:

  1. Is an LLM a program?

  2. Is an LLM a knowledge base?

  3. Does an LLM know anything? 

  4. If an LLM is a program how does it compute its 70-100 Billion parameters in only a few seconds?

  5. If an LLM is a knowledge base, why does it need to predict? 

  6. How can an LLM Model with Billions of parameters that has been trained on pretty much the entire internet, fit on a 100GB drive?

  7. What are some simple tasks that LLMs can't do?

Hopefully these questions dispel some of the mystic around LLMs. There are a number of things that most people believe about them that are contradictory and wrong.

First, LLMS are not knowledge bases and they are not really programs either. What they are is a statistical representation of a knowledge bases.

In other words, an LLM like ChatGPT4 has been trained on hundreds of billions of parameters that it has condensed into statistical patterns. It does't have any knowledge but it has the patters of knowledge. When you ask it a question, it predicts the answer based on its statistical model.

A good way to think about this is that it is basically like a filter. Your question becomes the filter and configures the shape of the model so the right content or words drip out.

If you want to learn more about LLMs and how they work check out our LLM Section.

​What is Bias?

​Bias is an inclination to favor or oppose a person, group, idea, or thing, often in an unfair, inaccurate, or prejudicial way. Biases can be conscious or unconscious, and can be held by individuals, groups, or institutions

Bias has its roots in our preferences. For example, if you prefer coffee over tea, you are more likely to show bias towards coffee. You might believe that more people drink coffee, that coffee increases your mental focus better, even that it is healthier. At the bare minimum, you will have more information about coffee which will skew how you view both coffee and tea.

Why do Model’s Hallucinate?

LLMs are Statistical Representations of Knowledge Bases. They have taken the world's information and knowledge and boiled it down to statistical principles.

These principles are like icons. Icons represent something much more than what they are. They are a low resolution images that represent a much bigger chunk of information. They give you a lot more information than meets the eye.

When we combine both low-resolution models and bias we will have a hallucinations and poor accuracy.

How does this work and when does it happen?

It happens when you ask a detailed question about something specific. In our example, if you ask detailed questions about the icon, the model might make up those details in a way that conforms to its biases.

Exploring Current Solutions

The consequences of unethical AI are profound and multifaceted, affecting every level of society. There would be breakdown at each level of responsibility.

1) Awareness

Awareness is the first step to address both issues: Bias and Accuracy. By understanding what LLMs actually are, how the work, and what their limitations are we can build much better products. 

2) Knowledge Bases & RAG

Next, we want to train the Models on our own data. By doing so, we can limit bias and give the model the right information so it can answer questions about our business.  

You can also use your proprietary data to build unique and personalized experiences that delight customers. 

Here are the variables to consider:

  1. Hierarchical Structure: This relates to how information is organized in your company and the overall hierarchy of data.

  2. Document Context & Semitics: This relates to how information is organized within a document, pdf, or webpage and how it relates to the context and overall meaning.

3) Prompt Engineering

This is the other great way to work around the limitations of LLMs.

Prompt Engineering is all about triggering the model to find the right 'icon' and then to follow up and go deeper into that 'icon' by asking the right contextual questions.

Here are a few variables to consider:

  1. Consider your overall goal

  2. How many steps are in your goal?

  3. What knowledge is required to accomplish the goal?

  4. Who is the right role or person for the job? 

  5. What is the context of your goal?

  6. What are the instructions for each step?

Using these parameters, you can break it down into multiple Prompt and give very clear, focused instructions in each one. 

Next: Deepen your Understanding of AI or jump into building your own AI Agent.

Congrats! You know know more about Conversational AI then most people. Next you can go deeper into Understanding AI or jump into Building an AI Agent in our Course.

>>> Build AI Agent Course

>>> Understanding AI Course

Conversational UX Mini-Course (Free)