Azure Search OpenAI Demo - DIY Microsoft AI chatbot with bring-your-own-data | Unscripted Coding

Unscripted Coding
26 Oct 202325:33

Summary

TLDRThis video tutorial showcases how to build and deploy a chatbot for business using Microsoft Azure Open AI, emphasizing data privacy and security. It highlights the chatbot's ability to interact with corporate databases and documents, providing instant answers and citations. The deployment process is simplified with Azure Developer CLI, and the video offers insights into customization, scalability, and the associated costs, making it an accessible guide for businesses looking to integrate AI into their customer service or internal operations.

Takeaways

  • πŸ€– The video demonstrates building and deploying a chatbot for business with minimal programming skills.
  • πŸ›‘οΈ Microsoft Azure Open AI is used for the backend to ensure data privacy and security, unlike Open AI which may use data for further training.
  • πŸ“„ The chatbot can interact with and answer questions about documents, such as PDFs, uploaded to it.
  • πŸ” It includes features to search within documents and provides citations for its answers, enhancing trust and transparency.
  • πŸ“š The chatbot can be scaled to handle a large number of documents, making it a powerful tool for businesses.
  • πŸ’Ό It's suggested for internal deployment to manage sensitive business information such as business plans and customer lists.
  • 🌐 The deployment process is simplified compared to previous solutions and involves installing Azure Developer CLI.
  • πŸ“ The script guides through downloading a demo from GitHub, setting execution policies, and running deployment commands.
  • πŸ’³ The use of Azure services incurs costs, with the video providing a breakdown of potential expenses for the chatbot deployment.
  • ⏱️ The deployment and setup process is time-consuming but mostly automated, requiring about half an hour to complete.
  • πŸ–₯️ Customization options are available for the chatbot, including branding and design adjustments to fit business needs.
  • πŸ”‘ The chatbot offers two modes of interaction: 'Chat' which turns questions into search queries, and 'Ask' which searches the question as-is, catering to different user needs.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is demonstrating how to build and deploy a chat bot for business using Microsoft Azure Open AI without extensive programming skills.

  • Why is Microsoft Azure Open AI preferred over Open AI in the context of the video?

    -Microsoft Azure Open AI is preferred because it does not use your data for further training of their models, thus ensuring better security, privacy, and confidentiality for businesses.

  • What feature does the chat bot version shown in the video have that the previous one did not?

    -The new version of the chat bot has the ability to ask questions about the corporate database and cite sources from documents, providing a more interactive and informative experience.

  • What is the significance of the chat bot being able to cite sources from documents?

    -The ability to cite sources adds credibility to the chat bot's responses, allows users to verify the information, and makes it easier to find the exact text within the document.

  • How many documents can the chat bot handle according to the video?

    -The chat bot can scale up to handle 100,000 documents, depending on how much data you want to upload to the cloud.

  • What is the recommended first step for deploying the chat bot?

    -The first step for deploying the chat bot is downloading and installing the Azure Developer CLI, which is specifically designed for developers.

  • What is the purpose of running the command 'set executionpolicy bypass' in the video?

    -The command 'set executionpolicy bypass' is used to allow the execution of scripts that have not been signed, which is necessary for running the development files for the chat bot.

  • What is the approximate monthly cost for using Azure Cognitive Search in the chat bot?

    -The standard tier of Azure Cognitive Search, which is necessary for the chat bot, costs about $100 a month.

  • How long did it take for the deployment process shown in the video?

    -The deployment process took approximately half an hour, including the time for the search service to be created and for the resources to be properly indexed.

  • What additional features can be implemented for the chat bot post-deployment?

    -Post-deployment, features such as custom domain acquisition, password protection through authentication, and document access control based on user roles can be implemented.

  • How does the 'Ask' tab differ from the 'Chat' tab in the chat bot interface?

    -The 'Ask' tab searches the question as is and combines the search result with the user's question, while the 'Chat' tab turns the question into a search query, which may lead to quicker access to the right document.

Outlines

00:00

πŸ€– Building a Secure Chatbot with Azure AI

The video script introduces a tutorial on constructing a chatbot for business use without extensive programming skills. It emphasizes the use of Microsoft Azure Open AI to avoid privacy concerns associated with open AI models that may utilize user data for training. The tutorial showcases a chatbot that can interact with documents, answer questions, and cite sources, providing a secure and efficient tool for businesses to manage sensitive information internally.

