Getting Accurate AI Answers in Voiceflow

Voiceflow
11 Mar 202417:46

Summary

TLDRThis video script offers a structured approach to enhancing AI assistant responses by refining data structuring. It highlights common issues like outdated information and inaccurate answers, then outlines four steps to improve AI performance: identifying key information types, selecting up-to-date and relevant data sources, ensuring proper data formatting, and adjusting knowledge base settings for optimal AI response accuracy. The guide is aimed at building a robust AI assistant capable of providing consistent and reliable answers to user queries.

Takeaways

  • 🛠️ Understanding how to structure your data is key to improving AI responses.
  • 💡 The AI can give incorrect or outdated answers if it's pulling from the wrong data sources.
  • 🎯 Start by identifying the core topics users will ask about, like pricing, case studies, and support documentation.
  • 🔍 Less is more: Focus on including fewer, higher-quality data sources in your knowledge base.
  • 📊 Properly format your documents before importing them to ensure the AI can interpret them correctly.
  • 🔄 Use integrations like Zendesk to import up-to-date support documentation directly into your AI's knowledge base.
  • 📂 Utilize plain text and specific data sources for highly accurate information, such as pricing details.
  • 🤖 Inject frequently asked questions (FAQs) manually into the knowledge base to ensure consistent and accurate responses.
  • ⚙️ Adjust settings like temperature, max tokens, and chunk limit to fine-tune the AI's response behavior.
  • 🔧 Regularly test and refine your AI's responses to ensure the highest quality answers, starting with the most important information.

Q & A

  • What is the main issue with the AI answers discussed in the video?

    -The main issue is that the AI answers are sometimes incorrect or not useful, even when the relevant information is available in the knowledge base.

  • What is the first step suggested in the video to improve AI answers?

    -The first step is to understand the types of information needed and where to source them from, ensuring that the core questions people ask are covered with up-to-date information.

  • Why is it important to focus on pricing information when structuring data for an AI assistant?

    -Pricing information is sensitive and often a key topic of inquiry for users. Ensuring it is accurate and up-to-date is crucial to avoid misinformation and maintain trust.

  • What is the significance of case studies and use cases in the context of the AI assistant's knowledge base?

    -Case studies and use cases provide real-world examples of how the AI assistant's platform, in this case Voiceflow, can be used, helping users understand its capabilities and potential applications.

  • Why is support documentation considered a large bucket of information for the AI assistant?

    -Support documentation is a large bucket because it contains a wealth of information that users frequently seek to understand how Voiceflow works and to resolve their issues.

  • What does the video suggest regarding the source of up-to-date case studies for the AI assistant?

    -The video suggests manually selecting specific, recent, and relevant blog posts that highlight the latest features and successful use cases of Voiceflow.

  • How does the video recommend handling the integration of support documentation into the AI assistant?

    -The video recommends using an integration, such as the one with Zendesk, to pull in support documents as text documents, ensuring they are formatted well and up-to-date.

  • What is the rationale behind starting with a few pieces of information when building an AI assistant for the first time?

    -Starting with a few pieces of information allows for easier debugging and optimization of responses before scaling up to include more documents, preventing the AI from getting lost in a sea of information.

  • What is the importance of formatting documents appropriately when adding them to the AI's knowledge base?

    -Proper formatting ensures that the information is organized in a way that the AI can understand and access effectively, leading to more accurate and relevant responses.

  • Why is it recommended to inject frequently asked questions (FAQs) into the AI's knowledge base?

    -Injecting FAQs allows the AI to provide specific, high-quality answers to common and sensitive questions, ensuring that users receive the exact information they are seeking.

  • What are some of the knowledge base settings that can be tweaked to improve the AI's responses?

    -Settings such as the AI model, temperature, max tokens, chunk limit, and system prompt can be adjusted to control the randomness, length, and focus of the AI's responses, as well as to maintain a balance between accuracy and token usage.

Outlines

00:00

🛠️ Structuring Data for Better AI Answers

