What are launching templates and why?
It is interesting for us to pay attention to this new solution from the launching team.
So a this is one of the latest launching features, and it allows us to use launch the launching client
to install templates integrated with launcher.
This functionality is still in beta, and in order to make it work you will have to use your terminal.
We cannot use Jupyter notebooks right now in order to make use of this a solution.
So in this chapter, we are going to make a very quick review of what is available right now around
this functionality.
It's still in beta.
It has a lot of limitations.
You will see one of them, uh, immediately, but I think it can be a promising solution and something
that is worthy to keep in mind.
So all these operations, remember, you are going to have to do all these operations in your terminal.
So the first thing you have to write in your terminal is, uh, this install uh, command, you are
going to install the launching client in your terminal.
If you have problems opening the terminal or finding the terminal, remember go to the usual places
to answer your questions ChatGPT, Google, StackOverflow, etc. once you are in the terminal, first
you install the lang chain client this way.
And second, you are now ready to create a new Lang chain app from the terminal with, in this case
the rack conversation template.
So look at the syntax in the terminal.
You will write lang chain app new okay so this is going to create a new app.
My app is going to be the name of your new app.
And then we are going to tell it.
And in this new app you are going to install the package rack conversation.
This is rack conversation okay.
So once we have this ready.
This one.
When we execute this command, this will create a folder called Myapp, like the name you have included
here.
So this will create a folder called Myapp in the directory where you are using terminal.
In this folder you are going to to have two directories the app directory and the packages directory.
In the app directory or folder you are going to have this all.
This is predesigned for you one file called server.py py and in the packages in this, this is the file
that has the lang serve pre-installed.
Okay.
And you will see that we are going to do one small fix immediately with this file.
In the second folder called packages, you will see the files associated with the template that conversation.
So you will see one main file and then the text file that is there for you.
If you want to include text associated with your application.
And then you have a couple of additional files that right now you have to to, to, to to worry about
them when you confirm in the terminal to run the installation.
So once you try to execute this you are going to face a confirmation.
Do you want to proceed?
You say okay, you will be presented with a piece of code you need to add to the server.py file.
To this file, you are going to need to copy the code that is going to be presented to you in the terminal.
So you see this solution is still very very very beta right.
This seems to be a temporary way of doing things.
And once you have completed that step then you can CD to to the My App folder.
So you right CD my app execute.
And once you are there in the My app folder then you execute lang chain serve.
Okay here you have a link to a demo video from Lang Chain talking about this new uh, solution, as
you will see in the video is something very, very, very new.
So still in a very beta, uh, version.
Remember that.
For more information you can also go to the launching documentation.