Can ChatGPT work with your enterprise data?

Ғылым және технология

Bring OpenAI’s ChatGPT model in Azure to your own enterprise-grade app experiences with precise control over the knowledge base, for in-context and relevant responses. Interact with your organization’s private internal data, while respecting the information protection controls put in place.
Azure OpenAI service is combined with Azure Cognitive Search to index and retrieve data that is private and external to the ChatGPT large language model. The retrieval step in Azure Cognitive Search finds the most relevant pieces of information and presents the top ranked results to the language model. And because the knowledge lives outside of the ChatGPT model, you're in control-it’s not used to train the model. See how ChatGPT and copilot technologies work.
Microsoft Distinguished Engineer, Pablo Castro, joins Jeremy Chapman to show how it works.
► QUICK LINKS:
00:00 - Introduction
01:29 - Apply ChatGPT to enterprise apps using Azure
03:40 - Demo: Typical app experience
05:45 - How ChatGPT generates a response
07:55 - Experiment with prompts
09:38 - How information protection works
11:03 - Process for adding new information
12:01 - Code behind the sample app
15:00 - Wrap up
► Link References:
Watch our OpenAI fundamentals show at aka.ms/OpenAIMechanics
Try out the sample app on GitHub at aka.ms/entGPTsearch
More on Azure Open AI service at aka.ms/azure-openai
Check out Azure Cognitive Search at aka.ms/azsearch
► Unfamiliar with Microsoft Mechanics?
As Microsoft's official video series for IT, you can watch and share valuable content and demos of current and upcoming tech from the people who build it at Microsoft.
• Subscribe to our KZread: / microsoftmechanicsseries
• Talk with other IT Pros, join us on the Microsoft Tech Community: techcommunity.microsoft.com/t...
• Watch or listen from anywhere, subscribe to our podcast: microsoftmechanics.libsyn.com...
► Keep getting this insider knowledge, join us on social:
• Follow us on Twitter: / msftmechanics
• Share knowledge on LinkedIn: / microsoft-mechanics
• Enjoy us on Instagram: / msftmechanics
• Loosen up with us on TikTok: / msftmechanics
#OpenAI #ChatGPT #Azure #EnterpriseAI