The speaker addresses common issues with AI-generated answers, emphasizing that incorrect or outdated responses often stem from poor data structuring. The solution lies in reorganizing data effectively. The speaker promises to demonstrate how to improve AI responses in four steps. They also encourage viewers to subscribe for more content on building advanced AI agents in Voiceflow.

05:00

🔍 Identifying Core Data Sources

The speaker discusses how to start improving AI responses by identifying key information categories, such as pricing, case studies, and support documentation. They stress the importance of up-to-date data, especially for pricing, which is crucial for accuracy. The speaker also explains the challenges of importing large amounts of content, noting that AI might struggle with outdated or irrelevant information. They suggest starting with a smaller number of core documents to ensure high-quality responses before adding more data.

10:01

📄 Formatting and Importing Data Sources

The speaker dives into the importance of properly formatting data for AI, especially when dealing with sensitive information like pricing. They demonstrate how uploading documents in formats like plain text or PDFs, rather than relying on web scrapers, can yield better results. The speaker also highlights the control gained from using structured data, which allows for accurate AI responses. They stress the need for adding high-quality, specific information to improve the AI’s understanding and response accuracy.

15:03

🤖 Fine-Tuning AI Responses with FAQs and Settings

The speaker explains how to further refine AI responses by injecting frequently asked questions (FAQs) into the knowledge base. This helps the AI provide specific, accurate answers to common queries. They also go over the settings in Voiceflow that affect the AI’s behavior, such as temperature (controlling randomness), max tokens (limiting response length), and chunk limit (number of data chunks used to generate responses). The speaker emphasizes balancing these settings to improve accuracy and consistency in AI-generated answers.

Mindmap

Keywords

💡AI Answers

AI Answers refer to the responses generated by artificial intelligence when interacting with users. In the context of the video, the presenter discusses how these answers can sometimes be inaccurate or outdated, emphasizing the importance of structuring data correctly to improve the quality and accuracy of the responses provided by AI systems.

💡Data Structure

Data Structure involves organizing and formatting information in a way that is easily accessible and understandable for AI systems. The video highlights the importance of data structure in enhancing the performance of AI models, suggesting that well-structured data leads to more accurate and reliable AI answers. Examples from the script include organizing pricing information in a format that the AI can understand and use effectively.

💡Knowledge Base

A Knowledge Base is a collection of information that an AI system uses to generate responses. In the video, the speaker discusses the challenges of maintaining an up-to-date and relevant knowledge base, pointing out the need to selectively include accurate and current documents to improve AI responses. The script illustrates this concept with examples of outdated blog posts and pricing information affecting AI answers.

💡Voice Flow

Voice Flow is a platform mentioned in the video used for building advanced AI agents and voice assistants. The speaker uses Voice Flow as an example to explain how data integration and structuring can impact the effectiveness of AI systems. The video emphasizes the importance of ensuring the voice assistant provides accurate and helpful information to users.

💡Data Sources

Data Sources are origins of information that feed into the AI’s knowledge base. The video discusses different types of data sources, such as websites, blogs, and support documentation, and their impact on the accuracy of AI responses. The presenter emphasizes the need to choose reliable and current data sources to ensure that the AI system provides correct information.

💡Integration

Integration refers to the process of combining various data sources into a single system for the AI to access. The video mentions integration with platforms like Zendesk to ensure that support documentation is current and accurate. This helps maintain the AI's knowledge base with relevant and up-to-date information, improving the quality of responses.

💡Pricing Information

Pricing Information is the data related to the cost of products or services. The video discusses how incorrect or outdated pricing information can lead to inaccurate AI responses, stressing the importance of having a single, controlled document for pricing that is regularly updated to prevent errors in user interactions.

💡Support Documentation

Support Documentation includes guides and manuals that provide users with information on how to use a product or service. In the video, the speaker highlights the importance of having up-to-date support documentation integrated into the AI's knowledge base to answer user queries accurately, showcasing this through the integration of Zendesk support documents.

💡Frequently Asked Questions (FAQ)

Frequently Asked Questions (FAQ) are common questions users ask about a product or service. The video suggests adding FAQs to the knowledge base to provide quick and accurate responses to common queries. By manually injecting FAQs, the AI can give specific and high-quality answers to frequently asked questions, as demonstrated in the video with a refund policy example.