05:01

πŸ› οΈ Deployment Process for Azure Developer Chatbot

This paragraph outlines the initial steps for deploying a chatbot using Azure Developer Sealy, which includes downloading and installing the Azure developer tools, running commands in a command prompt, and navigating GitHub to download the necessary files. The process requires running PowerShell as an administrator to bypass execution policy restrictions, which is a temporary measure that reverts to normal upon closing the window. The tutorial also provides a command to facilitate the deployment process.

10:01

πŸ’³ Understanding the Costs of Azure Services for Chatbot Deployment

The script discusses the financial implications of deploying a chatbot on Microsoft Azure, highlighting the pay-as-you-go model and the need for a credit card during signup. It provides an estimate of the monthly costs associated with various Azure services such as the basic tier apps, cognitive search, and form recognizer. The paragraph also mentions the importance of choosing the right region to avoid service unavailability and provides a link to Azure's pricing calculator for a detailed breakdown.

15:04

⏱️ Time and Process for Deploying Azure Chatbot Services

The paragraph details the time-consuming process of deploying Azure chatbot services, which includes creating various services and indexing data for the chatbot. It mentions the automatic generation of files and the need to wait for services to be fully deployed and reflected on the website. The speaker also points out additional features like custom domains and password protection for added security.

20:05

🎨 Customizing and Branding the Chatbot Interface

The script suggests ways to customize the chatbot's interface, including changing the design to reflect the business's branding with a custom domain, logo, and color scheme. It also touches on the possibility of adding password protection for secure access and the use of Azure Active Directory for authentication. The paragraph highlights the ease of deploying changes with a simple command and the potential for further customization through APIs.

25:05

πŸ” Exploring Different Approaches to Document Interaction in Chatbots

The final paragraph discusses the two distinct methods of interacting with documents within a chatbot: the 'chat' tab, which transforms questions into search queries, and the 'ask' tab, which searches the question as is. The paragraph differentiates the use cases for each approach, suggesting that the chat tab is better for general users while the ask tab is more suitable for those who know the specific details of what they are looking for within documents.

Mindmap

Keywords

πŸ’‘Chat Bot

A chat bot is an AI-powered program designed to simulate conversation with users. In the video's context, it's a tool for businesses to interact with customers or employees without the need for human intervention. The script discusses building and deploying a chat bot using Microsoft Azure Open AI, emphasizing its integration with corporate databases and its ability to answer questions based on the content of documents.

πŸ’‘Microsoft Azure Open AI

Microsoft Azure Open AI is a cloud-based service that provides AI capabilities to developers and businesses. The video script highlights its use in powering the chat bot, ensuring data privacy and security, which is a key concern when compared to using open AI services that may utilize data for their own model training.

πŸ’‘Data Privacy

Data privacy refers to the protection of information from unauthorized access or disclosure. The script mentions that using Microsoft Azure Open AI for the chat bot ensures data privacy, as opposed to open AI services that may not guarantee the same level of security for business data.

πŸ’‘Cognitive Search

Cognitive Search is an AI-driven search capability within Microsoft Azure that allows for semantic search over content such as text in documents. The script describes how Cognitive Search is used to enable the chat bot to search and retrieve information from a corporate database, providing answers to user queries.

πŸ’‘Form Recognizer

Form Recognizer is an Azure service that can extract text, key-value pairs, and table data from documents. In the script, it's mentioned as a part of the deployment process, suggesting that it may be used to preprocess documents before they are indexed by Cognitive Search for the chat bot's use.

πŸ’‘Deployment

In the context of the video, deployment refers to the process of setting up and launching the chat bot on a server or cloud environment. The script provides a step-by-step guide on deploying the chat bot using Azure Developer CLI, emphasizing the ease of deployment despite the process's duration.

πŸ’‘Azure Developer CLI

Azure Developer CLI is a command-line tool designed for developers to interact with Azure services. The script describes using this tool to automate the deployment of the chat bot, including setting up various Azure resources required for its operation.

πŸ’‘Pricing Tier

Pricing Tier in Azure refers to the different levels of service and their associated costs. The script discusses the cost implications of using various Azure services for the chat bot, such as Cognitive Search, and how the choice of pricing tier affects the overall expense.

πŸ’‘Document Indexing

