L'IA générative peut répondre aux questions des employés directement à partir de vos documents de politique interne
Un prompt renvoie un slogan pour un glacier, un autre transforme une simple question sur les clients du Texas prénommés Jane en requête SQL. Dans la finance, la santé ou l'éducation, les entreprises veulent désormais mettre cette puissance au service de leurs propres enregistrements d'appels, contrats et documents de politique interne. Namrata Sherkhane, Senior Cloud Solution Architect chez Microsoft, présente les schémas qu'elle observe chez ses clients et pose une question : à quoi ressemble l'architecture derrière une réponse utile ?
Découvrez trois architectures de référence Azure pour l'automatisation documentaire, l'analyse des appels et les questions-réponses en entreprise
Namrata Sherkhane, Senior Cloud Solution Architect chez Microsoft, présente l'IA générative et les familles de modèles d'Azure OpenAI Service (GPT, Codex et DALL-E). Elle passe en revue les cas d'usage en entreprise qu'elle rencontre le plus souvent chez ses clients et décrit des architectures de référence pour l'automatisation documentaire, l'analyse des centres de contact et les questions-réponses sur les documents de l'entreprise.
“C'est en fait comme si vous parliez, euh, hum, à n'importe qui en langage naturel, et vous obtenez aussi les réponses en langage naturel.”
“Donc vous convertissez maintenant une question ordinaire en code.”
What you will learn
Distinguer le machine learning, le deep learning et l'IA générative, et ce que fait chacun.
Associer les familles de modèles Azure OpenAI (GPT-3.5, GPT-4 et ChatGPT, Codex, DALL-E) aux tâches de texte, de code et d'image.
Identifier les cas d'usage courants en entreprise, comme la synthèse, la génération de code, la recherche sémantique et l'automatisation des processus.
Esquisser un pipeline de questions-réponses documentaire combinant Form Recognizer, Cognitive Search et Azure OpenAI.
Concevoir un flux d'analyse de centre de contact qui convertit les appels en texte et les résume avec Azure OpenAI.
Details
Level
Beginner
Format
Talk
Technical depth
Introductory technical
For
Early career, Mid-career, Senior individual contributor
Length
19:34
Published
June 2023
Questions this talk answers
En quoi l'IA générative diffère-t-elle du machine learning et du deep learning ?
Le machine learning entraîne les machines sur des jeux de données et le deep learning utilise des réseaux de neurones pour prendre des décisions, tandis que l'IA générative crée de nouveaux textes et visuels et permet de converser en langage naturel.
Quels modèles Azure OpenAI Service propose-t-il ?
Il propose des modèles de fondation pré-entraînés : GPT-3.5, GPT-4 et ChatGPT pour le texte et la conversation, Codex pour le code et DALL-E pour les images, que vous pouvez ajuster avec vos propres données.
Quels sont les cas d'usage les plus courants d'Azure OpenAI en entreprise ?
La génération de contenu, la synthèse d'appels et de documents, la génération de code à partir du langage naturel, la recherche sémantique et l'automatisation des processus métier, souvent combinées à d'autres services Azure AI.
Comment construire un système de questions-réponses sur les documents de l'entreprise ?
Les documents sont analysés et découpés avec Azure Form Recognizer, indexés avec Cognitive Search, puis la question de l'utilisateur reçoit une réponse en langage naturel tirée de l'index via Azure OpenAI.
L'IA vocale peut-elle gérer différents accents et des locuteurs non natifs ?
Azure Speech dispose de paramètres pour l'accent et le dialecte, et vous pouvez personnaliser et entraîner le modèle avec l'accent dont vous avez besoin.
Le fonctionnement des questions-réponses documentaires en entreprise (73 s)
Okay. So as you all have been hearing about the artificial intelligence, it's a, it's a big, you know, a box basically, which has a number of things into it, which is especially a computer science field, uh, wherein, uh, a lot of R and D used to happen on how could we replicate the human intelligence, um, and create a machine, which could, which could, uh, replicate how, how human intelligence is.
So then to kind of, um, you know, it was more explored. We had something called as machine learning, which is especially to training, you know, training, uh, on different aspects on the data set so that, uh, a machine could work, uh, onto the data, which we have given to it. Right. Then we had something called as deep learning around 2017, which is actually a neural network based process. Right. Um, and it helps you to make decisions.
And now in the current era, we, which we live in is the era of generative AI. And most of you would have heard about it. Right. And what does it really do with actually is, and, uh, generative AI, um, model, which is called as chat GPT as well, uh, which creates new written visuals. And also gives you, um, and also gives you, um, a lot of information, uh, onto the existing data, as well as you can give your data and get the output. So it's especially like you are talking to, uh, um, anybody in natural language and you're getting the responses also in natural language.
Okay. So as I mentioned, the AI technology is everywhere and it has been spoken about. And globally, we have so many customers also coming to Microsoft to discuss on, you know, the, uh, uh, the chat GPT capabilities, how we can enable, uh, the chat GPT for their businesses. And, um, uh, uh, but the large language models, right. Like the chat GPT, the whole world is actually, um, um, um, you know, by taken by strong and in parts because they are, they can draw a vast storage of data leveraging the massive computing power, you know, today, uh, which is available onto the cloud.
Right. Um, so Microsoft has heavily invested along with, you know, open AI, we have a very good partnership where in, um, uh, you know, a lot of models have been created onto the Microsoft Azure cloud, basically. And, uh, open AI, which is a company who has created the chat GPT and the different models, which you can see. Uh, but what Microsoft has done is that, you know, as part of their, uh, vision, they have done, uh, a partnership with the open AI and helping our customers, especially to, to roll out the, uh, use cases on chat GPT enterprise wise, right.
So there are different models. One is the text conversation, code model, and the images, uh, model, basically. I'll just go a little deeper into it. So, um, generative AI, um, you know, has different models, different models, which I mentioned now, first example, which you see, right. If you give, um, such a prompt to an generative AI, which is like, like write a tagline for an ice cream shop.
And the response, which you get is absolutely like, we serve up the smiles with every scoop. Right. So, uh, it is really the response, what you would think like in tagline. So it understands what is the question, what is the prompt and it, uh, accordingly gives you the answer. Um, the second response, which you see, it is especially the conversation response that a question has been asked that I'm having some trouble with my Xbox.
And the responses with them with the troubleshooting, uh, options onto that issue. Right. And then again, and question on top of it is asked that how, you know, what are the recommended, uh, games for an 14 year old. So depending upon what are the games in Xbox, it would give you a response for the games, which would be, you know, recommended for an 14 year.
The third option that you see here is the prompt for an, uh, SQL query. So if you see here is in table structure, which is given for an customer table, and these are the columns basically. And we are just asking the chat APT basically, um, uh, the generative AI basically to create a query, uh, for all the customers in Texas named Jane.
So this is the response which you get. So you actually are now converting and normal question to a code. This is an example of SQL, but you could do it with, you know, Java C plus plus, or you could do it with Python X, Y, Z, right. The next one is the very interesting part that you give it prompt and then the output, which is expected as an image out of that prompt.
So basically you're asking, say a ball of fire within vibrant colors, right. To show this, to show the speed of innovation at a media and entertainment company. So all of the words, which is given in the prompt, right. According to that, you are actually getting a response, which would be more applicable, say for media and entertainment, the vibrant current and the speed as well.
Right. Everything is taken into consideration and you get this response. So this is an example of how, what are the, you know, what can and generative AI do now, um, coming a little more deeper onto what are the models behind the scene, which helps you to give this information. Right. So Azure open AI service actually has the large preteen foundation, AI models, custom tunable as well with your parameters and your data.
So, uh, as of now, which you would be doing in trial basis would be onto the existing, but definitely you can train the model onto your data set. So the first box, which you see here is an text model, which is the, uh, GPT four or 3.5 and GPT four. Plus we have the chat GPT, which is in conversational model.
So the first two examples, which I was showing you here are, uh, the text models. The second example is of the, is of the codex model. So, which is actually generating, uh, the coding, uh, for you. The third model is your dot e model, which is an generative image modeling. Okay. Talking a little bit more about what Azure provides.
Azure AI has a number of services as part of the portfolio of AI. Right. So, um, we have, um, different services and the Azure open AI comes as part of our cognitive services. So for an enterprise level business problem, you could stitch all of the, uh, you know, couple of these, maybe, uh, solutions or the, uh, services, which we have along with our other, other services and create an enterprise level solution.
Okay. All right. So Azure open AI service capability is actually, uh, plentiful. Right. You can actually have limitless generation with a few line of inputs and, um, be able to, um, uh, you know, use readily available model into your use cases. Right. So you don't have to really build anything, but you can go ahead and use these models for your use cases.
Now coming to what are the different, uh, you know, top use cases, which we generally come across with our customers. Uh, and these customers are from all the industries. Right. From the finance to your healthcare to education, uh, to it industry. Right. So, um, one of the most common use cases is the core content generation. Uh, content generation. So like, for example, for the call center analytics, uh, it actually would help you to automatically generate the responses for the customer inquiries.
For example, it is, it's in bank. And if there are any questions, um, then you could do an, um, summarization or content generation as well. On top of it. Right. Uh, generally generate, generate the personalized UI for your website on summarization part, which I also touch based, um, is that, uh, you have a lot of call records, right.
Of your call center analytics, for example, right. As part of your analytics. So you could actually create a summary of say 10 minutes long conversation over in phone call, or, uh, you could do whatever history conversations has been done. You would want to know the summary of what the customer is really looking forward for, right. Or you would want the subject matter expert documents are there.
And if you want to summarize them, for example, there are legal documents, contract documents, or financial reporting, and you have a lot of numbers out of it and you want a summary of it, right. Or you want to summarize the social media trends, for example. Um, the next is the code generation. That's the codex model, uh, in that, uh, you actually convert the natural language, uh, to say SQL for the telemetry data.
You can convert the natural language to query property data models. And also you could use it for code documentation would, uh, in fact code summarization. You can also use it for, um, a number of more things like test cases as well. I mean, clubbing the different models basically. Last but not least the semantic search. So search reviews for a specific product or service, right.
Uh, you have a number of, uh, reviews and for that, you would want to, um, find out for specific products or, uh, services and information discovery and, uh, knowledge mining. So you have, for example, say an enterprise, and you have a lot of documentation around the policies. There might be finance policies. There might be HR policies. There might be travel X, Y, Z policies, right.
So if you want to, uh, you know, have an, um, uh, system wherein your employees just ask about a question and, um, um, um, you actually get a response, uh, a very generative response, basically, uh, while it fetches all looks for all the information in your documentation or the policy documents of your HR. Say a travel, um, you know, how many days do I, uh, really get leaves in a year, for example, and the policy details would be searched, uh, depending upon the region X, Y, Z, you would fetch the data and you would get an output.
So that's one of the example. So example of the multi-model use cases, which I was mentioning that you could actually bring, bring in different, um, models, uh, which we have as part of our Azure AI portfolio and then create an, uh, holistic solution. For example, end-to-end call center analytics, which could use the classification model, um, the sentiment model, the entity extraction, summarization, summarization, we would be using the open AI basically, and the email generation also the chat GPT, basically the model, uh, which we could be leveraging.
So, uh, for, uh, for customer 360, you would basically be, uh, using hyper-personalization using the time, timely summarization of customer queries and, uh, the trends, the search and the content generation. So for this, you would use a couple of services, basically open AI services, cognitive search, and also the trend for trend analysis, different, uh, other services. So we'll go a little deeper onto all of, you know, a couple of them basically use cases.
Uh, the last one is the business process automation. So search through the structured and unstructured document, generate code to query or data models or code generation. So these are the different examples. Now I'll just, um, take you a little deeper onto different architectures on, uh, how you could be using the Azure AI services along with the open AI and solve the actual problems.
So this document, uh, process automation, which actually talks about extracting the rich insights from your documents and then summarizing it, for example. So as I was just giving you an example of, um, a lot of, uh, you know, history documents, which you may have, there might be some legal documents, some contracts, some HR, you know, some finance, some, uh, different documents, right?
So in fact, documents related to employees, X, Y, Z, or if, if it's in, um, uh, you know, if it's in a company of insurance, so you would have the documents related to insurance, um, uh, claims. And, uh, uh, if it's the claim is related to your, uh, for, uh, for example, for vehicles, the vehicle information, maybe their pictures as well.
Right. So you would want to actually, um, do an automation process of, uh, processing all of these documents and getting an output say in, in your web app or, you know, as part of your power BI report. Correct. So first of all, what we will be doing is that we will crack the documents. What it really means is extract the information.
It might be a handwritten document. You may have images. So extract the entities out of your documents. And then you would actually in your, uh, uh, use form recognizer to extract this information. Plus you would add, then index it using our cognitive search. After that, after the indexing is done, you would actually be, uh, using the open AI for generating and response, um, basically on whatever questions have been asked onto your web application.
Or maybe send an analytics, for example, um, uh, to your power BI reports. Okay. So, um, uh, this is one of the flows. I will share, uh, the, another use case, which is the contact center analytics using speech API and the Azure open AI. So it actually is going to extract the rich insights from the call, uh, transcripts.
So when, whenever there is a call center call, right, there isn't a discussion, which has happened. Now those, that whole conversation has been, you know, brought into the Azure storage. And then what we really do is convert that particular speech, uh, it, uh, to text and then run an open AI service on top of it to basically summarize what, what is really asked for, right.
Or to understand what is the trend or the insights from your, from that specific conversation. Okay. All right. Um, considering the time I'll just go ahead. Um, this is the one example of the AI powered Q and a over the enterprise data sources. So this is the same example, which I was referring to that if an, if you consider an enterprise, you have so many different departments, right.
Um, uh, uh, wherein you would have so many different documents related to, uh, say HR finance, uh, right. Sales marketing, you would have related to employees. Correct. So, um, uh, this particular use case really talks about the, uh, Q and a over the enterprise data sources, which would really like an employee, ask you a question. And they get an answer by, um, uh, you know, by the whole systems, you know, crawling to all of the different, different documents and getting you the relevant information.
Okay. So how does, uh, how would it be done basically? Uh, so you have this document library, basically the store where you have all your documents. We will then be using, um, Azure form recognizer to extract the entities out of the document or to understand what exactly is written in those documents, right. Uh, that's the document cracking.
And, uh, you may also need to require, you know, document chunking with, which basically means that you, uh, you break the document. Um, and, uh, you break the document then after the form recognizer and, uh, uh, models run, you then actually create use in cognitive search to index them. And then you would actually have your user application, uh, which would ask a question, uh, for which you will, it will go to the index data.
It will get the answer. Uh, it will get the information. It will go to an open AI service, and then it will give an output, which will be an, uh, a natural language response, basically a natural language question and an answer basically from these documents. Okay. So considering the time, which I had, um, I am through with what I want to really wanted to share with all of you.
Um, thank you. And, uh, maybe if there are any questions, I hope you have put them in the chat. Um, all right. I see, um, Rayam has asked that how speech AI works with different accents. Okay. So, um, speech AI, if you talk about the Azure speech, um, uh, uh, AI model site, we have different parameters attached to it for the accent in the dialect.
Right. Uh, there are different parameters on which you could, uh, tune it. You could also give the accent to train the model, basically to understand this is the accent, which you want to, uh, fetch, uh, you know, the information from. Correct. And someone who is not a native speaker. Okay. So it is also a related question. So you would have to basically customize your model, which is also, uh, available and could be done.
Any more questions? Anybody has? Okay. I think we are right on the time also. And, um, uh, you could put onto the chat or anyone. I'm also sharing my LinkedIn profile for all of you. Uh, I think I did not copy the link. All right. There is one more question. Cool. Okay. So is it based on natural, uh, neural networks?
Yes. The deep learning models, which we have, um, are based on that. So definitely, you know, speech is one of the aspect to it. Uh, but after we generally process, you know, do the neural network processing or the deep learning on top of it, once we convert the speech into text. Right. So, yeah, we do have the deep learning models as well on top of which, you know, you could be, um, uh, doing further analysis.
Sure. So, um, thank you all for joining in. I hope you, um, enjoy the session and gain a little bit of knowledge. Um, thank you. And I'll, I'll, uh, request all of you to like my session if you find it useful and do connect with me on LinkedIn. Thank you so much. Bye. Take care.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Comment les entreprises exploitent Azure OpenAI sur leurs propres données
Namrata Sherkhane, architecte chez Microsoft, relie les modèles d'IA générative aux cas d'usage et aux architectures de référence qu'elle rencontre le plus chez ses clients.
En bref
L'IA générative devient utile en entreprise lorsque ses modèles sont connectés aux documents, aux appels et aux données propres à l'entreprise. Namrata Sherkhane, Senior Cloud Solution Architect chez Microsoft, présente les familles de modèles d'Azure OpenAI Service, les cas d'usage les plus demandés par les clients et trois architectures de référence qui combinent Azure OpenAI avec d'autres services Azure AI.
Points clés
Comprendre Azure OpenAI.
Découvrir les principaux cas d'usage d'OpenAI.
Du machine learning à une conversation en langage courant
Namrata Sherkhane commence par un bref historique. L'intelligence artificielle est née d'un effort de l'informatique pour reproduire l'intelligence humaine. Puis est venu le machine learning, qui entraîne les machines sur des jeux de données, et ensuite le deep learning, qui utilise des réseaux de neurones pour aider à la prise de décision. Aujourd'hui, dit-elle, nous vivons l'ère de l'IA générative, qui crée de nouveaux contenus écrits et visuels et peut travailler sur des données existantes ou sur celles que vous fournissez.
Ce qui la rend différente, c'est l'interface. « C'est en fait comme si vous parliez, euh, hum, à n'importe qui en langage naturel, et vous obtenez aussi les réponses en langage naturel. » (1:00)
Elle explique que de nombreux clients dans le monde viennent voir Microsoft pour savoir comment intégrer les capacités de ChatGPT à leur activité. Les grands modèles de langage s'appuient sur d'immenses volumes de données et sur la puissance de calcul massive désormais disponible dans le cloud, et Microsoft s'est associé à OpenAI pour aider ses clients à déployer ces cas d'usage à l'échelle de l'entreprise.
Quatre prompts, trois familles de modèles
Pour montrer ce que font les modèles, Namrata Sherkhane présente quatre exemples. Une demande de slogan pour un glacier renvoie « we serve up the smiles with every scoop » (nous servons des sourires à chaque boule). Une conversation sur une Xbox qui dysfonctionne renvoie des étapes de dépannage, puis des recommandations de jeux pour un adolescent de 14 ans. Une structure de table accompagnée d'une demande de tous les clients du Texas prénommés Jane renvoie une requête SQL. Un prompt décrivant une boule de feu aux couleurs vives, illustrant la vitesse d'innovation d'une entreprise de médias, renvoie une image.
C'est l'exemple SQL qui retient le plus son attention : « Donc vous convertissez maintenant une question ordinaire en code. » (4:42) Elle ajoute que cela fonctionne aussi pour des langages comme Java, C++ ou Python.
Derrière ces exemples se trouvent les modèles d'Azure OpenAI Service : GPT-3.5 et GPT-4 pour le texte, ChatGPT pour la conversation, Codex pour le code et DALL-E pour les images. Ce sont de grands modèles de fondation pré-entraînés que vous pouvez ajuster avec vos propres paramètres et données. Azure OpenAI fait partie d'Azure Cognitive Services, ce qui permet de le combiner à d'autres services au sein d'une même solution d'entreprise. Son message aux équipes qui débutent : « Vous n'avez donc pas vraiment besoin de construire quoi que ce soit, vous pouvez utiliser directement ces modèles pour vos cas d'usage. » (7:08)
Les cas d'usage réellement demandés par les clients
Selon Namrata Sherkhane, les demandes viennent de tous les secteurs, de la finance et de la santé à l'éducation et à l'informatique. Les schémas les plus courants qu'elle cite sont :
La génération de contenu, par exemple la rédaction automatique de réponses aux demandes des clients dans le centre d'appels d'une banque ou la génération de contenus personnalisés pour un site web.
La synthèse d'appels téléphoniques de dix minutes, d'historiques de conversation, de documents juridiques et contractuels, de rapports financiers ou de tendances sur les réseaux sociaux.
La génération de code avec Codex : transformer le langage naturel en SQL pour des données de télémétrie, documenter et résumer du code, et générer des cas de test.
La recherche sémantique dans les avis produits, ainsi que la découverte d'informations et le knowledge mining dans la documentation interne.
L'exemple du knowledge mining est celui que la plupart des organisations reconnaîtront. « Il peut y avoir des politiques financières. Il peut y avoir des politiques RH. » (9:49) Un employé demande combien de jours de congé il a par an, et le système recherche la politique applicable à sa région puis renvoie une réponse générée. Elle décrit aussi des solutions multimodèles, comme l'analyse de bout en bout des centres d'appels, qui combine classification, analyse de sentiment, extraction d'entités, synthèse et génération d'e-mails, ainsi que des vues client à 360 degrés fondées sur l'hyperpersonnalisation et des synthèses rapides des demandes des clients.
Trois architectures de référence
Namrata Sherkhane passe ensuite des cas d'usage à l'architecture. La première concerne l'automatisation des processus documentaires. Imaginez un assureur qui gère des sinistres automobiles, des contrats et des photos. La première étape consiste à analyser les documents, c'est-à-dire à en extraire les informations : « Il peut s'agir d'un document manuscrit. Vous pouvez avoir des images. » (13:23) Azure Form Recognizer extrait les entités, Cognitive Search les indexe, et Azure OpenAI génère des réponses dans une application web ou alimente des analyses dans des rapports Power BI.
La deuxième concerne l'analyse des centres de contact. Les enregistrements d'appels arrivent dans Azure Storage, la parole est convertie en texte, puis Azure OpenAI résume ce que demandait le client et fait ressortir tendances et insights.
La troisième porte sur les questions-réponses assistées par l'IA à partir des sources de données de l'entreprise. Les documents RH, financiers, commerciaux et marketing sont stockés dans une bibliothèque documentaire. Form Recognizer extrait leur contenu écrit, les documents sont découpés, Cognitive Search les indexe, et la question de l'utilisateur passe par l'index jusqu'à Azure OpenAI, qui renvoie une réponse en langage naturel tirée de ces documents.
Accents, dialectes et réseaux de neurones
Lors des questions-réponses, une personne du public demande comment l'IA vocale gère les différents accents. Namrata Sherkhane explique qu'Azure Speech dispose de paramètres pour l'accent et le dialecte, et que pour les locuteurs non natifs « il faudrait en gros personnaliser votre modèle, ce qui est aussi, euh, disponible et faisable. » (17:27) À la question de savoir si les modèles reposent sur des réseaux de neurones, elle confirme que c'est le cas des modèles de deep learning, et que d'autres analyses s'exécutent ensuite une fois la parole convertie en texte.
Regarder la conférence
« Azure Open AI Use cases » par Namrata Sherkhane, environ 20 minutes : https://www.womentech.net/video/azure-open-ai-use-cases
À propos de l'intervenante
Namrata Sherkhane est Senior Cloud Solution Architect chez Microsoft. Elle aide les entreprises à définir leur stratégie de données et leurs solutions d'IA.
Questions abordées dans cette conférence
En quoi l'IA générative diffère-t-elle du machine learning et du deep learning ?
Quels modèles Azure OpenAI Service propose-t-il ?
Quels sont les cas d'usage les plus courants d'Azure OpenAI en entreprise ?
Comment construire un système de questions-réponses sur les documents de l'entreprise ?
L'IA vocale peut-elle gérer différents accents et des locuteurs non natifs ?
Rédigé avec l'IA à partir de la transcription de la conférence. Relecture éditoriale en attente.
Frameworks and ideas mentioned
Customer 360
Cite this talk
Namrata Sherkhane. "Azure Open AI Use cases." WomenTech Network, 2023. https://www.womentech.net/video/azure-open-ai-use-cases