💡Chunk Limit

Chunk Limit refers to the number of information segments the AI considers when generating a response. The video explains how adjusting the chunk limit can balance the accuracy of AI answers with computational efficiency. By setting an appropriate chunk limit, the AI can use relevant data without overwhelming the system or mixing conflicting information, thus improving response accuracy.

Highlights

Understanding how to structure data is key to improving AI responses.

Outdated data sources can lead to incorrect AI answers; ensuring up-to-date information is crucial.

Start by covering core topics like pricing, case studies, and support documentation for better AI performance.

Less data, but with higher quality and relevance, results in more accurate AI responses.

Manual curation of content, especially case studies and blog posts, is necessary for maintaining relevance and accuracy.

AI struggles with information in non-text formats like images; structured text is more effective.

Integrations with tools like Zendesk ensure that the most current support documentation is used.

Uploaded files or plain text provide the most control over the AI's knowledge base.

The importance of properly formatting sensitive data, like pricing, to avoid miscommunication.

Injecting frequently asked questions (FAQs) into the knowledge base can enhance response accuracy.

Modifying knowledge base settings, like chunk limit and temperature, can fine-tune AI responses.

Starting with a smaller set of documents allows for easier debugging and optimization.

Using a single, controlled source for sensitive information like pricing minimizes errors.

Manual overrides in the knowledge base can improve AI accuracy for specific, sensitive questions.

The system prompt setting allows you to define the AI’s persona and response style, further customizing its output.

Transcripts

play00:00

you're noticing that your AI answers

play00:01

just aren't good even though you've got

play00:03

the information in your knowledge base

play00:04

in fact sometimes they're just flat out

play00:06

wrong now you don't need magic to fix

play00:08

this the key actually lies in how you

play00:11

structure your data so I'm going to show

play00:13

you how to fix that in four easy steps

play00:15

but before we do that YouTube says that

play00:16

78% of the people who watch this video

play00:18

aren't subscribed so if you want to know

play00:20

how to build the most advanced AI agents

play00:22

in voice flow hit subscribe below now

play00:24

let's dive into what you're likely doing

play00:26

wrong in a couple steps on how you can

play00:27

start to fix it so here we've got our

play00:29

voice assistant and I've gone ahead and

play00:30

loaded in a ton of data sources from our

play00:32

website to create our bot but if I go

play00:34

ahead and ask it some simple questions

play00:36

like how much does voice L cost it gives

play00:38

me an answer but this answer is actually

play00:40

wrong and if I really look into it it's

play00:42

because it's coming from some outdated

play00:44

blog post in January like 2 years ago if

play00:47

I asked another question like what are

play00:49

the steps in voice flow so you would

play00:51

expect an answer like the button step

play00:52

the text step all the steps you use to

play00:54

design your flow or your assistant and

play00:56

you can see here that it doesn't

play00:57

actually answer that either it gives me

play00:59

some something about user testing and

play01:01

drafting the design this isn't what I'm

play01:03

looking for now these answers aren't

play01:04

good but there are a couple ways that I

play01:06

can go ahead and improve them and

play01:07

rethink about how I'm structuring the

play01:09

data that's going to be informing this

play01:11

assistant the first one is understanding

play01:13

what types of information I want to have

play01:15

and where I'm going to grab those from

play01:16

now I want this to be a baller website

play01:18

so users are going to come here they're

play01:19

going to ask questions I'm going to

play01:20

eventually capture their emails and try

play01:22

to get demos and leads but the first

play01:23

thing I want to do is I want to make

play01:24

sure that I've got my core bases covered

play01:26

of what people are going to ask so I

play01:28

know that people are going to ask about

play01:30

pricing this is a big one that I want to

play01:32

make sure I have up toate information on

play01:34

so let's go pricing the second one is

play01:37

going to be about case studies and use

play01:39

cases right I know that some of the

play01:40

common questions people ask me are what

play01:42

can vool do how much support can vool

play01:45