Document indexing is the process of organizing and storing documents in a way that makes them easily searchable. The script explains that the chat bot's ability to answer questions is dependent on the indexing of documents, which is facilitated by services like Cognitive Search and Form Recognizer.

πŸ’‘Custom Domain

A custom domain is a web address that is unique to a business or individual, as opposed to a default domain provided by a service. The script suggests that once the chat bot is deployed, a custom domain can be used to brand the bot's interface, making it more recognizable and professional.

πŸ’‘Authentication

Authentication in the context of the video refers to the process of verifying the identity of a user or device. The script mentions the possibility of adding authentication to the chat bot to restrict access, ensuring that only authorized individuals can use it.

Highlights

Introduction to building and deploying a chatbot for business without extensive programming skills.

Use of Microsoft Azure Open AI for chatbot operations to ensure data privacy and security.

Comparison between Microsoft Azure Open AI and Open AI regarding data security and privacy.

Demonstration of the chatbot's ability to answer questions about a PDF document.

Inclusion of Bing chat elements and the chatbot's polished demo capabilities.

New feature allowing the chatbot to ask questions about corporate databases.

Explanation of the chatbot's citation feature for tracing the source of information.

Capability to upload and scale document storage for the chatbot's responses.

Potential business applications of the chatbot for product documentation and customer support.

Deployment process overview starting with the Azure developer Sealy installation.

Instructions for running the chatbot deployment script using Windows PowerShell.

Details on setting execution policy to allow script execution for deployment.

Cost implications of using Azure services for the chatbot and associated services.

Breakdown of Azure service costs, including cognitive search and form recognizer.

Estimation of monthly costs for running the chatbot with Azure services.

Description of the chatbot deployment process and the time it takes to complete.

Final notes on adding additional documents to the chatbot's database for more comprehensive responses.

Differentiation between the 'Chat' and 'Ask' tabs in the chatbot interface for varied user inquiries.

Conclusion emphasizing the chatbot's potential and the ease of deployment for businesses.

Transcripts

play00:00

Welcome, everyone, to unscripted coding.

play00:03

Today we are playing again with another A.I.

play00:06

chat bot and I'm going to show you how you can build

play00:10

and deploy your own chat bot for your business.

play00:13

With little to no programing skills whatsoever.

play00:17

Now let me recap really quickly.

play00:19

Last week we put together this green looking chat bot, and

play00:24

what's really important is that it runs Microsoft Azure Open AI in the background.

play00:30

It runs it in the back, meaning that

play00:33

you're not relying on open AI or chat.

play00:37

This is really important for businesses because open

play00:40

AI tends to take your data and continue training their models with it.

play00:45

Your security and your privacy is is not guaranteed.

play00:49

On the other hand, Microsoft does.

play00:51

It gives you the full GPT three or four experience

play00:57

without the security or confidence level

play00:59

confidentiality issues that you may run into with open A.I..

play01:04

Now, it's not perfect.

play01:06

You definitely won't take a look at the legal document of privacy by venture.

play01:10

Guess to say that most businesses will be perfectly fine with this chat bot

play01:16

deployed internally and putting sensitive information,

play01:19

your business plans, your customer list, all of these things into a chat bot.

play01:25

I do recommend watching that video.

play01:28

First, last week's video and it is in the description

play01:32

below if you want to click in to it

play01:34

because we talk a lot about these subtle differences.

play01:37

Now in that particular version you'll see that we can upload a specific file,

play01:42

so I can upload a PDF and start talking and asking questions about the PDF.

play01:47

There are elements of Bing chat in here as well, and generally speaking,

play01:51

this is a more polished demo than the one we're looking at today.

play01:56

But the version we're looking at today has one

play02:01

killer killer killer feature,

play02:04

and that's asking questions about your corporate database.

play02:09

So I'm going to click this random prompt.

play02:11

This is just the canned question to demonstrate it,

play02:15

but it's asking what's included in my plan that's not in the standard plan.

play02:20

And the AI is coming up with a bunch of different answers here.

play02:25

Copay, access to telemedicine, medically necessary services.

play02:29

Blah, blah, blah, blah, blah.

play02:31

And what's really cool is that it's citing where it comes from

play02:35

and allows you to click into it and take a look at the text immediately.

play02:41

And you can see that different pieces of its answers

play02:45

comes from different sections of the document.

play02:49

Very, very, very useful.

play02:51

