|
| 1 | +Hello everyone, and welcome to the course application development with LLM Open using Apache Open Serverless. |
| 2 | +A mileage title worthy of Wartmuller, but it's the Mastro GPT course for friends. |
| 3 | +The first step is start the environment, environment that at this moment I have already started. |
| 4 | +You can do it by simply going here on GitHub, slash Mastro GPT, and you will find |
| 5 | +Here the slide shows it, it says to go to GitHub, Mastro GPT. |
| 6 | +You will find the starter, and from here you have to press the code button and launch the code space. |
| 7 | +So you see, go to Mastro GPT, launch the starter. |
| 8 | +Here is this code button, and here it appears to make a button, this one, create code space on main. |
| 9 | +I have already launched it because otherwise it takes a while to start. |
| 10 | +So you see that this is already active, it's what I'm working with. |
| 11 | +It's not the only job option so you don't have to. |
| 12 | +You are not obliged to use the code space on the web because not everyone likes to work in the cloud like I'm doing. |
| 13 | +However, but it is convenient then both for training and for other reasons. |
| 14 | +For this reason, for this reason I use it and I recommend you to use it too because it saves you a lot. |
| 15 | +A lot of time to configure the things but if you want you can configure yours as you want. |
| 16 | +So at this point, once launched, all this will start, and above all you will have to have. |
| 17 | +These, icons, which I'm matting here at the beginning. |
| 18 | +The icon with the little cloud, which actually starts this. |
| 19 | +This extension which has the main functions of the, and the first button is the login button so the first step is to login. |
| 20 | +To open serverless so the first step is to write your name, your username and password, and login. |
| 21 | +And then you should see this message, you successfully logged in. |
| 22 | +You can now use open serverless. |
| 23 | +Here is the message in all. |
| 24 | +Therefore, first step, actually this this I am paying for is not the first lesson, it is the pre-lesson, the zero module. |
| 25 | +To initialize to verify that everything works and understand if everything is okay in short. |
| 26 | +So if everything is fine you will see the extension, you will see the logins. |
| 27 | +And you can login and start working. |
| 28 | +Let's take a tour of the environment. |
| 29 | +So it is important in addition to the little cloud this other icon, the test tube. |
| 30 | +Who? |
| 31 | +It must also show the tests. |
| 32 | +Therefore, the tests that are there, however, for everything so you should see. |
| 33 | +By clicking on the cloud icon, the extension, clicking on the icon of the test tube, you will see the tests. |
| 34 | +And then there is one more thing to see this lesson here, you will have to go to the docs icon. |
| 35 | +On the documents icon, you will see the list of all the documents. |
| 36 | +Under lessons you can find this text, which is the slide. |
| 37 | +You only see the source, but actually just click on preview. |
| 38 | +And you can see the slide, real already, rendering. |
| 39 | +And we also use the source because sometimes we take and use the sources to take the exercises, etc. |
| 40 | +So it's convenient to have the slide in markdown, in source. |
| 41 | +So this slide, it recapitulates the various parts, document, test, research. |
| 42 | +Research is useful, for example. |
| 43 | +To find points in the source where you need to intervene to do the exercises. |
| 44 | +Ok then. |
| 45 | +So recapping documents, search, testing, the open serverless icon. |
| 46 | +And here are the buttons to perform the tests. |
| 47 | +The first step is to deploy then. |
| 48 | +Go to the deploy icon. |
| 49 | +That if you don't deploy, you can't run the tests. |
| 50 | +So now he's taking the initial code and is installing it. |
| 51 | +Here. |
| 52 | +Now you can go here and run the test. |
| 53 | +And therefore everything works because the test passes. |
| 54 | +Ok, now when you work you don't deploy. |
| 55 | +But go into development mode, which also allows you to see the user interface. |
| 56 | +So now let's also try this other feature, which is on devil. |
| 57 | +We'll open here too. |
| 58 | +The deployment window. |
| 59 | +And now some of you will even see an open button in browser. |
| 60 | +If you don't see it. |
| 61 | +This is a bit hidden, it is explained in the slide. |
| 62 | +In the slide this small detail is explained which is a bit hidden. |
| 63 | +There is this antenna below. |
| 64 | +This antenna below simply shows the doors. |
| 65 | +The doors of the service is launched. |
| 66 | +Then devil launches a web server to run the user interface. |
| 67 | +So you simply have to click here. |
| 68 | +It opens and to see at this icon of the globe also hidden. |
| 69 | +But there is the slide that explains it. |
| 70 | +And here you can log in. |
| 71 | +Then you can log in and since you are Mastro GPT reference to Mastro Geppetto. |
| 72 | +We have called the user interface with great effort of imagination Pinocchio. |
| 73 | +So you can log in Pinocchio. |
| 74 | +The default password is already Geppetto. |
| 75 | +The initial password is Pinocchio or Geppetto anyway. |
| 76 | +We change it immediately so no problem. |
| 77 | +Obviously she immediately tells me that she is not sure. |
| 78 | +In fact now I'll show you how to change it. |
| 79 | +Here in part of the user interface. |
| 80 | +So here I am going to give you a tour. |
| 81 | +Then this is user interface. |
| 82 | +So all the resort will use Python as a programming language. |
| 83 | +But we have developed a user interface that serves as a front end for the applications. |
| 84 | +That we will use to make the course but then you don't have to modify it |
| 85 | +because this will remain more or less fixed. |
| 86 | +You will simply develop chats. |
| 87 | +So this is the multi chat application. |
| 88 | +So the first chat just to see if everything works is called hello |
| 89 | +and does nothing but say hello to whatever you write to him. |
| 90 | +Then hello Michelle. |
| 91 | +Mirella hello Mirella etc. |
| 92 | +And then here there is a chat a little more interesting which is instead the demo |
| 93 | +of the characteristics of Pinocchio of this interface. |
| 94 | +So basically that this interface can display code. |
| 95 | +See you can also close this side view. |
| 96 | +So when something is produced that it is interesting part of the side view to view it |
| 97 | +or you can view HTML or a chess board here. |
| 98 | +Therefore the support for. |
| 99 | +So if I ask form shows me a form and I write on it because it's good. |
| 100 | +We use this in the exercises CEO etc. |
| 101 | +And here it gives me the result of the form. |
| 102 | +This is fine. |
| 103 | +So you understand that here there is an extendable menu. |
| 104 | +This is the menu and there is another thing which is the upload of documents. |
| 105 | +So here you can choose a document to upload it. |
| 106 | +I'll show you this later. |
| 107 | +How to use it. |
| 108 | +The side display is customizable so you can powerful extend it with your own displays |
| 109 | +and the side view that can be open and closed. |
| 110 | +And with this we have seen. |
| 111 | +This sums up the features of our interface. |
| 112 | +Last step the terminal because we will use a lot of terminal. |
| 113 | +Because many many commands are command line and therefore for this reason. |
| 114 | +Let's start immediately to show the command line commands and as a command I show you immediately. |
| 115 | +The terminal opens in various ways. |
| 116 | +The easiest way is to go here terminal new terminal and this opens a terminal. |
| 117 | +Okay here. |
| 118 | +Let's do a command right away to change the password. |
| 119 | +Then the password is actually stored here master GPT packages master GPT login users. |
| 120 | +But as you can see it is encrypted so it is not easy to change. |
| 121 | +So if I now decide to change the password. |
| 122 | +Therefore I give this command OBS AI user update Pinocchio. |
| 123 | +And I put another password here I changed it. |
| 124 | +Here I changed my password. |
| 125 | +Here the login is customizable so instead of using the file you can use anything a database an external system whatever you want. |
| 126 | +And of course the easy implementation is that as I increase users of the interface are in the file that we can change which we have changed. |
| 127 | +But when we change the users we also have to redeploy so second command is upside. |
| 128 | +Deploy master GPT login. |
| 129 | +So now he deploys an action to me. |
| 130 | +This is to show that you can otherwise you could have gone here do deploy and we deployed them all. |
| 131 | +This serves to make it clear which also exist. |
| 132 | +Many command line commands that are used to do the most advanced things when you work a lot with the command line. |
| 133 | +Then for those who use code space let me give you a note here on GitHub a piece of advice. |
| 134 | +Go here go to settings here are code space and here I recommend you to change. |
| 135 | +Eventually the timeout because there are 120 hours free so you really do a lot but it puts you the auto off time at 5 or 10 minutes maximum because otherwise it consumes 30 minutes each time and if you forget it you quickly run out of credit. |
| 136 | +You can also decide to use and instead of visual studio on the web as I did you can use the local one so you can change this option in reality it is possible. |
| 137 | +Also do not use the environment in the cloud but use everything locally with Docker so you can also install new Valaris locally instead of use what we offer regarding all these things for those who are interested. |
| 138 | +We can do an ad hoc lesson in which I show how to install in a different way. |
| 139 | +For the course we have provided this environment ultra simplified which should allow everyone to start with practically zero effort then course support what is available. |
| 140 | +First of all as a support to the new Valaris course enterprise available to everyone with a free account which is you can see includes several services. |
| 141 | +So it includes Redis understands Minio includes PostgreSQL although in this course I don't think I'll use it. |
| 142 | +You can deploy on AWS G Cloud Azure Akamai on physical servers we for example use Hezner on Ubuntu on Red Hat OpenShift so you to get an account on the our open serverless environment where you can practice. |
| 143 | +Gain ask now so if you have already written account we are already preparing it for you or you can go to the master gpt.com website where there is a chatbot and you can ask for it here. |
| 144 | +Or you can contact us on LinkedIn and there you send a message on LinkedIn or you can install it yourself on the open serverless site where there is all the documentation for the installation. |
| 145 | +So how to install it etc as for support there is discord. |
| 146 | +I ask you and I recommend you to use that so go to discord and here we are there are already the first people this is a brand new server. |
| 147 | +This is the second lesson so come and this is where we offer support possibly use the Italian channel because the language and then there's always read it. |
| 148 | +There is also read it which is a forum and here you can ask your questions and discuss etc so these are the course support options we offer the next step. |
| 149 | +And with this I conclude the first module even in reality this is mentioned is lesson zero then we will do the first real lesson go still on the extension then therefore here you see click on the lessons and here simply. |
| 150 | +Click on the first lesson so here is downloading all the lessons downloaded the lessons and so we are ready to start and move on to the next lesson. |
0 commit comments