automate what is the type of AI agent

play01:46

that I can build on voice flow so I want

play01:48

to add in some upto-date case

play01:50

studies and maybe some relevant blog

play01:52

posts about some of the most recent

play01:54

features that we've released now the

play01:56

third one is probably going to be the

play01:58

biggest bucket which is actually going

play01:59

to going to be our support documentation

play02:01

a ton of users come to our vo website

play02:03

and they ask questions about how vo

play02:05

works now we want to make sure that

play02:06

they've got a really good source

play02:08

information to get this from so in that

play02:10

case I'm going to write support docs now

play02:13

for each of these buckets I want to make

play02:15

sure that I've got upto-date information

play02:17

that's being loaded into my assistant so

play02:19

for my support documentation I'm

play02:21

actually going to go ahead and grab

play02:22

these specifically from zendesk I may

play02:25

also add our developer documentation in

play02:26

here this ensures that the information

play02:29

that people are going to be asking about

play02:30

is as up to date as our docs are so I'm

play02:32

going to say import from

play02:34

zendesk now upto-date case studies is

play02:37

going to be a bit more manual I want to

play02:40

understand and look through our blog and

play02:41

figure out what are the specific types

play02:43

of blog posts that I want to include in

play02:45

our assistant to make sure that users

play02:47

have the most up-to-dated information

play02:48

one of the biggest hazards with

play02:50

importing your whole website is that you

play02:52

have a ton of content out there that is

play02:53

out of date but the AI has no idea

play02:55

what's out of date or what isn't and so

play02:57

that's up to you to decide what goes

play02:59

into there to kind of form the brain or

play03:01

the base of their knowledge and the last

play03:03

one here is pricing now pricing is super

play03:05

sensitive right you don't want to give

play03:07

out wrong prices you don't want to give

play03:08

people R this information so I want to

play03:10

be really careful and make sure that

play03:11

I've got up toate information and that I

play03:13

only have one document around pricing so

play03:15

that I can go ahead and update it if the

play03:17

pricing ever changes or that the

play03:19

informational pricing I know is only

play03:21

going to come from one unique source

play03:23

that I have a lot of control my

play03:25

recommendation here is that when you're

play03:26

building your assistant for the first

play03:28

time you start off with a few pieces of

play03:30

information so in this case I'm going to

play03:32

just start off with pricing and then I'm

play03:33

going to move to the case studies and

play03:35

it's for documentation when you start

play03:37

off with the smaller number of documents

play03:39

in your assistant it's easier to debug

play03:41

and figure out how to get the optimal

play03:42

responses before you go ahead and add

play03:44

more documentation and you get lost in a

play03:46

c of information now we're going to go

play03:48

ahead and start adding the most

play03:49

important piece of information first

play03:50

which is pricing and now this goes into

play03:53

the second rule which is to make sure

play03:55

that your documents are formatted

play03:57

appropriately and I'm going to show you

play03:58

what that means so let's get rid of all

play04:00

of this other information in our

play04:01

knowledge space here so we can start

play04:03

fresh great now I'm going to start off

play04:05

with pricing so I want to add in

play04:07

information from our pricing page this

play04:09

is going to be the most upto-date source

play04:11

of voice s information and so you can

play04:13

see here on our pricing page we've got

play04:14

our actual prices which is 50 bucks a

play04:15

month for our Pro Plan 500 for our teams

play04:17

plan and more for our Enterprise but the

play04:20

first problem here is that this

play04:22

information isn't actually organized

play04:24

well for an AI to understand now for a

play04:26

human it's easy because I can understand

play04:28

that this is in a kind of form that

play04:30

these icons mean something but a aren't

play04:33

as good as doing that on top of that the

play04:35

other thing is that the web scraper

play04:38

inside of voice flow is actually built

play04:40

for text documents so it's not going to

play04:42

be able to recognize that on this web

play04:44

page these UI elements actually indicate

play04:46

different parts it's just going to

play04:47

scrape all the text from this page and

play04:49

jumble it together so if I go ahead and

play04:51

try to add this page directly to the

play04:53

knowledge base this isn't going to go