And I can follow up with questions. So

play02:56

the suggestion is, does

play02:58

my plan cover eye exams?

play03:02

Question mark And it will continue

play03:04

asking questions and looking at the document.

play03:09

You might be wondering where these documents come from.

play03:12

Well, it's included as a sample, but basically it's coming from my desktop.

play03:17

Are six files here, but you can scale this up to 100,000.

play03:21

It's really just a matter of how much you want to upload

play03:24

onto the cloud to to generate these answers.

play03:29

So in this case, again, it looked at the document,

play03:32

different pages than what was cited before.

play03:36

And linking to it.

play03:38

So that is a killer feature.

play03:40

If you're thinking about how you can use this in your business,

play03:43

you can keep all of your product documentation and

play03:48

descriptions, marketing slips, pamphlets, fliers

play03:52

all in one folder and be able to ask it questions

play03:56

very quickly whether as a support agent or as a customer.

play04:00

You know, how do I fix this error or how do I do this?

play04:04

Does it do X and Y? Does it have these features?

play04:07

You can use it for policies like this one.

play04:10

If you have a lot of these internal policies, you can have a chat bot

play04:14

that answers questions about anything really

play04:17

and many, many more that you can do.

play04:21

So I think this is one really, really killer feature

play04:25

that will sell the chat bots.

play04:27

And I'm hoping that one day these things kind of merge into one solution.

play04:32

But for now you kind of have to pick and choose your pieces

play04:35

or you have to know kind of what you're doing.

play04:37

This one well worth it.

play04:40

I wouldn't mind deploying multiple chat bots as well as a solution.

play04:46

Now you'll be

play04:47

happy to know that even though this one looks a little less polished,

play04:52

the deployment is much

play04:54

easier than our previous solution.

play04:57

So I'm going to just jump

play05:00

right into deployment.

play05:04

The first step to deploy is you're going to download

play05:07

and install the Azure developer Sealy.

play05:11

Now, if you've installed Azure Sealy before, that is not the same thing.

play05:16

This is Azure developer Sealy specifically for developers

play05:21

and you'll see that, you know, any desktop will work Mac Linux Windows.

play05:26

I am on Windows, so you're going to need

play05:29

to open up a command prompt.

play05:33

So go into your the search button in your start

play05:37

bar way down here and run.

play05:41

Find command prompt or see AMD.

play05:44

And you're going to get a black and white kind of interface.

play05:48

Now, I've already done this.

play05:50

Basically, you copy this installer,

play05:55

this command, you paste it.

play06:02

Copy.

play06:03

Copy. Paste it.

play06:06

Click. Enter. I already have it.

play06:08

But you might have to click y afterwards to agree to terms.

play06:14

This should take no time.

play06:15

I probably shouldn't have clicked entered because I've already installed at once

play06:19

but should be buttery, smooth, very easy to install.

play06:25

Now we'll come back to the GitHub page, which is a link to my description,

play06:29

but you can search GitHub, Azure search, open air demo

play06:35

exactly like here and land on this page.

play06:38

We're going to click code

play06:41

and download the zip file.

play06:44

Now, I've already downloaded it, downloaded it,

play06:47

and there's a folder in here and I dragged it into my desktop right here.

play06:54

So this Azure search open, I demo dot main.

play06:58

That's this folder right here.

play07:00

So I dragged it into my desktop.

play07:04

What I'm then going to do is open up

play07:07

windows PowerShell.

play07:11

I am going to run it

play07:14

as an administrator and this is really important.

play07:19

You have to run it as an admin trader

play07:22

because an error that I kept running into

play07:25

is that this is still a development kind of file.

play07:30

It hasn't been signed.

play07:32

So what you're going to need to do is allow it to execute.

play07:36

And I have this command right here

play07:40

and I should zoom in so you can take a quick look.

play07:44

It is set execution, policy scope,

play07:47

process, execution, policy, bypass.

play07:52

I'm also going to leave a link to this

play07:55

lengthy explanation about execution policies in the description.

play08:00

But basically what I'm saying is, just for this one process,

play08:05

I'm going to allow you to bypass those execution policy restrictions.

play08:11

This means that

play08:12

as soon as you close a window, everything goes back to normal.

play08:17

This may be a little uncomfortable for certain people,

play08:22

but the part that makes me feel better about all of this.

play08:27

Let's go. Yes.

