1
00:00:03,800 --> 00:00:07,670
What are launching templates and why?

2
00:00:07,670 --> 00:00:14,930
It is interesting for us to pay attention to this new solution from the launching team.

3
00:00:15,110 --> 00:00:26,450
So a this is one of the latest launching features, and it allows us to use launch the launching client

4
00:00:26,450 --> 00:00:30,380
to install templates integrated with launcher.

5
00:00:31,430 --> 00:00:39,920
This functionality is still in beta, and in order to make it work you will have to use your terminal.

6
00:00:39,920 --> 00:00:47,210
We cannot use Jupyter notebooks right now in order to make use of this a solution.

7
00:00:47,210 --> 00:00:58,070
So in this chapter, we are going to make a very quick review of what is available right now around

8
00:00:58,070 --> 00:00:59,240
this functionality.

9
00:00:59,240 --> 00:01:00,290
It's still in beta.

10
00:01:00,560 --> 00:01:02,210
It has a lot of limitations.

11
00:01:02,210 --> 00:01:09,620
You will see one of them, uh, immediately, but I think it can be a promising solution and something

12
00:01:09,620 --> 00:01:11,930
that is worthy to keep in mind.

13
00:01:12,110 --> 00:01:18,890
So all these operations, remember, you are going to have to do all these operations in your terminal.

14
00:01:18,890 --> 00:01:25,850
So the first thing you have to write in your terminal is, uh, this install uh, command, you are

15
00:01:25,850 --> 00:01:30,050
going to install the launching client in your terminal.

16
00:01:30,350 --> 00:01:36,620
If you have problems opening the terminal or finding the terminal, remember go to the usual places

17
00:01:36,620 --> 00:01:44,060
to answer your questions ChatGPT, Google, StackOverflow, etc. once you are in the terminal, first

18
00:01:44,060 --> 00:01:47,270
you install the lang chain client this way.

19
00:01:47,600 --> 00:01:56,360
And second, you are now ready to create a new Lang chain app from the terminal with, in this case

20
00:01:56,360 --> 00:01:58,100
the rack conversation template.

21
00:01:58,100 --> 00:02:01,820
So look at the syntax in the terminal.

22
00:02:01,820 --> 00:02:08,750
You will write lang chain app new okay so this is going to create a new app.

23
00:02:08,750 --> 00:02:12,830
My app is going to be the name of your new app.

24
00:02:12,830 --> 00:02:15,200
And then we are going to tell it.

25
00:02:15,200 --> 00:02:22,460
And in this new app you are going to install the package rack conversation.

26
00:02:22,460 --> 00:02:26,000
This is rack conversation okay.

27
00:02:27,440 --> 00:02:30,920
So once we have this ready.

28
00:02:35,120 --> 00:02:36,290
This one.

29
00:02:36,290 --> 00:02:45,080
When we execute this command, this will create a folder called Myapp, like the name you have included

30
00:02:45,080 --> 00:02:45,380
here.

31
00:02:45,380 --> 00:02:53,060
So this will create a folder called Myapp in the directory where you are using terminal.

32
00:02:54,020 --> 00:03:01,730
In this folder you are going to to have two directories the app directory and the packages directory.

33
00:03:01,910 --> 00:03:05,720
In the app directory or folder you are going to have this all.

34
00:03:05,720 --> 00:03:15,560
This is predesigned for you one file called server.py py and in the packages in this, this is the file

35
00:03:15,560 --> 00:03:18,320
that has the lang serve pre-installed.

36
00:03:18,530 --> 00:03:19,250
Okay.

37
00:03:19,400 --> 00:03:25,880
And you will see that we are going to do one small fix immediately with this file.

38
00:03:26,090 --> 00:03:33,650
In the second folder called packages, you will see the files associated with the template that conversation.

39
00:03:33,650 --> 00:03:40,550
So you will see one main file and then the text file that is there for you.

40
00:03:40,550 --> 00:03:43,970
If you want to include text associated with your application.

41
00:03:44,480 --> 00:03:51,890
And then you have a couple of additional files that right now you have to to, to, to to worry about

42
00:03:51,890 --> 00:03:56,990
them when you confirm in the terminal to run the installation.

43
00:03:58,160 --> 00:04:04,250
So once you try to execute this you are going to face a confirmation.

44
00:04:04,250 --> 00:04:05,420
Do you want to proceed?

45
00:04:05,420 --> 00:04:13,790
You say okay, you will be presented with a piece of code you need to add to the server.py file.

46
00:04:14,000 --> 00:04:21,920
To this file, you are going to need to copy the code that is going to be presented to you in the terminal.

47
00:04:21,920 --> 00:04:27,740
So you see this solution is still very very very beta right.

48
00:04:27,740 --> 00:04:30,530
This seems to be a temporary way of doing things.

49
00:04:30,530 --> 00:04:37,610
And once you have completed that step then you can CD to to the My App folder.

50
00:04:37,610 --> 00:04:41,870
So you right CD my app execute.

51
00:04:41,870 --> 00:04:48,470
And once you are there in the My app folder then you execute lang chain serve.

52
00:04:48,890 --> 00:04:57,470
Okay here you have a link to a demo video from Lang Chain talking about this new uh, solution, as

53
00:04:57,470 --> 00:05:00,860
you will see in the video is something very, very, very new.

54
00:05:00,860 --> 00:05:04,790
So still in a very beta, uh, version.

55
00:05:04,790 --> 00:05:05,630
Remember that.

56
00:05:05,630 --> 00:05:09,710
For more information you can also go to the launching documentation.