play04:54

that well so let's add data source

play04:57

URL and import this

play05:00

so one way you can check is that when

play05:02

you actually upload a document to the

play05:03

knowledge base if you click on not the

play05:06

URL but this white part here it'll open

play05:08

up a side panel and you can see how

play05:10

voice flow has chunk that information so

play05:12

right off the bat you can see that I've

play05:14

got a bunch of URLs here this doesn't

play05:16

really make much sense I'm not seeing

play05:17

any of the columns and that's because a

play05:19

lot of the information on this page was

play05:21

actually in images so they didn't get

play05:22

scraped by the web scrier so by now try

play05:24

to go and ask something like how much

play05:26

does voice will cost it gives me an

play05:28

answer but it's not actually what I want

play05:30

right it says editors have the ability

play05:31

to make changes voice has different

play05:33

pricing plans check the website that's

play05:35

not why I'm asking your assistant I want

play05:36

the actual answer and if I check the

play05:38

sources here it's grabbing it from the

play05:40

pricing page but because that document

play05:43

doesn't actually have any well properly

play05:45

formatted information in it that the AI

play05:47

can access it's not able to actually

play05:48

answer it so because this is really

play05:51

sensitive and I want to make sure this

play05:52

is right this is where I can add a

play05:54

different data source with more

play05:56

information that's structured properly

play05:58

so let's go ahead and get rid of this

play06:00

and instead let's add a data source

play06:02

that's bit different so in terms of the

play06:04

order of control that you have so URLs

play06:07

and site map have the leas control this

play06:09

is using a web scraper to actually

play06:10

scrape the page for text and then it

play06:12

tries to put it into the best way it can

play06:14

for formatting and uploads that to voice

play06:16

flow an integration is pretty solid if

play06:19

you're using zenes this is a great one

play06:21

this is actually going to pull the

play06:22

documents from zenes and because these

play06:24

are text documents it's going to be

play06:25

formatted well the next one are uploaded

play06:28

file and pl Tex now this is how you're

play06:29

going to get the most control out of

play06:31

your assistant because when you upload a

play06:32

PDF you know that the documents are

play06:34

going to be structured properly but

play06:36

really plain text is what I'm going to

play06:37

go for here because this is going to

play06:38

allow me to inject q&as or specific

play06:41

pieces of information into my knowledge

play06:42

base that I can then go and modify later

play06:45

so what I'm going to do here now is I'm

play06:47

actually going to paste in the

play06:50

information I have about pricing now if

play06:53

you have a document that's we better you

play06:54

know I have just an example here but

play06:56

ideally you have a document with a ton

play06:58

of detail about these different PL plans

play07:00

the prices any other information you

play07:01

want users to know that can be fed to

play07:03

the AI and so I'm just going to put in a

play07:06

quick sample here but voice pricing is

play07:07

as follows Pro Plan teams plan

play07:10

Enterprise plan who's it for ETC so now

play07:13

if I go ahead and import this you can

play07:15

see that when this is done and I click

play07:16

it that the information in the chunk is

play07:18

actually great uh this is exactly what I

play07:20

put in here I have a lot of control over

play07:22

this and this is the thing with adding

play07:24

text is that you can actually go ahead

play07:25

and modify this afterwards but this is

play07:27

pretty good and now I go ahead and start

play07:29

asking it questions like how much is

play07:31

voice flow it's going to be able to

play07:34

answer with a much higher degree of

play07:35

accuracy because it's pulling from that

play07:37

main source so you can see here was able

play07:39

to summarize all the different plans and

play07:41

if I ask you something like I'm a new

play07:43

agency with one person what plan should

play07:46

I get it's going to be able to interpret

play07:49

that and recommend a plan for the user

play07:51

so $50 a month so you can see here even

play07:54

though I don't have a lot of information

play07:55

I just got one piece of information but

play07:57

it's good high quality information my AI

play08:00

model is able to understand that

play08:01

interpret it and then respond that to

play08:03

user questions in an efficient and

play08:04

accurate manner so in the case of data

play08:06

sources with AI less is more and more is