play08:28

Is that again?

play08:29

This is provided by Azure Microsoft.

play08:34

Yeah.

play08:35

They they designed the system.

play08:39

Now, what I'm going to do

play08:42

is CD basically change

play08:45

directories from Windows SYSTEM32

play08:49

to my folder that I unzipped.

play08:52

That's that Azure search open.

play08:55

I demo Dash main and you're

play08:59

going to see that deployment from scratch.

play09:03

It's right here.

play09:04

All you have to do is type AISD up.

play09:09

Remember A-Z refers to Azure Developer,

play09:13

so you need to have installed this and that's basically all you have to do.

play09:18

Get into the right folder, say A-Z app

play09:22

and you're going to have a couple couple options here.

play09:26

Now first of all, you need a name.

play09:28

I'm going to call it

play09:33

Azure Search,

play09:35

YouTube, demo, chat bot.

play09:39

Terrible name, but Will well stick with it.

play09:46

It's going to initialize

play09:47

and ask a couple questions about the region and your subscription.

play09:52

So first of all, you might need to log into Azure. So

play09:58

I'm making assumptions here, but you do need to go

play10:01

and get a microsoft Azure account.

play10:06

You can go and Google Microsoft Azure sign up right here.

play10:11

It is a pay as you go account.

play10:13

So this thing does cost money.

play10:15

You're going to need to enter your credit card when you sign up.

play10:19

Now, when you do it, you're going to sign up for a single subscription.

play10:23

You're going to get a bunch of free credits as well.

play10:27

But I've been using Azure for a little while.

play10:29

I'm going to choose number three.

play10:31

This is where I'm spinning a few of my different projects right now,

play10:36

and you're going

play10:37

to pick locations just like our last video.

play10:42

I had issues with Canada because one of the services

play10:45

called Form Recognizer that takes images

play10:48

and translates it to tax isn't available in Canada.

play10:53

So I'm going to switch over to U.S. East

play11:01

and Alaska stuff.

play11:06

Let's start money.

play11:07

How much is this going to cost?

play11:09

Because as soon as I said, pay as you go, I

play11:12

that may have raised some concerns.

play11:16

They do talk about cost action in this read V.

play11:19

So if you scroll down from GitHub and look at comission,

play11:24

you can look at Azure's pricing calculator

play11:27

and click into each of these to understand.

play11:30

Now they have used a basic tier apps.

play11:33

This is about 20 bucks a month.

play11:37

Depends on your region, depends on

play11:40

other factors as well.

play11:42

And who knows how pricing will go in the future.

play11:45

But roughly speaking, this is $20 a month

play11:48

open air depends on how much you use.

play11:51

I say for about 20 people, that's using the chat bot on a regular basis.

play11:58

About 5 to $10

play12:00

form recognizer gets priced per page,

play12:04

but there is a free tier as well.

play12:09

I'm going to leave that alone.

play12:10

But this could this could cost

play12:14

ten $20,

play12:16

especially if you start adding a lot of documents that need to be

play12:22

that need to have that

play12:25

form recognized.

play12:28

Now, here I'm just going to go down into East.

play12:32

You asked again.

play12:34

This one is specific for open.

play12:36

I and I'll make sure they remember my choice.

play12:41

East U.S.

play12:43

and let's see here Azure cognitive search.

play12:47

This is the one that costs quite a bit of money.

play12:49

We are using standard tier, which costs

play12:53

about $100 a month.

play12:58

Quite significant,

play13:00

but it is absolutely necessary if you're doing this type of a chat bot.

play13:05

Now, on the previous one where we didn't have a store of documents in the back,

play13:11

we can get away with using the free tier, but unfortunately

play13:14

it costs a lot to search your document over and over with A.I.

play13:19

and this is where I think you're going to get gouged,

play13:22

because if you are using the standard tier up to 25 gigs,

play13:27

very reasonable for you to have,

play13:31

you know,

play13:33

25 gigs worth of documents.

play13:35

Soon as you hit the next here, it's roughly four times the price.

play13:39

So you can say you can think 400 bucks.

play13:42

It's a lot of money.

play13:44

So this is the part that's going to cost you, but

play13:47

it's also driving the most value out of this particular sample.

play13:53

Next, blob storage monitor.

play13:55

These are fairly cheap.

play13:56

I'd say 5 to 10 bucks a month between the two.

play13:58

