Video: Hands-On Workshop: Agents & GenAI - 24th June | Duration: 5684s | Summary: Hands-On Workshop: Agents & GenAI - 24th June | Chapters: Workshop Welcome (44.625s), Workshop Introduction (254.3s), Platform Introduction (461.385s), Project Overview (667.945s), Data Preparation Recipe (1059.8s), Creating New Columns (1685.75s), Storage Architecture Flexibility (1776.855s), Summarizing Text Data (1886.685s), Connection Troubleshooting (2090.26s), Sentiment Analysis Recipe (2467.385s), Prompt Studio Extraction (2852.595s), Structured Prompt Comparison (3221.275s), Unnesting Structured Data (3581.57s), Column Cleanup (3838.71s), Price Estimation (4056.95s), Data Preparation Recipe (4326.135s), Document Embedding Setup (4514.225s), Text Extraction Strategy (4900.69s), Session Wrap-Up (5033.39s), Wrap-Up & Resources (5392.325s)
Transcript for "Hands-On Workshop: Agents & GenAI - 24th June":
Hello, everyone. We're gonna wait for three more minutes before we start. If you hear hear me well, please, send a thumb up. Thanks a lot all the people who are answering. Thank you. Do you all have access to your instances? You should have received, an email inviting you to join a cloud space for this, for this session. So please let me know if you did. Or did not. If you did not, I have I will have to do some updates for you. And also the people who are joining, we'll start in two minutes. Again, for those who just joined, please let me know if you all had access to your instances, your cloud spaces for for this workshop. Looks like everyone who joined, which doesn't happen oh, yeah. I will I will tell you and guide to you you have to to use. It's the starter one, but, no worries. We'll, we'll go step by step, and I will show you everything. Oh, you have zero projects. No. That's not that's not good. Yeah. I'm I'm, Thank you, Anna. updating that time, backup in. So I will give you access to those projects, Sarita. Probably it's because. you you've created your your account, today, maybe, because we we did update the projects yesterday. So I'm, I'm giving you access to to those. Okay. It's 10:30. So we're gonna start, first by thank you say thanking you everyone for joining us today for this workshop. So I'm Emily. I'm a customer success engineer at Ateco. I've been, with Ateco for three years now. And I'm gonna lead this workshop with the support of my dear colleague, Anna. I'll I'll let you present yourself if you want. Yeah. Thank you, Emily. Nice to meet you all. I'm Anna. I've been at Tadeco almost four years now, and I'm super excited to to be here today. I'm customer success engineer as well as Emily, and, I'm working in the South Europe region. So working with, Mediterranean customers, like, customers in Spain, Italy, and, Israel, and so on. So really glad to to support you here. I will take in a a look at the chat and trying to to support you on on on that. So, yeah, because today, we are going to build the project together using different features of Gen AI. So Gen AI Gen AI recipes, and also we're going to buy we're going to build, sorry, a knowledge bank and an agent. So it's going to be very diverse, but also very probably there will be a lot of information. That's what I wanted to say. So feel free. You won't be able to speak to us, but you can ask all your questions in the chat. And I will be leading the the the session, and and I will answer your your questions. If I need to go back on something to pause, Anna will let me know. So don't worry. I'm gonna go very slowly so you can follow. And if you have any questions that related to that, I think, who are not not necessarily related to the workshop, feel free to to ask them in the chat. Okay. Ahmed, we we we're gonna check that. Please please let us know if you have any trouble finding your projects, and I can check that for you. And, and I will just start by introducing that haiku. I'm curious to know, among all of you, who knows that. I. Who has already used it or who is completely new to the topic? So that's that's gonna be interesting for me, in terms of how I need to present the different, concepts. Please let me know in the chat if you know that I go or if you don't. Oh, nice. So some people already used it, some experience. Okay. So, yeah, you are familiar with the platform. So that's good because I won't have to detail everything, or I might remind you some of the concept, but I can, I I I I can go a little faster than I expected? So that's good. Maybe we won't spend too much time introducing it that I could end. But, again, your cloud space, make sure that you had it. Here what here is what you're we're gonna do today. Who is Dataiku? We are the platform for the EI success. So what we wanna do is get together the data experts and the business experts in the same platform. So we want to give access to, different features for people who know how to code and for people who don't in in order to make your data for your data project to success. So we we also want to be able to orchestrate, all kind of different features such as data transformation, machine learning, Gen AI and now agents into one single space. And we also integrate with a lot of different, actors in the markets. Like, we we we can we integrate with Microsoft, Databricks, Snowflake, AWS, of course, Google. And, and we want to be the main interface where all these different technologies speak to each other and can connect. So that's basically what I just said. So that's that's what I wanted to do as an introduction of that. We don't have a lot of time. We only we only have one and a half hours, so we're gonna go straight into the platform and start building our projects. So let's go. So if you get if you connect to, to that, you should land on that kind of page. Sorry. You should see it now. So that's the that's the homepage of the tycoon. Some of you know. So in projects here, you should have access to your sandbox. As an administrator, I have access to all your sandboxes. That's where you can find your, the the the different projects that are available for you. So if I click there and I go online sorry. I went too fast. I have so I have a test one because I had to test the project before today. I have a, a Gen AI startup. This is the one that we are going to build together. I have a Gen AI complete. So the complete is the project finished. In case of you, want to deep dive or didn't we we or if we didn't that we didn't have time to finish, or if maybe at some point you got lost, that can happen. I'll make sure that it doesn't, but it can happen. You have the generic complete to go and see what is what the project is supposed to look like. And the agent hub agent hub is something that we're gonna use. It's, it's like, it's like a web app that we're gonna use a bit later in the project. So you don't need to open this one. The one that you need to open is the GenAI starter. Okay? So you double click on it, and here you are on the main page. Let me know if this step is okay for you so we can start. I don't see anything in the chats. I see some thumbs up. Okay. That's good. So let's go. Okay. Perfect. Perfect. So quick introduction. This is the this is the main page of a project. So what we do in, in that I could when we want to know more about a project, we can have a quick look at this page. We can see exactly what's happening there. For now, not much because we are going to build everything. But you can see that we have some datasets here, one folder, and we have a Wiki as well in the Wiki. You should be able, if you click on it, to see yeah. That's that's some okay. You have all the different prompts that we all the different things that we're gonna use for the project. Sometimes we you will have to copy and paste some, some elements. Everything is in the Wiki. So I suggest that you keep this page open all the time. So I'm gonna get back here, and you'll do you'll do the, you know, the left click to be able to you should be able to do it, but maybe not there. Sorry. If you go there and okay. Yeah. If you if you just, touch this icon and then double left click on Wiki, you can open it in a new tab and keep it, keep it aside because we're gonna have to move to it to copy and paste the the the different elements that we're gonna use because we're gonna use. So we're gonna prompt, and you're gonna we are gonna use a different prompt. So you have everything there. So keep your Wiki here, and you're aware you also here, have the instructions. So if you, again, if you get lost or if you want to do the project again or if we don't finish the project, you will have the instructions here. Sorry. I I realized that I didn't share the bright screen. So this is the content of the Wiki. This is where you will have all the different thing that we will have to copy and paste during the project. These are different prompts, so don't be afraid. It's gonna be fine. You will just have to copy and paste this. Alright? And here, you have the instructions. So that's, basically the the description step by step of the project. That's what I'm gonna follow today, and you can have it if if you if you want to do it again or if we don't finish the the project. If I open this, I should I should have a link to open it, but no. It's there. Yeah. Okay. Sorry. I have it. So it's here. It's in attach in attachments, as you can see. Here, if you click, you will open the instruction. But you don't need the instruction during the workshop. I'm the instructor, so you have you you you'll just have to follow me. What you can do if you have two screens is, have the platform on one screen and the the, and and my, my instruction, my my the screen that you're seeing in in in another screen so that you can follow my steps. Alright? Going back to now here on the title of the projects, you can go back to the main page. So we have a quick introduction here. So what we are gonna see is all the different LLM, Gen AI capacities, of the Daikou. We're gonna build a wide pipeline, so create a knowledge bank and then interrogate it with our LLM. And we also, we also gonna build a simple agent that that's gonna execute our ML prediction. We'll also do some machine learning. So that's interesting. You're gonna see that in a in a three three sixty way that which is very interesting for if you are a beginner or if you are used to that but didn't get to to to use all the different features. And that's basically the kind of information that you have on the main page as well as the timeline and all the different element that we're gonna that we're gonna build together. So let's go to the flow here. I'm pausing just to make sure that everyone followed. Alright. No question. Let's get started. If first. So for you to understand exactly, the the the the goal of the the project, we have some car reviews here. So we have different different, sorry, different vehicles. Here we have the titles of the vehicle, so what kind of car it it is. Here we have the the information about the the author of the the review. So we assume that it's the the owner of the car. We have the review dates, the review ID, and, the review here. We have the title, and we have a rating. So what we wanna do is that we have a lot of information unstructured here, and we wanna structure these different elements to be able to actually do what we want to do is a prediction of a a sales price of of a of a car. So what what what how much the the car is gonna cost. So that that's that's typically what we want to do from this project. So we're gonna start with this. We're gonna do a lot of data transformation. And in the end, we're gonna do, a prediction to be able to predict, the sale price of, of this v the vehicle. And, once we've done that, we're gonna create an agent, an expert, in the the car, and automotive area, and we're gonna ask him some questions. Alright. So just putting for a moment just to find my elements here. Alright. So we're gonna start by so we we already explored the dataset. So to to explore a dataset, you double click on it. Alright. We already done done that. And once you want to go back to the flow, you can click here. So first, we're gonna do some transformation of this, specific dataset to start making it making it more understandable and more, usable for a machine learning assessment. So you just need to click on it once, and it's gonna open on the right a panel of different, different features, what we call the recipes. So for those who know the dataiku, you know what the recipe is. It's basically a space where you're gonna do some data transformation without using any code. You also have code recipes. So this is dedicated to the people who know how to code, the data scientist, for instance. If they want to do that, people who know how to code, the data scientist, for instance. If they want to do that transformation with code, they can. That I won't limit you to only visual visual aspects, what we call the visual aspects or the no code aspects, but you also can use code for for your projects. Here are the Gen AI recipes, so the so recipes that are using, integrated prompts to be able to transform texts. And we're gonna use a lot of them today. And here are some other elements that you can use. Here, you have the lab. The lab is where you do machine learning, and we're gonna use it too. Okay? So for now, we want to do some some first preparation of our data to make it cleaner. So we're gonna use the prepared recipe. The prepared recipe is the, how could I say, the most common and also the one of the most useful recipes that you're gonna find, because it you have in this recipe more than 90, processors that allow you to do different data transformation in just a few clicks. So that's very powerful. So we're gonna keep this by default. So, again, you click once here and then click on prepare here. You leave everything by default, and you create your recipe. So here is the interface of the recipe. What we can see is that we have a view of our datasets. And every time we're gonna do a transformation, it's gonna be updated directly in the datasets. So you can have directly a view of what you're doing, which is great when you want to be efficient. You have different processes. Like, if I if I show you there, if I click on add new step, you see 98 processors. And then you can see here, you can rename a column, move one, flag rows. You can also, if I go there, and nest, extract, splits. You can enrich. You can do mathematics. And everything is just you click, you choose what you want to do, and it does it for you. So that's how the prepared recipe works. We're not going to use the processors now. We're going to use the generate steps, which use Gen AI. So to to do your transformation. So, basically, what we do is that we, we do we use natural language to say, here is what I want to do. Here is here is the transformation that I wanna do. And the recipe will interpret it and do it for you. So you click on generate steps here, and I will copy because I don't think that's in the wiki, this one. So I will copy, I will copy in the chat what you need to to put in this, in this screen here. So please copy that in here, and you click on the arrow there. So what we wanna do is make the review date more understand we want to pass the date. I don't know if you are all familiar with this concept. It's basically making the dates interpretable in a math in a mathematic way. Like, when when it's in this format, we can't do anything because it it doesn't it can't be interpreted mathematically by the platform. So when we pass, we can actually calculate from the dates. So that's very important, and that's that's like a best practice. Always pass your dates in your datasets to be able to use them, and you'll see why. So here, I'm asking the person to pass the date for me. Okay. So it did pass, but as I can see, some of the rows didn't work. So there might be an issue with the formats that was used by the Gen AI. And that's an interesting thing to keep in mind. Using Gen AI doesn't always work, and sometimes you have to do it in a different way. So that's why we use this example, actually. But you can change it very easily by so you see here in the top left, you have the step that you just created is appearing here. If you click on it once, it's going to open a panel and you'll be able to change the format here to another one that that will work better. And I will also put that in the chat so you can copy and paste it. Yeah. Absolutely. So that's the format that we want. So you can copy, copy, and paste it. I'm gonna do it for you here. So here, you change. And if you just click, like I click there, it's applying the changing. So we saw that by changing the format, it applied on all my rows and all my dates. So now I have an interpretable format for my for my dates. Good. If you want to reduce the the panel here, you can click here, and it's gonna close it. Alright. Now, so what we want to do now from this date is to calculate the age of the review. So in terms of days, how many days, since how many days these reviews has been created. So, again, we're gonna click on generate step here, and we are gonna use a new prompt that I will copy and paste. So please take this prompt and move it here to calculate the age of a review in days. Good. It works. And now I can see that some of my reviews, have and it's it's so hard, actually. My my my we can say that my reviews are quite, like, are quite old because it's always six six thousand, eight thousand days. Okay. So but it's it's it's interesting because usually only the dates doesn't give it's it's you don't wanna do the math yourself. So it's good to have an indication of what it is in terms of days or in terms of months or years. And you could do the same. You could ask for its its age in months or in day or in years. As we want we want to have the days. Alright. Once we've done that, you can close that. You can see that we applied what we want to we do we did the different transformation. You can click here on run because if you don't click on run, it's not gonna it's not gonna keep the transformations that we that we did. So the last step is to click on run. I'm gonna wait for a few seconds for it to be calculated and and finished. Mhmm. Now it worked. So we can see here our new datasets with our our review age and our past dates. Okay? I'm going back to the flow, and now I can see that the transformation that I did is appearing in my flow. So the flow in that I didn't say it, but if you all have some experience that I couldn't know that, the flow is the visual view of my project step by step. And we have different colors for different elements. And when you when you get used to that, you understand that yellow is the visual recipe. The blue is the datasets. The green is the machine learning. The orange is the code, and the Gen AI is now pink. So when you open a big flow and you you recognize the color, you guess just in a few seconds what's happening in this project. So now we have sorry, Emily, to interrupt, Yeah. but we have a question in the chat just in case we have some little time to, do again the how how we calculate how we do a new column from the review age days to review date column. In case we can go back to that, for, Jolene. that she's. asking. Yeah. Probably, she missed it. So I'm I'm I'm looking at the how do I create the new new wait. Oh, yeah. Yeah. Okay. Yeah. Sorry. I I want to test yeah. So I can go back here in my in my recipe. You need to so you you click on generate steps here, and you I I I gave the prompt, so that's you need to put this prompt here and click on, on the arrow here arrow here. I I already did, so I won't do it again. And then it's gonna create the new column. So it's a new step, Jolene. You need to create you you need to press again generate steps and paste the prompt that Emily is showing in the screen. Perfect. Thank you. Alright. I'm I'm pausing just a second. I'm gonna close my window because it's very, very noisy. I'm I'm coming back. Yeah. Meanwhile, I will answer, Apostolos because he's asking, why sometimes we use s three bucket and sometimes Snowflake. It depends on your strategy. So one of the key aspects of the tech is that it's agnostic. So it really depends on your strategy of the compute that you want to use. In this case, I believe we are showing both, but it depends on your company and the and the opportunity to to use the compute that you wish. Probably you've seen in the in the flow, or maybe we can share, show with that afterwards that there are some icons that show, where the data sets also are stored. So there is a big icon on on some of them that it's, a a Snowflake, actually, because this is a store in Snowflake. But, probably, you might have some other storage types, in your organization, and this icon might differ. And it happens the same with the with the engine you use behind. Today, we are using actually DSS as the engine to compute the these activities, but really depends on on on your strategy and the opportunity that you have in your own company. Yeah. And I think, if I can add something, it's we probably use different ones here as an example of the fact that you can use different, different, data sources and, and engines to to in that. And we do have customers that are using a lot, actually, which is not completely, the the best practice that we will recommend, but that's the case, and that's it. That's just to show you that it's possible. Okay. So, now, we I'm going back to my flow here. I'm gonna just click once on this new dataset. And now what we want to do, we want to summarize the reviews that we have in in the you know, remember, we have car reviews. So what we want to do is summarize them, to be able to better interpret them. Okay? So so one click here, and then we're gonna look for the summarize text recipe in our Gen AI recipes and double click. Oh, no. Click on. Sorry. We're going to call it just car reviews summarised because if we keep prepared, it's going to be endless at the end, this title. So, we only keep summarised here. We don't do anything else. And we create the recipe. Here, you can use anyone you want. I'm gonna use the five mini, but you can use the other one if you want. As an input column, well, what I wanna do is sum summarize the review and the language. I recommend using English, but know that you can use any language if you want to do it in your own language. If you speak another language than English, you can do it. If you want to see what's the prompt, you can show it here. So, you can click on show prompt. And it's gonna show you it's an integrated prompt. So, it's, by default, what we as what Dataiku has chosen as, as a prompt for this recipe. So, you can see it. And, so that's just for transparency. And then here, it's a little hidden, but you can find it on the, low corner in the left. You can click on run. Sorry. I forgot something. You can click on abort, please. Sorry. Sorry for that. Click on abort. I forgot to ask, and that's important, for it to submit summarize in only two sec sentences. That's important because, otherwise, it's gonna take three hours to to complete. So sorry for that. You abort and you just select to, here. You you click here, set desired max output. You you you choose two and sentences, and you can run it again. Apologize for that. It can take a little while, but, usually in a couple of seconds it's done. Emily, We have just for you to know, we have an issue in the in the chat because, all our users are saying that they don't have an LLM available, so it might be tricky for them to to follow the webinar. I'm double checking, that, but just for you to know maybe to to pause a bit, Okay. meanwhile. Otherwise, it would be so please bear with me and give me a a moment. I might need to go to the. Thank you, dear. Okay. So, no one has the AM connection. That's not that's free because We are looking for it. Sorry for that, everyone. If it works for me, it should work for you too, but maybe something's missing and we don't know what. I updated something here in the security settings of the connection. I put it for every analyst. You should be you are all full designers, so you should have access to it anyway. But maybe that's something here. I'm just checking if there are any other blockers, but it shouldn't be. Now I did this. Can you all try again? So it I will I will guide you. So you click here and then on the summarize texts. And, usually, in this and, normally, in the in in the in the summarize text, you should be able to find your connection here. Please let me know if it works this time. I I can do it. So maybe it's a question of, do do you think I need to do the, you know, the, what we spoke about, Anna, yesterday, the authorization? So I don't know. Yeah. Yeah. I did it already. Let me double double do it. Now in the in the LLM parts, there are no blockers. I just applied a quota just to be sure that we don't use too much, but other than that, there are no blockers for any users here. Basically, I collect everyone. I hope we solve this. It's it's okay. It's because, there was some, LLMs that were not updated in the instance too. That's why people on the instance, once they have it, they had access and, people from instance do not. So this is the one, and it's okay. And I added five and four point one mini to, to the other one. So please refresh, Oh, okay. and you should have, access now to to those models. Okay. Good. Thank you. No problem. Perfect. Thank you. Lifesaver. Perfect. Okay. So let's not lose more time. I'm I'm showing again what you need to do. So, you click here, car reviews prepared. This one, because you don't already have this one. So you click here. You go choosing summarize text here. Okay? You call this one like this. So just a car review, summarize. I already have it, so that's why I have an error message, but you, won't. Emily. Okay. We still see the settings of the. LLM, Sorry. so you're. share sharing. Sorry. the. other screen. Oh, no worries. Again, click here. Summarize text. Here. Care reviews. Summarized. Like this. And then create recipe here. Okay. I'm going to my recipe. You choose your LLM. The input column, we want to apply it on the review because we want to summarize the review. The English, you can you can put in English, or in an in another language. But I suggest you keep it in English so that's the the most simple way, and we can all have the same kind of data. Here, set desired max output. See? You click on it. You choose two as the desired max output length and sentences. And then you click on run, and it's gonna create the new datasets. Okay. Going back to my flow. And it should be you should have once you've done that and wait for some seconds. You should have here the column called summary. Just let me know if you all have your new data set ready so I can move them. Okay. So once we have our review summarized, we can actually check it out, see what's, what's been, what's been said. So we won't be able to see the whole data, here in the dataset. But, so what we want what we're gonna do now is if you no. If you just yeah. If you if you just put your arrow on the on the comment, you can see it entirely. So you have the review here that is long, and you have to summarize. That's this shorter. Alright. So now what we want to do is we want to extract the sentiment in these reviews. Are they positive or negative? That's interesting for us to know, because we it's complicated to read everything. So we want to know what what is the outcome. Is it positive or negative? So we're going back to the flow. We click here once, and we're gonna choose the, sorry, the classified text, vestige. This one. Click once. So you can choose basically what kind of classification you wanna do. Is it emotion? Is it sentiment? We're gonna go for sentiment. So I click on sentiment. I'm gonna call this one car reviews sentiment and create the recipe. Same same here. You can select your, model, the column. So here is gonna be summary in the bottom, and you don't change anything else. So summary, sentiment analysis, and you can click on run. Okay. It succeeded. So we can go back to our flow. Our new step has been created. We can go in the dataset to see what's what's been done. And so we have this column called prediction. So that's, that's not a really right, title. And I I think that we're gonna change it at some point, but for now it's prediction. So it's the outcome of our recipe. Is it positive or negative? And it's interesting, like, for instance, here with the reviewers strongly wants against paying their, fraud. And so, of course, this review is negative, so it worked. I mean, we can guess that it worked, but so we could check all the reviews and, summary and prediction to make sure, but we can we can trust it, and and and say that's okay. We have our sentiment analysis. Let's go back to the flow. So now what we want to do, the ultimate goal here is to extract, from the the the different texts we have in this, in this dataset in this dataset, in this in this rows. We have a lot of texts as you can see even the address, the vehicle the vehicle title, the review. So what we want to do is to extract the year, the make, the model, as well as the street, address, city, state, and ZIP code of the reviewer. So we want to have all that separate. Okay? So for that, we're gonna do some further transformation with a prompt. And so we we're gonna click here on our car review sentiment, datasets. And this time, we're gonna use the prompt recipe. Okay? So what we wanna do, we want to call it sky reviews structured. First, we don't change the other things. We create the recipe. Alright. So here, we won't have to change a lot of things. We just need to, yeah, we're gonna click on edit in prompt studio, actually. K. Prompt studio is a space dedicate dedicated to prompt engineering where you can create different prompts, compare them. You can you can also use different LLMs to see if there is any difference between one and the other. So that's the space dedicated to prompting that I could. So that's why we're gonna use it now. We click on create a new prompt. And the name, I'm gonna paste it in the chat. It's gonna be create a new prompt studio. Okay. Sorry. Let me send it to you in the chat. So that's what you need to call your, phone studio. And, I think we're good. You can create it. So that's your prompts to your space. Now it's quite empty, but we don't have fulfill it. So, here, the first thing that you do is selecting your LLM. So you can select it here, and you will add the following inputs. So you can see that the the dataset has already been chosen. So now we want to guide it, on exactly what we want to do with this prompt. So as an input, you you will select the key the the vehicle title. Sorry. Column vehicle title. And another input is gonna be the author address. I can paste it in the chat. So that's the input, description, and column. Okay? And here, it's the prompt that you're gonna use. I'm passing it. Maybe you can find it in the in the Wiki too, but, I will pass everything in the chat so that's more convenient for everyone. Okay. And now I can run my prompt here. Good. So I can see now that I have, some, information thanks to my prompt. So, yeah, make, model, review address. So it seem to have worked, and I did extract what I need to extract. So what we did is that from the vehicle title and the auto address, we, we unnested all the information so that we could make different columns out of them later. Okay. So we can see so we also have some information about the reasoning. So that's, that's interesting. We can see how the LLM made this choice and, why he he gave this kind of information. So that's that's good. What you can see, and that's always interesting to see, the the the prompt studio indicates, the cost of the LLM. So what it costs for meal records, and that's something that that I could provide, for for for all the different models we work with. We work with different, you can you can create connections with absolutely every, provider today. So it can be AWS. It can be it can be, Gemini or Claude or even Mistral. Anyone can be, connected to the tycoon, and we collect the the estimated cost of all these different models, and we provide them here so that we have an idea of what it's gonna cost you. Okay. Now we want to we want to try to improve the prompt so we have better structured responses. So what, what you're gonna do is here, see, next to export as a recipe, you have different icons. You want to duplicate this prompt. So it opens it in a new tab, And we're gonna use an a different kind of prompts, that is more structured and indicates in a more precise way, like, like a a real JSON format if, if you know what it means, for people who call who who codes, you might know, that is gonna structure in a very different way, in a in a more interpretable way, the the data that we want to, to extract. So we're gonna update the the prompt. If you want, you can use another LLM. Like, if you choose five mini, you can choose four one. It's up to you, really. So you're gonna paste it here. I'm past it in the chat. So it's less like, it it doesn't look like natural language at all, but it's a way of prompting that is gonna that is used to give more structure to the to the to the output, in the response. Okay. I run the prompt. I see what's happening. Good. So now I have, as I told you, a differently structured answer, that is that is probably more straightforward. So, year, make, model, street address, city, state, ZIP code. And everything is, separated, and we understand easily what's happening here. And what you can do if you want to compare different responsive and and see, what do I prefer? Do I prefer the first one or the second one? And you want to have a clear view of the different results that you that you obtained. You can click here in the little squares here for both experiments that you did, and you can click on on compare here. Okay. And now you can see clearly the difference between the two prompts and the two and the results that they give. So that's where, as a user, you can actually prompt in different ways. What's interesting is, for instance, this prompt to to use it with another LLM and to compare the the the different responses. It's the same prompt, but it's different LLMs. Does it provide different responses? It's even more interesting if you have the chance to do it to compare models from different providers. For instance, OpenAI versus Anthropic or AWS, I don't know, and and see which one is the best. Also, you have the comparison of the costs. So the prompt studio, just just a second about that, it's really a space where you can experiment and compare the different Gen AI technologies that are on the market. And that's only with the Deco that you can do that. So it's super powerful. Usually, as a company, you have one connection and so you you can't really compare with other providers. But some other of our customers use different connections. And it's super interesting to do this comparison because sometimes one model is gonna be better than the other, and sometimes it's the other that Cisco it it it's sorry, it's the other that's gonna be better. It depends of the request of the subject. So that's super interesting to have the opportunity to do this kind of comparison. I'm gonna close the comparison now, and we're gonna keep this new prompt here as a reference. And so I will export this as a recipe to use this prompt and inject it into my flow. So export. I'm gonna override because we already have we we already tried a a previous prompt before. So I'm gonna use this one, and I overwrite. So, again, I just do again, add a video in for the people maybe who didn't follow. So export as a recipe here. So we keep we keep the this one, this prompt here. It's important. Okay? So the the the second one that we created, the more structured one, we we click as in export as a recipe. Here, compute canister. We we choose overwrite, and I click on overwrite. K. And now I don't have anything to do. I click on run. Is everything clear and okay so far for everyone? Might take a little time to proceed, but, because we are all working on the same instances, sometimes, because we are only working on the DSS engine, it's not, it's it can be a little long. But, yeah, you can always when you you don't if you don't don't wanna get stuck in the same page. Once the job is running, you can change, the page. So for instance, if you want to go back to the floor, you can forget it. It worked in the same time. So now I have my new data set. And I can check on it and see. So I have the review, the rate in the summary, the predictions, positive or negative. And here, I have my LLM output. So that's the result of my prompt recipe that is here. And it gives me also some other, columns. So that's that's normal. It's because sorry. It's it's it's reflecting and trying to, like, for instance, if there are some error message, we want to have a column that's, that show them. Sometimes it happens. It didn't happen here, but sometimes it's, it happened. So that's why we have that kind of columns. And for the other, I'm not sure. So I I can't tell you exactly why they exist, but, usually, what we do is that we do a prepare recipe and we delete them. That's what we're gonna do next. But just focus on this one. That's the column that we created with our structured data, of the date the date, sorry, of the re of the the date and the the title of the the the the the vehicle. Okay? So what we what we're gonna do now is we're gonna make out of this data different columns. And that's very easy to do it in that echo. So going back to the flow, I click once here, and and now I'm gonna use again the prepared recipe here. I can leave it that way, the title, and I create the recipe. So before I showed you, you you can add steps that way. You can generate steps here, but you can also do some transformation directly into the columns and into the titles of the columns. So what I'm gonna do is I'm gonna go on my LLM output column. This one. Okay? This one. I click on the title, and there is something that I can do is a nest. So I click on that. And there you go. You have your columns for every kind of, for every, category that we created with our prompts. So I have a column for my ZIP code, for my state, for my city, for my address, the model of the fee the the the vehicle, the the the brand, and, the year it's been, it's been made. So see, that's very easy. You can here click there. Oh, you know, in the left, you have this, this element here prefix output columns. Again, remove it, and it's gonna remain remove the LLM output stuff that was before the the the in the title. So if I if I click on it, you know, you have LLM output, LLM output, LLM output. It's a little heavy, so we want to remove it. So we just have to click on prefix outputs columns to remove it. And now we can easily read what's happening. And now what we are gonna do also, if we go in the prediction here. See? Prediction. So that's what that's what we created about the sentiment of the the reviews. We're gonna click here, click rename, and call it sentiments. Okay. Last thing I think that's the last thing that we're gonna do here. As you can see there, so we are in the table, but we also can only display the columns that we have in this dataset. So we're gonna click on that. And this is where we're gonna remove all the columns that we don't need anymore. So, basically, it's gonna be all the the column with 0% here. So the the column where there is no data. So LLM error message, prediction score, LLM low response, error message one. We actually, we're also gonna delete the LLM output because we don't need it anymore because we unnested all the data. We also want to delete the LLM validation status. We wanna delete the raw response because we don't need it. The error message too and the LLM raw query. So So just making sure that you got all of them. So I'm gonna do it once again. LLM error message, prediction score, LLM raw response, LLM error message, LLM output, validation status, raw response one, error message two, LLM query. And once you've done that, you can click on run. It's fine if you didn't have all the columns. It's it's okay if we if we have columns that we don't need. It's it's fine. It's not gonna ruin all the projects, so it's fine. Don't worry about that. I click on run. And I can explore my new datasets and see that's all the transformations that oh, sorry. So sorry. There is something that I didn't do, and I did the same mistake yesterday. You need to you need to actually delete this. Sorry for that. Sorry. Once again. And output and this. I think that's that's it. And here in actions, you click on delete. Just checking if I did it well. Okay. So when you select a column, then you have to do action and delete. Okay? I didn't do it. I run again. Okay. So now I should be good. Perfect. So from this, from this datasets that is very well structured, we have a lot of different information. What I wanna do now is estimate what would be the car prices of these vehicles. I'm gonna ask an LLM for that. Okay? So, this this time, we're gonna just use a prompt recipe to do so. So I click on my last dataset here, and I choose the prompt recipe here. I'm gonna call it car reviews prices And create the recipe. So I'm gonna select my model here, and then the prompt window opens. So I'm gonna give you the prompt that we need. Okay. I'm gonna apply it there. And I'm gonna also ask it to prompt on different inputs on different columns of my datasets. So the description, I I'll give you in the chat. So we have the used vehicles details, and the s the associate the associated column is the vehicle title. Here, we have the mileage. So that's the description. And here, vehicle mileage. And here we have the ZIP code And the ZIP code here. Okay. So we are basically good. Manage prompt. We we put some some inputs. That's good. We can click on run from that. Can go on my flow. So when you have this, this little icon, it means that the job is running and the but as it is not complete yet. It's done. I can refresh my page. I have my new dataset. I can go check what's been done. So I have again a new LLM response. So I have the LLM output here. So this is the the estimated price my LLM gave me. Thanks to all the details that, he he he has about, the fee high calls and, and the reviews. Okay? So now we want to do again some, data clearing with the prepare recipe to make sure that we have one final dataset that is, usable to do machine learning. So going back to the flow, I click once here, and I, choose my prepare recipe. And I'm gonna go call it car reviews train because we're gonna use this dataset as a train dataset for our machine learning model. Okay? Let's click on create recipe. So for my LLM output, I wanna rename it into sale price. K. And I'm checking it. But when I want when I what I want sorry. What I want to make sure of is that, no. I don't think we need to do that. Let me see because there is a step, but I don't think we need to do that. Okay. So this one is good. Sorry. Rename sale price. Fine. So now what we are gonna do is we're gonna remove this, the the column that we don't need. So you can do it manually here. It's like click on the title and delete as we only have two. I think it's not necessary to no. We're gonna delete all the three. So this one, the LLM raw response and the LLM raw query. Okay? Checking again, but it's fine. So now we can click on run. Is everything okay? A bunching now. We we are almost done with this this first part, and it took a little time. I'm sorry about that because of the connection that was missing. We made all the checks with Anna yesterday. We didn't we didn't expect to have an issue like this this morning. So, again, apologies. Going back to the flow, now I have a dataset with estimated price here. Perfect. So now we're gonna use this dataset, as I said, to create a machine learning model that is going to be able to predict, car prices. So we click on car reviews train, and we go in the lab. As I told you, the lab is the is the the environment in that cycle where you can do machine learning. So click on lab, and we're gonna select AutoML prediction. But you have other kind of predictions that you can do in that. And when we call visual ML, again, it's ML without coding. So the, of course, the the variable that we want to do our prediction on is the sale price. So we select here sale price, and we're gonna select quick prototype and create. I don't know if you've ever done machine learning with that, but that's how it works. That, by default, propose, choose two algorithms, choose features, and then, train the model automatically without you having to do anything. Of course, if you go in design, you can adjust. You can do your own, experimentations, but that I could does it for you by default. So if I click on train, it's gonna open a session, and I see the two algorithms that that I could choose. And we see which one is the most, performing so that we can use it for our project. It's I could spend a lot of time in this area speaking about machine learning, show you the design parts, and we won't have time to do it. It's not part of this training, but we do have a training called analytics, in which we do machine learning. And is that correct? Because I know you did it, previously. No. In the first one with the analytics one, it's more focused on the data preparation and using the, AI. capabilities inside the data code to help you. But there is a that they call There's. a minute. Yeah. And, NML that, you can also check on on our website. And, of course, submit a request to to join this this webinar. Yeah. It's gonna be more detailed, and you can see exactly what you do in terms of machine learning in that group. So here, we have one, algorithm that shows better performances than the other one. So we're gonna double click on it or just not just one click on it. Sorry. And click here, in the in the right top corner of the screen on deploy so that we can deploy it into the flow. Deploy and then create. Perfect. So it did create our machine learning model that is going to be able to predict sales prices for, secondhand because that's secondhand vehicles. Alright. Now what we're gonna do, so we won't be working with a car re pre structured. We stay in the in the seam of the cars, like, as I told as I told you. But we'll begin working with a driver manual from District Of Columbia, and we're gonna use this driver manual to do some transformation and use a rag and an agent to be able to get information on this, on this, these documents. So you go here in this part. And as you can see here, we have a PDF managed folder, so you can double click on it and preview this driver manual from the district of Colombia. So that's what we're gonna work with today. So it's a PDF. We we need to vectorize it so we can use it with our LLM to integrate interrogate it and find information in these documents. So let's go back to the flow. I select the PDF manage folder here, and I select as a recipe the embed documents. K? Embed documents. I'm gonna call it DC driver manual. And I don't think I need something else. I can use this model. Yeah. We've provisioned to you also, an embedded model, from the from the administration. Let us know if you have any issues by by choosing it. I'm gonna check. It should be good. What do you think? Is it is it working for you, the embedding documents? Perfect. Alright. So let's move on. Sorry. Uh-uh. Strategy. Text first extraction. It should be bent. So you can click on the little wheel here. Okay. So you can apply strategy strategy rules. And that's just to show you that you can, you can really do it customize it as you want. We won't be changing anything here, but, just as you know, you can choose, your own strategy rules if you want. So we're gonna us, we're gonna select text first extraction here and run the recipe. Going back to my home. This is a little transformation with my ear. We have a question from Apostolos, in the chat for the end of this section. We are, almost going to to the end of the session. We're not sure if we will be able to cover what we have missing, because there is still a lot of content. But, let's see if we can follow the the, agent part and, review your your question, Apostolos. Otherwise, we can. walk through through an email to answer the questions you you may have around the agent you've been building. I don't know if you your jobs are done or not. Mine is taking a little while. Unfortunately, it's quite heavy. So Sure. Then contact this. Yes. It's. I was answering another question. no. No. No. No worries. It's really long. I'm so sorry about that. Still, as I was sharing in the chat before, there is the step by step that Emily is following. We have a I'm sharing it in the in the chat. We have a a page that covers everything for you. So you can follow the step by step of of this, workshop. In any case, if you have any questions, you can send us an email to the email addresses that just paste in the chat. And also, tomorrow, you should receive the video of this session even though we we will not we will not be able to cover everything. But, yeah, you are fully supported here. Yeah. Definitely one hour and a half is not enough for this project. We need two hours. I will I will let our colleagues know that. Yeah. And my age. I don't know if any of you has a job completed but, for me, it's been five minutes and it's unusual. So, I don't know. Did you all find the instruction? I I'm gonna show it again because, I'm afraid that we won't have time to complete the the the exercise today. So, if you go here in the Wiki, alright, you have here in attachments, the instructions. So this is what you this is the step by step what was what Anna was talking about and what I showed you earlier. This is the step by step that can help you finish the project because we are entering the the most interesting parts in which we're gonna do reg, we're gonna do augmented LEM, and we're gonna create an agent. So that's that's too bad that we didn't have the time to complete it. But, you can do it by yourself. You have access to the platform for, I think, forty days. And, so you you are free during these forty days to use the platform, finish the project, try other projects, actually, do your experimentations. And, and yeah. And so you'd see exactly what what what what we what we didn't cover in the in in the last parts of the of the projects. Yeah. It's still it's tricky. We can't do anything if the job is not completed. So, I will let our colleagues know that two hours is not enough, to complete the project. I, so, yeah, I I I don't think we only have five minutes left. So without this step completed, I can't I can't go further, unfortunately. If you have questions, we have five minutes. If you have reactions, things you want to share, please do it. Maybe, Emily, we can we can we can show in the screen, the page we have for for them to follow the the step by step. So let me check if I can share my screen here. Not sure. Otherwise, I cannot share my screen, I believe. But what what what did you want me to show? yeah. The in the in the chat I shared I just shared a link. Yeah. Because it it can be found in that. high Yeah. no. In the chat of of the Goldcast chat, I just, share a link from Highspot. Yeah. Okay. Oh, yeah. So I I we we still see the DSS screen, but if you share the Highspot link, maybe we can. go through the through the content so everybody will be so if you if you see here at the right hand side, it says work Handsome Workshop agents and Gen AI instruction guide. This is the document with the step by step, that Emily is following, and it's super handy, super easy to follow, and you have all the content there You really the everything? screenshots and It's very detailed. And, so you can you can go we we are here. We are we are in the lab. Yeah. Yeah. Wait. I think it's there. Let me check. Yes. See. No. But that's that's not the right one. Anna, it's not the right one. It's, it's another project. Yeah. It's another project. So so the the instructions again are available in the Wiki. Okay. Sorry. Yeah. No. No. No. No. No worries. No worries. It's in the project here, the Wiki here. You can download them there, and I can show my screen again. I don't know if I'm share showing anything, actually. But am I am I sharing anything? No? No. Not really. Complete nightmare. Okay. So, yeah, that's in the wiki here. You can download here the the the the instruction. You click on it, and then it's gonna open. And that's the instructions. Okay? So it's it's the same. It's very, very detailed. You have all the different steps, all that we covered today. Plus, if we go here, front. That's that's what that's what we've done. And here, that's the part that we started to do. So we stopped we stopped there, basically. Okay? So that's what we did. So, yeah, that's that's that's the one. So just start with this page, page 30, and you will have, all the the last steps to take. I'm gonna go back on my instance to see if it works. It worked. Okay. So okay. So now I don't know if that's the case for you, but now my, my project is I mean, my my manual is embedded. So now it's possible to interrogate it with a with an LN. Sorry for not being able to finish the the assessment. It definitely was not enough time. So, yeah, we encourage you to to to finish it by yourself and to try the platform and to experiment. We I I I put our emails in the chat. If you have any questions, any comments, feel free to reach out to us. Thank you so much, Anna, for your support today. And, and I hope you did learn something anyway about Genii because we did a lot of Genii in that I could today, but we didn't go to the next step to the to the last step. So sorry for that again, and, have a great day. Have a great day. Thank you, Emily. And, we encourage you to keep trying and learning every day because, as you know, this is a step by step, and, there are new things every day inside the tech and around the AI, business. So wish you a good learning. Thank you. Bye. Bye.