play08:10

actually not that great you want to have

play08:12

less higher quality sources to be able

play08:14

to produce higher quality answers that

play08:16

are just as robust as what you would

play08:17

expect with the large dollar space so

play08:19

you want to make sure you spend a lot of

play08:20

time making sure that your most

play08:22

sensitive information is formatted

play08:24

correctly so now that we've got our

play08:25

pricing data source in there let's work

play08:27

through those other sources that we've

play08:29

got over here in our diagram so we've

play08:30

got our pricing now now let's added some

play08:32

update case studies and then some

play08:34

support documentation we're going to

play08:35

import it from zendesk so if I head over

play08:37

to the voice website I'm going to now go

play08:40

to our blog and I'm going to manually

play08:42

pick out the documents that I want to

play08:43

upload because again it's going to be

play08:45

important that I have a high level of

play08:46

control so for here I'm going to add a

play08:49

case study with Trilogy that automated

play08:51

60% of their customer support with voice

play08:53

flow this has got a ton of really good

play08:55

information in it about how they use

play08:57

voice flow how many their tickets they

play08:59

actually automated and how they were

play09:01

actually able to use AI to increase the

play09:03

number of tickets they automated from 6

play09:05

to 60% in just a few weeks so let's go

play09:07

ahead and add that in and for this one

play09:11

because we know what URL is going to

play09:12

come from we're going to add in the

play09:14

URL now let's grab two more let's test

play09:17

this out now and ask something

play09:20

like what can voice flow help me do and

play09:25

you can see here that it says voice will

play09:26

helps you automate customer support

play09:28

provide accurate answer to customer

play09:29

questions Etc can you give me some

play09:33

examples of customers and how they used

play09:39

voice great and it was able to actually

play09:41

really pull from up to date so it says

play09:43

Rome must start up in the flexible car

play09:44

industry automated theirselves Trilogy

play09:47

they saw 35% resolution from the first

play09:49

week so it's giving us a lot of really

play09:51

good in-depth information here now I

play09:53

want to get the third piece which is all

play09:54

of our support documentation so this one

play09:56

I'm actually going to import from zenes

play09:58

so we've got all our support

play09:59

documentation in zendesk and this is

play10:01

live up to date and there is a ton of it

play10:03

that can really help our users so now

play10:05

that we're know we're getting a base of

play10:07

really good information we're going to

play10:08

go ahead and add our support

play10:10

documentation in here to really make

play10:11

this a robust assistant so what I want

play10:14

to do is rather than scraping the

play10:16

website I'm actually going to use the

play10:17

integration now Integrations are always

play10:19

best right now we support zenes we're

play10:21

going to be adding more in the future

play10:22

but you can actually use knowledge based

play10:24

API to upload documents as well so if

play10:26

you have a Content system somewhere

play10:28

that's going to be much more accurate to

play10:29

be able to import it and I'll show you

play10:31

why so I've authenticated and let's add

play10:34

all our docs so we're going to add the

play10:35

voal docs we're going to add English we

play10:39

don't have any user segments that's fine

play10:41

and we'll add our guides and our

play10:45

documentation so this is going to add

play10:47

136 data sources here so now you can see

play10:49

that it's starting to add a ton of

play10:51

information in here but because I adding

play10:53

these in pieces as I'm testing it out I

play10:55

have a really good sense that I know my

play10:56

Base information is good and now it's

play10:58

about to sendes ones so if I go ahead

play11:01

and click on something you can see that

play11:03

the chunks are actually pretty good so

play11:05

if I go ahead and now ask it something

play11:06

like what are all the steps in voice

play11:10

flow this gives me a much better answer

play11:13

than what I originally got this is a

play11:15

great um answer and I'm pretty satisfied

play11:18

now knowing that my voice assistant can

play11:20

ask answer any question about voice flow

play11:23

it can also answer case studies and

play11:25

business information as well as a really

play11:27

sensitive information about pricing now

play11:29

we're going to get into Point number

play11:30

three which is what you can start doing

play11:31

after you've filled out the base of your

play11:33

assistant which is to start injecting