Пікірлер: 114

  • @MatijaGrcic
    @MatijaGrcic Жыл бұрын

    Chapters 00:00:00 - Introduction 00:00:18 - Overview of the Azure OpenAI service 00:01:23 - Applying ChatGPT to enterprise-grade applications on the Azure service 00:02:29 - Retrieval Augmented Generation 00:03:06 - Private Knowledge 0:03:32 - Using ChatGPT in an App 0:04:25 - Asking Questions in the App 0:05:49 - Exposing Details of Conversation Turns 0:06:31 - Injecting fragments of documents 0:06:46 - Different approaches for generating responses 0:08:14 - Adapting style of response 0:09:41 - How Information Protection Works 0:10:02 - Demonstration of Document-Level Granular Access Control 0:11:00 - Adding New Information into Search 0:11:20 - Running Scripts to Add New Information 0:12:04 - Code Behind Sample App 0:12:50 - Overview of ChatGPT 0:13:31 - Using Azure OpenAI Studio Playground 0:14:30 - Building Your Own Enterprise-grade ChatGPT-enabled App

  • @aliasnames5163
    @aliasnames5163 Жыл бұрын

    Finally, a video about this. Can not wait to dive in deeper in to this subject.

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Glad you liked it. The aha moment for us was that search helps create a giant prompt.

  • @sudarshanseshadri2144

    @sudarshanseshadri2144

    Жыл бұрын

    @@MSFTMechanics I was wondering how did you use that giant prompt by using all the histories to the Completion API. I thought there is a limit on the number of token the Completion API can digest?

  • @deltabytes
    @deltabytes Жыл бұрын

    I like how with every release there more enticing improvements. Game changer.

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Thank you! Exciting times

  • @JuanBretti
    @JuanBretti Жыл бұрын

    Very impressive. Looking forward to see how it could work with technical documents.

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Glad you see the potential. Thanks for taking the time to comment

  • @krishnabala8403
    @krishnabala84034 ай бұрын

    Thank you! Really well explained. I'm eager to get started with some prototyping. Will do that soon!

  • @o365powerplatform9
    @o365powerplatform911 ай бұрын

    This is pure gold. Would it not be reasonable to expect that in the next few years every major MSFT cloud storage and development tool like Azure SQL, SharePoint, Dataverse, Power Apps and Power Bi to offer this feature automatically?

  • @johns4651

    @johns4651

    9 ай бұрын

    Only a matter of time.

  • @joseanibalortega8896
    @joseanibalortega8896 Жыл бұрын

    Could you share the script to update the data? explain how it works? Do you have an automatic way to update the application by doing azd deploy? or other?

  • @NitinPasumarthy
    @NitinPasumarthy Жыл бұрын

    Thanks for sharing these invaluable tips and source code. Any experiment results on which approach (e.g. read decompose ask) to use where?

  • @bytesizedbraincog
    @bytesizedbraincog11 ай бұрын

    Amazing one! I love it, there are so much nuances in this - its not just simple retrieve and generate - Sudden curiosity - if LLM has much reasoning and language understanding - why cant we ask it straightaway on ranking the documents and filtering the unnecessary ones as a in-context learning prompt - why do we need separate re-ranker component?

  • @jimg8296
    @jimg8296 Жыл бұрын

    OMG been looking for this information for 3 weeks. Thank you. Saw it before on another channel but it was very confusing compared to how this video explained things.

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Glad this helped

  • @RajaSekharaReddyKaluri

    @RajaSekharaReddyKaluri

    Жыл бұрын

    So you implement this solution?

  • @jimg8296

    @jimg8296

    Жыл бұрын

    @@RajaSekharaReddyKaluri Not yet I am going to propose a POC for my company to do this to assist new on-boarded developers code to our standards.

  • @RichardsonNascimento
    @RichardsonNascimento Жыл бұрын

    I have been playing around with this solution and it's amazing! Nice work from Pablo and the rest of the team! One thing that I still don't get is when we should use a Cognitive Search to index the content for later retrieval based on text versus using Embeddings to get the semantics of each document, store them in a Vector Store for later search based on embbedings of text search (with cosine similarity) for example.

  • @chrisalmighty

    @chrisalmighty

    Жыл бұрын

    I'm interested in this difference as well

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Thanks for watching and checking out the demo. It is correct, that vector stores can often be useful for this and is an active area of research for us, however from what we have seen although embeddings (for vector search) are generally quite good at helping to recall candidate content they are not necessarily as good at relevancy. The research we have seen seems to show that a more hybrid approach (vector with traditional linguistic search such as BM25) generally provides the best results. In this demo, you might have noticed that we leverage our semantic search capability which first uses linguistic search (BM25) to find good candidate content (L1). Then as a second stage (L2), this content is automatically passed to a ML model (which BTW is the same family of models that powers Bing.com) to help with the re-ranking of these results. Hopefully you will find as you test this demo that this does perform quite well. The other advantage here is that you do not have to do your own vectorization of content which can be both time consuming and expensive. However, as mentioned earlier, we are continuing to research how vectorization can play a part here.

  • @RichardsonNascimento

    @RichardsonNascimento

    Жыл бұрын

    @@MSFTMechanics thank you so much! This is really helpful!

  • @Quintinliebenberg

    @Quintinliebenberg

    Жыл бұрын

    @@RichardsonNascimento I am a complete novice when it comes to these development issues. I am looking for someone to create such a chatbot for my website which uses my own organisation's data / information. Can you maybe help me with this?

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    @@RichardsonNascimento glad it helped. Thanks for taking the time to comment. 🙂

  • @matthewtschetter1953
    @matthewtschetter1953 Жыл бұрын

    Question. If we have all our data on remote servers or through AWS, would it be difficult to use those data sources?

  • @AnnCatsanndra
    @AnnCatsanndra Жыл бұрын

    Honestly, the more I hear about this tech, the more I want to use it for worldbuilding and lore for games and storytelling because wooooow that seems like a good way to prevent ever making another characterization flub or timeline mistake ever again.

  • @JonTaylor-pp4hl

    @JonTaylor-pp4hl

    Жыл бұрын

    Great application! However in my experience you would not be able to rely on the current generation of models to avoid flubs or continuity errors. Have a play - see what you find - but I have found that while the response always makes grammatical sense it doesn't always make logical sense. All it does it estimate a plausible set of words to complete the meaning of your prompt. Most of the time this makes logical sense, but there's nothing forcing it to. So while it would generate a plausible, immersive world which mostly worked, I'm sure every now and again you would still get characters coming back from the dead or teleporting from one place to another or whatever...

  • @RajaSekharaReddyKaluri

    @RajaSekharaReddyKaluri

    Жыл бұрын

    @@JonTaylor-pp4hl what are the downsides in this process? Which part of the process is of concern to you? May I know.

  • @hdebbache2000

    @hdebbache2000

    Жыл бұрын

    You can go even further. How about AI characters that you can interact with and can interact with each other, and who build the lore themselves

  • @Casper-AI
    @Casper-AI11 ай бұрын

    Very interesting! Would it also be possible to make an integration between GPT and SAP or MS Dynamics? I am an SAP FI consultant handling incidents and changes submitted by the finance departments. Would it be possible to make a private model in which GPT can read through the SAP system and give instructions on how to solve certain incidents? For example, if a user gets a certain error when performing a payment run, would GPT be able to analyse where in the system this error is coming from and how to solve it? Not just giving recommendations as is it does now when anonymizing the data and submitting it in the public GPT environment. And fff course all without sharing any information to the outside world.

  • @RajaSekharaReddyKaluri
    @RajaSekharaReddyKaluri Жыл бұрын

    We are trying to build a similar solution to enable conversational q&a but using elastic search for indexing with embeddings. 1. How do you decide on the chunk size before indexing? 2. How different would the retrieved chunks based on cosine similarity be when compared with cognitive search?

  • @pedrogorilla483

    @pedrogorilla483

    Жыл бұрын

    Ask chatgpt

  • @andyschluter6840
    @andyschluter6840 Жыл бұрын

    Thank you for this video, it shows that there is an understanding of the company's fears of data loss. I have to test now :-)

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Thanks for taking the time to comment and glad you liked it.

  • @denwo1982

    @denwo1982

    Жыл бұрын

    What do you mean by data loss?

  • @marcelagalvis1731
    @marcelagalvis1731 Жыл бұрын

    Hi, do you have details on the type of RBAC role required to be able to deploy the demo? I am getting a : 'the client does not have the necessary permissions to perform the specified action', I have Cognitive Services Contributor access

  • @davidmichaelcomfort
    @davidmichaelcomfort Жыл бұрын

    It looks really interesting. What about using it to gather insights about structured data? Say for a set of headlines, what is the top-performing headline (based upon summary data) and what the CTA is and how far above or below a benchmark? Basically gathering insights, thru a guided process, from structured data?

  • @pradeepuitda

    @pradeepuitda

    Жыл бұрын

    Hi David, I am looking for insights from structured data as well. Let me know if you already figured it out. Thanks!

  • @paullb2440
    @paullb2440 Жыл бұрын

    How do you ensure the cognitive search results don’t exceed the 4096 token limit for the ChatGPT? And if they do exceed this (entirely possible with large amount of corporate data), how son you chunk it for ChatGPT ?

  • @CueAI

    @CueAI

    5 ай бұрын

    That problem seems to be partially solved now with the token limit increase.

  • @TheUsamawahabkhan
    @TheUsamawahabkhan Жыл бұрын

    Can we integrate azure bot framework? If I want add action to promote results? And is there any way we can do content moderation?

  • @davidblakeley1983
    @davidblakeley1983 Жыл бұрын

    I want to integrate this with Microsoft teams across my enterprise. Is this able to be done and if so what is recommended? PVAT?

  • @GPTSoManyQuestions
    @GPTSoManyQuestions11 ай бұрын

    Please help!!! What advice do you have for where to store the data used to tune the GPT? We have a complex data set in Azure Storage tables, and are wondering the best database...is it AzureSQL, Access? AzureBlob? Something else?

  • @pradeepthiyyagura8677
    @pradeepthiyyagura8677 Жыл бұрын

    Great presentation! Now that this information is public knowledge, I need to come up with something more creative when communicating with clients who are interested in LLM's : )

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    That's why we do what we do on Mechanics. Thank you!

  • @sundarramanp3057
    @sundarramanp305710 ай бұрын

    Can you share the link to learn more through videos like these on the features offered by Azure AI studio?

  • @RajaSekharaReddyKaluri
    @RajaSekharaReddyKaluri Жыл бұрын

    Can anyone help me with robust strategy for handling dependent and independent questions during the conversation, including generating a standalone question to provide additional context for dependent questions? Is the strategy used here to augment the user's latest question with prior conversation history robust for all kinds of scenarios?

  • @satishkumar-ir9wy
    @satishkumar-ir9wy9 ай бұрын

    Impressive, the one i was looking for a long while. can anyone suggest, which language model of Azure Open AI can i use to compare 02 pdf documents to check whether the information is available in both documents or not?

  • @felipeblin8616
    @felipeblin8616 Жыл бұрын

    I looks great!! thanks. is there a video explaining step by step the coding from star to end. It would be great for those us who are starting in the AI and Azure

  • @mgkrishy
    @mgkrishy11 ай бұрын

    Stunning 🤩

  • @solitone
    @solitone11 ай бұрын

    When Azure OpenAI Service will be available to the general public to experiment with? Currently you need to submit a request form and be approved.

  • @1242elena
    @1242elena10 ай бұрын

    Fantastic I'm using it for a legal database and research bot!

  • @Rhcpbedders
    @Rhcpbedders11 ай бұрын

    Can this use data from SharePoint or does it need to be stored in Azure storage?

  • @temiwale88
    @temiwale8810 ай бұрын

    How do we connect this to Sharepoint?

  • @daveebbelaar
    @daveebbelaar Жыл бұрын

    Thanks for this great video, really exciting! I have one question: Are prompts (and thus company information) processed exclusively in Azure OpenAI Service, and NOT through OpenAI's API?

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Yes, it's a separate instance of the LLM.

  • @daveebbelaar

    @daveebbelaar

    Жыл бұрын

    @@MSFTMechanics Great, thank you!

  • @GenocideBeast
    @GenocideBeast10 ай бұрын

    I'm assuming this works with a code repository hosted on Azure as well right?

  • @solitone
    @solitone10 ай бұрын

    are source citations accurate? because in bing they are often wrong: when you click on a citation, you realize the referenced website is not the actual source of the information provided

  • @srikark3532
    @srikark3532 Жыл бұрын

    Super!

  • @SravanKumar-jy1ik
    @SravanKumar-jy1ik11 ай бұрын

    How to use the same ai response on your MS Teams?

  • @rjanstenseng144
    @rjanstenseng1444 ай бұрын

    What is the power consuption of this services ?

  • @user-ow8ss5dy8x
    @user-ow8ss5dy8x Жыл бұрын

    it‘’s very good for open and cognitive search

  • @ko-Daegu
    @ko-Daegu Жыл бұрын

    how do we make sure that Microsoft is not taking our own property code/data in the cognitive search ??

  • @matthiasblank7218
    @matthiasblank721810 ай бұрын

    Are there limitations in Azure Cognitive Search regarding language? Is German worse than English? Thanks!

  • @vikagridina7464
    @vikagridina7464 Жыл бұрын

    Sorry, I didn't get it. Do I understand correctly that if we want to keep our data private, we need to keep it separate from the model? And only add a piece of information during the response generation process. If we start to teach the model our data, will it become public?

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    Great questions. Short answer is no. The search is retrieving additional information to add to the prompt. Information from prompts is not stored in the large language model. Also, there are multiple instances of the model running, and the ones used for the Azure OpenAI Service are not public instances.

  • @QuickdrawWilly
    @QuickdrawWilly Жыл бұрын

    I have been waiting for this, This will be a game changer!

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    It will be. Retrieval Augmented Generation with search is a big deal for generating informed responses.

  • @chrisalmighty
    @chrisalmighty Жыл бұрын

    Where someone has a long session, how does AzureOpenAI service deal with token limits where it has to give the whole context especially where previous responses are long?

  • @RajaSekharaReddyKaluri

    @RajaSekharaReddyKaluri

    Жыл бұрын

    It's a different api call in every turn.

  • @bullyellis1
    @bullyellis19 ай бұрын

    Is there a c# port of this project ?

  • @gowrisankarpokuri
    @gowrisankarpokuri9 ай бұрын

    How that Chat GPT take care of data security? Like, how Chat GPT or Cognitive search restricts documents/content where a user does not have access?

  • @KBProfile
    @KBProfile Жыл бұрын

    So this is langchain + openai API? Nice

  • @Zorkyx22
    @Zorkyx2211 ай бұрын

    Hi! I've been trying to recreate this project on my machine and I'm getting an error I don't quite get. I've found a workaround, but I feel like my workaround is reducing the performance of the assistant. I'm using an AzureOpenAI service that is based on gpt-35-turbo and when I try to ask a question using RRR or RDA I'm getting an exception saying that gpt-35-turbo does not support parameters "logprobs, best_of and echo". I've deactivated them in order to make the project work, but as I've said it feels like the quality of the responses have diminished. Did anybody else encounter this problem?

  • @danillopinheironeto

    @danillopinheironeto

    10 ай бұрын

    Hi, I have not, actually, I'm using only the chat version, I've removed the ask feature.

  • @jhayes0128
    @jhayes0128 Жыл бұрын

    What is the chat UI? Something custom they made or is it available for enterprise customers?

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    This is the sample app available on GitHub at aka.ms/EntGPTSearch

  • @tuapuikia
    @tuapuikia Жыл бұрын

    Can we train our confluence wiki to azure gpt?

  • @neerajm1007

    @neerajm1007

    10 ай бұрын

    i have the same question here

  • @denwo1982
    @denwo1982 Жыл бұрын

    Can I get it to point to a sql table?

  • @simmer484

    @simmer484

    Жыл бұрын

    They have a video for that using Azure SQL

  • @pedroagma4417
    @pedroagma4417 Жыл бұрын

    The question I would have is this one: do the « private data » is « protected »? In a chat, chatgpt said that I sould not share private information with it, because it cannot guarantee that the data « will not be used / made public or something ».

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    This is a separate instance running in the Azure OpenAI Service and designed to maintain privacy.

  • @vbprasad
    @vbprasad11 ай бұрын

    How's the solution implemented to have information protected at user level?

  • @MSFTMechanics

    @MSFTMechanics

    11 ай бұрын

    You would instrument the same access controls and permissions as you would now for implementing Azure Cognitive Search. We demonstrate that in the video. The information used to augment the prompt is retrieved based on the individual's permissions.

  • @temiwale88
    @temiwale889 ай бұрын

    Is our data kept privately or shared with OpenAI or used for research?

  • @MSFTMechanics

    @MSFTMechanics

    9 ай бұрын

    We cover that in the video. Your data is not used for training the large language model, it's only part of the prompt for inference as demonstrated in the example.

  • @temiwale88

    @temiwale88

    9 ай бұрын

    @@MSFTMechanics Noted. Thanks for responding! So if that's the case, can an organization be HIPAA-compliant (w.r.t to not exposing PII and PHI)? I want to make sure that the in-context learning (or 'RAG') paradigm doesn't expose our customers data to OpenAI / Azure OpenAI or anyone else. That's probably the biggest blocker to implementing any production-grade app for our team. Thanks for a thorough answer in advance.

  • @matthewtschetter1953
    @matthewtschetter1953 Жыл бұрын

    I'm so lost how to tailor this code to my needs. Is anyone here a software developer that can help me use this code? Thank you.

  • @RajaSekharaReddyKaluri

    @RajaSekharaReddyKaluri

    Жыл бұрын

    I can help

  • @hussienalsafi1149
    @hussienalsafi1149 Жыл бұрын

    😍😍😍😍😍😍😍😍😍😍😍

  • @omarkhan6217
    @omarkhan6217 Жыл бұрын

    I got here from langchain and custom embedding for openai

  • @KBProfile

    @KBProfile

    Жыл бұрын

    Looks like this is just a langchain + openai API wrapper

  • @Suriprofz
    @Suriprofz2 күн бұрын

    Not sure why its all based on pdfs... regular companies have data in sql. why not show some examples there? how to query relational data

  • @juancarlosbaezpozos9353
    @juancarlosbaezpozos93537 ай бұрын

    I tried and not working

  • @logarithm0
    @logarithm09 ай бұрын

    How do you update data after adding or removing docs?

  • @MSFTMechanics

    @MSFTMechanics

    9 ай бұрын

    We show the manual, on-demand process for updating the search index at 11:27, but normally these types updates would run on a schedule or based on eventing logic.

  • @jeanchindeko5477
    @jeanchindeko5477 Жыл бұрын

    Is this app using OpenAI ChatGPT app or it using Azure OpenAI GPT model API? Why calling all LLM ChatGPT? Do you call all car Ford T?

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    This is using GPT 3.5 Turbo with GPT-4 support coming soon. It is a separate instance of the LLM, which runs in the Azure OpenAI Service.

  • @fmsilva11
    @fmsilva11 Жыл бұрын

    it do not work on mac

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    It will work on a Mac, it is a web service

  • @constatineb7065
    @constatineb7065 Жыл бұрын

    what a shame individuals cannot use the Azura openAI services

  • @MSFTMechanics

    @MSFTMechanics

    Жыл бұрын

    You can sign up for it as an individual developer, but you do need an Azure subscription. For a "free to use" option, you can also try Bing Chat if you're looking for alternatives to OpenAI chat.

  • @dave24-73
    @dave24-7311 ай бұрын

    I don’t trust anything with the word “Microsoft” in it, but I still end up using their software.

  • @buddytoups1129

    @buddytoups1129

    11 ай бұрын

    I think I work with you 😂

  • @sungjane
    @sungjane Жыл бұрын

    ChatGPT have some math mistake,not all the answer correct!

Келесі