I'm probably overestimating it quite a bit.

play14:02

So you're looking at 130, $140 a month,

play14:07

all of like the vast majority coming from that cognitive search,

play14:11

which you're just not going to get away with no matter

play14:15

which solution you go to.

play14:19

Okay.

play14:19

Let's come back here.

play14:21

If you scroll up,

play14:23

if it lets me scroll up, you're going to see that

play14:26

it did a lot of this packaging service.

play14:30

It's gathering all the data now.

play14:32

It's creating all the resources.

play14:34

I like to look at this link

play14:38

just to see what's happening,

play14:45

and you'll see that

play14:47

search service, this one takes a little bit.

play14:50

So I'm going to pause here.

play14:52

I'd say it's going to take about 10 minutes to fully deploy

play14:56

this section, really just waiting on this search service to be created.

play15:03

So I move this back here

play15:05

and I'll pause the video.

play15:12

Okay, So in total,

play15:14

I waited about half an hour for everything to be done.

play15:18

Now, to be fair, it took a while, but it was completely hands off.

play15:24

I didn't have to touch anything.

play15:25

And if we scroll back up all the way up,

play15:30

you'll see what was happening.

play15:33

Now, when we last left off, we were over here where it was

play15:37

still creating the various services.

play15:41

Once it was done that it installed a whole bunch of files

play15:44

and then it started trying

play15:48

to get all of your data properly,

play15:52

properly indexed for your chat bot.

play15:55

So it took each page, sent it to the forum, recognizer or

play16:00

ran it to cognitive search

play16:03

and eventually created a vector which your A.I.

play16:08

chat bot can can make use of. So.

play16:10

So that took a bad time.

play16:12

And then from there, it just took some time to actually

play16:16

gather all of that stuff up and move it into the resources

play16:20

that we had created at the start again, start to finish.

play16:24

This took about half an hour very roughly.

play16:28

And it does take a bit of time, even after it says you are all done

play16:33

and you have an endpoint here, you will need to wait

play16:37

another five or 6 minutes for it to actually reflect on the website.

play16:44

So I'm going to go here, enter the website and.

play16:49

This looks very familiar.

play16:51

I'm just noticing now there's a developer setting so

play16:56

interesting

play16:59

and we can test it.

play17:00

So what does a product manager do?

play17:03

Let's go and try and find an answer for us.

play17:07

Now, before I start, I did want to go back.

play17:11

If you remember, this was our list of all the stuff that happened.

play17:16

I wanted to take a look

play17:20

at, I think our app service.

play17:24

This is probably not the right thing.

play17:28

I'm trying to get go into the resource group.

play17:30

When you click resource group, you can see all the things that created.

play17:34

This is your open A.I. instance.

play17:36

This is your app service.

play17:39

That's the website document intelligence.

play17:42

That's your form recognizer search service.

play17:46

This is where they keep it.

play17:49

Keep all of your pages and documents and storage account.

play17:52

That's where you store your raw PDF files.

play17:56

I wanted to check on the app service

play18:00

and wanted to point out that this is a very ugly.

play18:03

You are all automatically generated.

play18:07

You can go into custom domains

play18:10

and you can buy a domain right off the bat and call it

play18:14

cheap for my business

play18:16

dot com and you can have it a custom domain as well.

play18:22

The other thing that I think we're not going to do today

play18:26

is you can put a

play18:30

a password protection on here.

play18:32

So if you enable authentication here

play18:36

you can add ampersand dictation

play18:39

which you do within the app service.

play18:42

So over here you can use authentication, you can create

play18:48

with with Azure Active Directory or apparently it's called

play18:51

Microsoft Entrance now and put basically a requirement

play18:56

for you to log in through Microsoft before you can see this Web page.

play19:02

There's there's a lot of little things, but

play19:05

one that we're also not going to explore but is very much worth looking at

play19:10

is this guide that allows you to

play19:14

separate the documents.

play19:16

So you can actually have different

play19:21

different pools of documents.

play19:23

So, for example, I as a junior,

play19:26

can only see the basic level document.

play19:29

Some of our C internal policies for the business and someone more senior.

play19:36

Again, requiring that authentication is able to use the guide

play19:40

and see all of the companies leases and

play19:44

and you know, recruitment contracts

play19:47

and all the employees

play19:51

employment agreements, all of those much more sensitive pieces.