play11:35

frequently asked questions into your

play11:37

knowledge base sometimes there are

play11:39

questions you get that you want to give

play11:40

a specific answer to and you want this

play11:43

to be high quality similar to pricing

play11:45

but it may be related to other services

play11:48

refunds things like that that you know

play11:49

are pretty sensitive pieces of

play11:50

information that you want to have the

play11:52

right answers to so let's say I've got a

play11:54

question like does voice process refunds

play11:56

so let's see what it says right now and

play11:58

it says yes voo does process refunds

play12:00

customer support a refund by emailing

play12:02

support ato.com and if I check here it

play12:05

looks like this is mentioned in some of

play12:07

my help articles but let's say I wanted

play12:09

to provide more information to this so

play12:11

I'm going to inject an FAQ into the

play12:13

database and the way it works is when

play12:16

you actually ask a question to the voice

play12:17

of knowledge base it's looking through

play12:19

all of these different chunks and it's

play12:21

returning what it thinks is the most

play12:23

relevant so you saw in that last example

play12:25

when I asked the question about refunds

play12:27

it returned three chunks one of them had

play12:29

a slight mention of refunds the other

play12:30

ones didn't but I thought it might be

play12:31

relevant so what I'm going to do is I'm

play12:33

going to add a data source and I'm just

play12:35

going to add plain text now we're going

play12:37

to have an entire built out solution for

play12:39

FAQs uh coming out in the near future so

play12:41

if you're watching this a couple months

play12:43

from releasee and we've got a whole new

play12:44

section here about FAQ you canor this

play12:46

but if you're not this is also a great

play12:48

way to kind of add in or inject manual

play12:51

overrides into your knowledge space so

play12:53

I'm going to ask put a question here so

play12:55

I'm going to say question or maybe Q is

play12:58

does voice flow

play13:00

offer

play13:01

refunds does voice flow give out

play13:05

refunds and now I'm just going to add in

play13:07

my own answer voice FL only processes

play13:11

refunds in specific

play13:13

cases please reach out to support f.com

play13:19

if you require a refund great so it's

play13:22

import this in here and so now I've got

play13:24

something a bit more specific so I now

play13:26

ask again does voice flow offer refunds

play13:29

you'll notice that now it says voice

play13:31

only processes refunds in specific cases

play13:33

please reach out to voice.com if you

play13:34

require refund and if I look at the

play13:36

chunks that's because the first one it's

play13:38

Serv for saying that's the most

play13:39

important is the Q&A that I added in

play13:40

there because I added a piece of

play13:42

information to the knowledge piece

play13:43

that's highly relevant to this topic

play13:45

area it's going to service this first

play13:47

and it's most likely just going to use

play13:49

the information from here and it'll look

play13:50

at the other ones just to see if there's

play13:52

anything that it might be related to so

play13:54

you can see it gave my thing about

play13:55

pricing here and it has this document

play13:57

here about downgrading and can

play13:58

canellation so this is how you can

play14:00

inject an FAQ into your knowledge base

play14:03

to have it have a higher degree of

play14:04

answering accurately for that question

play14:06

now we're getting into tip number four

play14:08

which is really about modifying your

play14:10

knowledge based settings so you've

play14:12

gotten hints at how the knowledge base

play14:13

works here about retrieving and

play14:15

providing chunks and you find more

play14:17

information into the details of how

play14:18

Vector databases work in general in the

play14:20

links Below in our YouTube channel but

play14:22

let's go into some set settings that but

play14:25

let's go into some settings that you can

play14:26

tweak to try and get better or more

play14:29

accurate

play14:30

responses within your voice on knowledge

play14:32

base you have these settings here these

play14:34

are the global settings that are kind of

play14:35

like the foundation of your assistant

play14:37

now if you open these up there's a

play14:38

couple different things so there's the

play14:40

AI model so we've got a bunch here we're

play14:42

adding way more in the future we've got

play14:44

the temperature so this is going to

play14:46

control the randomness of the answer

play14:47

that the large language model provides

play14:49

if you're okay with your answers being a

play14:50

little bit more flexible you can