play19:55

You can lock them between and behind different groups.

play19:58

This is quite a bit of work to get working

play20:04

from what I can tell.

play20:07

And and so I'm not going to go into that for a demo, but this is pretty cool.

play20:12

We asked the next bit, What is a product manager?

play20:15

And looking at the pages,

play20:18

I can see manager of product Management.

play20:22

That is a very odd title.

play20:26

And all of this with basically one command

play20:29

and a lot of time in between to get set up.

play20:35

I have done a video on Bring your own data before

play20:40

and all of this can be done through APIs and you can create your own chat bot.

play20:45

So I you don't necessarily need to do it this way,

play20:50

but this is a one really quick way for your business to get all set up.

play20:56

And if you were to change

play21:00

the design, you can go into the app and assets.

play21:05

So let's look at the app

play21:08

and look at the front end and you can start looking at

play21:13

the different piece of it as well.

play21:15

So if you want to brand this site so that it has your business name,

play21:20

your logo, you want to change it to the right colors,

play21:24

you can do that all within the code and then you would just run A-Z,

play21:29

A-Z, deploy or A-Z up.

play21:32

Easy to deploy just purely for these cosmetic issues.

play21:36

Aside up, if you need to recreate

play21:39

a lot of the the Azure pieces.

play21:44

Anyways, I hope that was really interesting.

play21:47

We have done two separate chat bots now

play21:50

and I think they are very different approaches

play21:55

to the problem and we may actually build our own in the near future.

play22:00

These are actually quite sophisticated even as samples and you can build

play22:06

your own chat bot for with, with far fewer lines of code,

play22:09

far simpler as well.

play22:13

So thanks for watching.

play22:14

And next week we will do yet another project.

play22:18

I'll see you next week. Bye.

play22:20

Oops.

play22:21

Let me pop in really quickly with one final note here.

play22:25

I was looking at the fake news for this,

play22:28

some very, very useful information.

play22:31

If you have additional documents you want to put in here,

play22:35

you can just run a separate command as well.

play22:39

So the idea is you keep this in one data folder,

play22:43

you remove and you put in new documents as as you need.

play22:48

The other piece other than GPT four

play22:51

is there are two tabs and you can ask questions

play22:56

about your document and you can also chat with them.

play23:01

There are

play23:02

specific differences in how it approaches.

play23:05

Now if you chat,

play23:08

it turns a question into a search query.

play23:12

It's almost like Bing Chat if you have used it

play23:15

before, you ask it a question.

play23:18

Let's say what is in my health plan.

play23:22

It doesn't search for that specific question.

play23:25

It will turn it into health plan contents.

play23:28

Let's say, and search that.

play23:30

That is one way of doing it.

play23:33

Another way is

play23:36

the ask tab.

play23:38

So it will search the question

play23:41

as is and combine the search result and the user question.

play23:45

I think these are two distinct different ways

play23:50

to approach it, both with different kind of results.

play23:54

If you have chat and it reduces your question into a search query,

play24:01

it will probably get to the document,

play24:04

the right document, quicker and better.

play24:08

So if you have somebody folks that aren't sure what

play24:12

they're asking, that's probably your best bet.

play24:15

The chat tab, if they're asking questions and they know what they're

play24:19

talking about, this is your best bet.

play24:22

So for example, if I have a business and I have all of the policies,

play24:28

internal policies of the business in this folder,

play24:33

the person that uses chat is your general employee

play24:37

who has no idea what they're doing and they're just saying,

play24:40

I want to take a sick day. What do I do?

play24:43

The ask a question would be more tailored to somebody who is writing that policy,

play24:48

who knows exactly what it is they're looking for.

play24:51

So they're going, you know, in their mind, page 14 of this document,

play24:55

I think, and they'll know the right keywords to say,

play24:58

I wrote a document that has a header that is talking about

play25:05

medical sick days.

play25:08

That's not even the right term.

play25:09

But let's say medical leave,

play25:12

your regular person might not use that terminology.

play25:15

So very cool that there are two separate two separate approaches

play25:20

and and their use case differs.

play25:25

That's it for me.

play25:27

Lots of interesting information if you read to the whole GitHub, read me.

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Chatbot DevelopmentAI IntegrationBusiness SolutionsMicrosoft AzureOpen AIData PrivacyCloud DeploymentNo CodingCustomer SupportInternal Policies