play14:51

increase the temperature here if you

play14:53

want them to be pretty standard you know

play14:55

someone ask the same question three

play14:56

times you want the same answer and the

play14:58

same way you can reduce this down to be

play15:00

very deterministic I'm okay I want to be

play15:02

a bit deterministic so I'm going to have

play15:04

it be

play15:05

0.1 Max tokens are also important this

play15:07

is the max output tokens so this is the

play15:09

number of tokens that can be used to

play15:11

generate a single response so if I have

play15:14

this at 128 that's going to kind of snit

play15:16

my answers at 128 but it'll also be a

play15:18

bit shorter just to be safe I'm going to

play15:20

increase this to maybe 200 just to make

play15:22

sure that the AI has enough room to be

play15:24

able to communicate an answer now the

play15:25

last one here that's very important is

play15:27

the chunk limit so if you remember when

play15:30

we asked a question there are certain

play15:31

sources that are passed back to the

play15:33

knowledge base these chunks on the side

play15:34

here this is going to dictate how many

play15:36

chunks it should pass to the large

play15:39

language model to determine an answer

play15:41

from the more chunks you have the more

play15:45

information the large langle has to work

play15:46

with but the more chance that it might

play15:49

actually mix up conflicting pieces of

play15:51

information and give the user a wrong

play15:53

answer so a large number of chunks works

play15:56

really well when you have an knowledge

play15:58

base that you know is really consistent

play15:59

and high quality you're going to pass

play16:01

information over and the large language

play16:03

model is going to look at all eight of

play16:04

these different chunks of information

play16:05

and assemble an answer now the more

play16:07

chunks you use the more tokens it's

play16:10

going to cost you can imagine that 10

play16:12

chunks is like 10 of these gigantic

play16:13

pieces here being sent to the AI it's

play16:15

going to use a lot of tokens may not

play16:17

always be best on the other hand if you

play16:19

use one chunk so you lower it

play16:22

down the AI model will only have one

play16:25

piece one chunk to to go from and so if

play16:27

you have relative information in a

play16:29

couple pieces it's not going to see that

play16:30

you'll just see one but on the good side

play16:32

here it's only seeing the most relevant

play16:34

chunk so this is a good one if you want

play16:36

to make sure that your answers are very

play16:38

highly accurate you may have more cases

play16:40

where an answer isn't found because the

play16:42

answer wasn't necessarily in the first

play16:43

chunk that was past but for the most

play16:46

part you're going to have much more

play16:47

accuracy on your answers and so that's

play16:50

what this chunk limit is the default

play16:51

here is three I like to keep it at three

play16:53

or two it's a good balance between

play16:55

accuracy and the number of tokens the

play16:58

last thing here system prompt this is

play17:00

pass the AI model as more of like a

play17:01

general set of instructions so this is

play17:03

great to enter a Persona and even things

play17:05

like keep your answers brief or answer

play17:07

the questions as detailed as possible

play17:09

and provide a lot of information so

play17:11

those are the four steps let's go ahead

play17:12

and wrap this up and actually try out

play17:13

some of those original queries on our

play17:15

new and improved voice know face spot

play17:17

how much is voice flow and you're going

play17:20

to see that we've got answers that are

play17:21

much more accurate and up to date what

play17:23

are all the steps great and done now you

play17:27

have a much better idea of how to use a

play17:29

knowledge based in voice loow and how to

play17:31

get better AI Answers by better

play17:33

structuring your data that's it my name

play17:35

is Daniel I'm the head of growth that

play17:36

voice flow and if you have any other

play17:37

questions feel free to hop into our

play17:39

Discord leave question in the comments

play17:40

or hit us up on any of our socials if

play17:42

not we'll see you in Discord and on

play17:44

voice flow and happy building

Rate This

5.0 / 5 (0 votes)

Ähnliche Tags
AI OptimizationData StructuringVoice AssistantsFAQ ManagementAI TrainingKnowledge BaseAI AccuracyVoiceflow TipsAI TroubleshootingContent Management
Benötigen Sie eine Zusammenfassung auf Englisch?